Commit graph

8 commits

Author SHA1 Message Date
Gered fd60e74393 handleBasicMovementCollision now moves the swept-sphere entity right up to the collision point 2014-01-02 09:32:30 -05:00
Gered 216ee98acc onRender()'s 'delta' param renamed to better reflect its purpose 2013-12-30 15:46:12 -05:00
Gered 8def4a12d6 ScreenEffects should also have both onUpdateGameState and onUpdateFrame 2013-12-30 15:36:52 -05:00
Gered bf659f7bc2 split up onUpdate() methods into onUpdateGameState and onUpdateFrame
this will help avoid needing to place a lot of update logic that is
tied to the frame rate (e.g. anything not related to physics
integration) in onRender()
2013-12-30 14:31:26 -05:00
Gered 8d9457b872 rework the main loop to use a different method for fixed timestep
Use Glenn Fiedler's "Fix your timestep!" article's approach instead.
Just need to remember to always interpolate between prevState and
currentState and not extrapolate from the currentState when rendering
(for best results!)
2013-12-30 14:00:14 -05:00
Gered 8cd834c455 add support for controlling how fast game updates run at 2013-12-15 13:33:52 -05:00
Gered b5fccb3fd4 add Service.register overload allowing to register an object by one of it's sub/super types instead 2013-12-15 13:09:29 -05:00
Gered 7095cbafc6 move source files into standard src/main/java directory structure 2013-11-19 08:23:03 -05:00