Hello everyone! I'm here once again to ask you something!

I'm going to try to implement ALL the things you guys been suggesting me. Starting from GAME STATES.
So I took what ra4king and zngga told me
here and try to implement it.
This is what I have so far.
|- engine||- GameEngine: Creates a JFrame and adds a canvas in it. Has the main loop |(while (isRunning)), inside it, there's the time handling, the update and the |render methods.||- entities||- Entity: Base class for every object.||- All other entities that extends Entity.||- main||- Main: A simple main method that turns on the GameEngine and runs the |run() method.||- states||- ScreenState: Base class for evey state in the game, has update(), ||render(), enterState(), leaveState() and mouse and keyboard handling.||||- Other states are GameMapViewState, GameMenuState and GamePlayStateIs this ok? Am I on the right track?
How do I implement the KeyInputHandler? And if I want to add a mouse input handler?Things to do:
-
Change between states (100%)-
Support mouse and keyboard input (100%)- Fix time managment (ticks, fps, anything else)
(70%)- Add animation
(0%)- Support spritesheets
(0%)- Add sounds & music
(10%)- Separate core engine from game engine
(45%)Edit: 6/4/12: Modified the OP to add TODO things and made the "design tree"
Edit: 9/4/12: Added things to the TODO list, plus % done and colors
