Improve the ImagesPlayer's animation timer to be dependent on seconds.
- This allows your period to be consistent in scale with the duration being set, thus making usage clearer
- Also simplified - Also fix Game.deltaTime calculation
- ImagesPlayerWatcher is no longer necessary, ImagesPlayer is now just observable and can have many watchers
- Sorry about the diff, the file's format was readjusted as well so it looks like a lot more changed than there really was
Fix the player animation and get ready to start working on reloading
- also extracted invoking the player to attack from the world since the player also gets notifications from the controller
Fix brick positioning and rendering
- Much simplier solution to rendering and allows tweening for movement
- There's now some salvage to the left so bricks don't flicker in when at the wrap around point
Add a standard code formatting for use with Eclipse This way all our files can have a consistent feel
No reason for islooping variable if you know it only matters when the player is null
Fix ribbon scroll speed to match the player's movement speed
Increase line size limit in formatter
- We're not using Vi for a project of this size
- 120 char is sufficent for most screens (1024+ width)
Add offset Vector for allowing rendering position to differ from world posn
Add vert movement enum
Make use of just setting velocity directly in actors instead when calling move
Change bricks to use Vector2 and fix rendering y position
Have worlds just hold a generic BrickManager
Redo a lot of the running logic and make use of Offset
- Player positioning is now set to be the bottom middle of the player
- No longer need the WorldY variable because of offset
- use vert move for jumping
- manipulate velocity directly
- crosshair needs to position to the render position and not the world position
- renamed sprite's render position to real position
Remove debug line for animation
Fix enemy factory since world is now using vector2
be sure to include the rsrc folder in the classpath for eclipse