A Action RPG Game written in Ruby using ruby2d framework.
- Add walls
- Add a game over scence
- Add level to enemies and to the player
- Add enemy wander state
- Player state machine (IDLE, MOVE, EVADE, ATACK)
- Add Enemy states (IDLE, CHASE)
- Add objects and its collisions
- Add sprite sort to objects
Feel free to submit your PRs!
Clone this project.
In the project folder run the command bundle install
Run the command: ruby main.rb
- If you want to see all the collisions and areas used on the game make sure to set the option
SHOW_COLLISIONS=1
in the filemain.rb
Player control:
- Move: Arrows(up, down, left, right)
- Atack: z
- Roll/Evade: x