Skip to content

Roout/platformer

Repository files navigation

Platformer 2D

This is an attempt to make a 2D Platformer game and complete the whole development cycle.
The final step will be publishing the game to the google play.

Target platforms:

  • Android
  • Linux
  • Windows

Now works only on windows.

Tools

  1. Dragon Bones
  2. Cocos2dx v4.0 engine + tools needed by this engine (Python2, etc)
  3. CMake 3.16 or higher
  4. MSVC compiler with c++17 or higher
  5. Tiled 1.2
  6. Texture Packer
  7. Python 3
  8. Jtoc - custom tool for generating cpp classes from JSON schemas

Progress

You can see the current progress at videos below.
FPS is not steady due to potato laptop: it doesn't like recording...

Ability showcast

Current player's abilities:

Key Description
A, D Move left-right
W, space Jump and double jump
F Sword attack. Has 3 types of animations: top, mid, bottom
E Special attack, has cast time, deals more damage
G Fireball attack
Q Dash

Images:
walkthrough walkthrough walkthrough walkthrough

You can see more here: Youtube link

Level walkthough

You can perceive level as a sandbox. Level boarders are shown on the debug screen.
Now sandbox contains only boxes and typical platforms. Can be restarted and paused.
Debug mode has several usefull flags:

  • show physics level boundaries
  • invicibility
  • current state of the player and NPCs

Images:
debug

You can see more here: Youtube link

Boss fight

First boss is a forest bandit. Boss has following abitilies:

Ability Description
Chain's attack Slow attack ahead of yourself: doesn't move and attack 3 times, each attack longer than previous
Fireballs Send several fireballs
Jump with chain attack Deal damage on attack
Dash Special attack, has cast time, deals more damage
Summon fire cloud Calls fire cloud which attack with fireballs from the sky and doesn't depend on boss

Images:
boss

You can see more here: Youtube link

Credits

Sergei Nevstruev - programming Andrew Sadovnikov - graphics/animations