Monday 22 August 2011

Events! and other stuff

Today I put a good deal of work into the event manager, and have finally got them working as they should. Now, when a controller(human or ai) tries to "move", a move event is activated inside the event manager, and is processed accordingly. Through inheritance, adding in the other events should be relatively simple now, with all of them being processed appropriately and the fighter's update information being altered by each (if necessary). I also did some minor camera work today, and now the players cannot move beyond the borders of the camera-screen. If they move together towards an edge, the camera will move with them however. There is a slight glitch where players are being dragged along with another player's movement, which we will hopefully be able to fix quickly.

Vince added in some round hud stuff over the weekend as well which is cool, so to add to that I made it so the fighters are always drawn, but only controllable once the timer starts. I also fixed a few draw order bugs.

No comments:

Post a Comment