Monday, June 21, 2010

Project Mod SVN 41

Activity! I produces it!

Tonight's code is a quick addition to the FPSPlayer class. It's a tool switcher that is fed the player's input and hooks into the player's drawHUD() method. The UI isn't the prettiest, but it's a concrete enhancement and it works.

Friday, June 18, 2010

FPS player, move tool, and bomb tool

It's been a while since the last post, so let's post! Motivation is always an issue.

Revision 39 from way back in April brought the the things I have to show off today. First, there is a partially implemented FPS-style player controller. WSAD moves and the mouse looks around. There is a system for swappable tools (though no swapping GUI at the moment) featuring a move tool (like Garry's Mod's physgun) and a bomb tool (to apply inverse-square-with-distance forces in an area).


The move tool in action, rearranging an orderly stack of boxes into a disorderly non-stack of boxes.


The move tool abusing a car's suspension.


The bomb tool, just after detonation.


The bomb tool, a bit longer after detonation.