Hi,
After my proposition of making a collective boilerplate, I started working on it. I’ve already made previously a topdown and a side-scroller example, both working with spritesheet animations. I’ve just finished another variation of the sidescroller, that now uses Spine skeletal animations. The game looks so much better like this, with more advanced animations. Since I had access to more animations, I’ve added new features like crouching and running.
Here are the controls for the sidescroller (spritesheet and spine):
- left and right: move
- up: jump
- down: crouch
- shift: run
- ctrl: fireball for spritesheet version and sword slash for spine version
And the controls for the topdown version:
- left click to move, long left click to shoot fireball
- arrow keys to move, ctrl key to shoot fireball
All examples mostly use the same code, making features available on all versions. On all examples, you can talk to non playable characters, you’ll have to avoid monsters, there are level entrances and exits… Most part of the code is common between the three games.
There are still many things to do.
I didn’t take the time to open-source the code on github but I plan to do it later.
Don’t hesitate to tell me if you would like it to be available as soon as possible.
This are simple example, not real games. If you are game designer or graphist and willing to make advanced version, with real game mechanism or better graphism, don’t hesitate to contact me-
Beware that the spine animated characters are not free assets available to everyone. Please do not use them on commercial project.