Day 1 - Into coding.
Spent the afternoon pulling together the basics to have the player moving and jumping around a level.
While toying with physics I decided to make the player slide instead of walk/run, since it's an ice cream :D
Creating levels:
Using Tiled map editor and libgdx-utils (by dermetfan) to parse box2d data into the game so I can easilly edit collisions or any type of body/fixture within tiled.
Game entities:
Extending Box2DSprite and using a simple interface to update and to communicate collisions.
Collisions:
Thank you box2d contact listener
Player stuff:
For jumping im using a footer fixture as a trigger to detect if the player is grounded, got away form ray casting this time..
Decided to add some states so it will be easier to handle animations and other stuff in the future.
Wasted some time creating a HUD class, had to learn about scene2d stuff, damn tables :P
All is going as planned, soon my mate will get into the artistic side and I'm also tempted to try Spriter.
Linking the repo: Github - Ice Cream Overlord
Happy jamming to you all! And merry Christmas! (or intense coding night while totally drunk)