Friday, October 21, 2011

Interfaces, menus, physics fixes, polish

Last night for about 4 hours I worked on completing the menus, in particular the in-game pause menu which needed a new submenu "COM Customisation". I also added varies elements to the existing UI to polish it. For example, the credits screen now says (B) Back in the corner, and blank black backgrounds in two of the screens have been replaced with a dark grey scrolling plasma pattern.

This morning I did a few major fixes to a couple of small bugs in the event manager related to physics. One such bug was that move-related inertia was being inverted entirely where only the X component of the 2D vector should have been inverted. Another bug was using the inertia value before clamping it, resulting in the full inertia for one frame then the clamped inertia from then on (imagine teleportation.) This bug was only noticeable with move inertia significantly greater than the clamping threshold (10).

Now we can do proper flying punches and kicks in our combos without teleporting.

No comments:

Post a Comment