Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.02 KB

About

A Action RPG Game written in Ruby using ruby2d framework.

ruby2d_action_rpg

Todo

  • Add walls
  • Add a game over scence
  • Add level to enemies and to the player
  • Add enemy wander state

Done

  • 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!

Install

Clone this project.

In the project folder run the command bundle install

Play

Run the command: ruby main.rb

Dev options

  • 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 file main.rb

SHOW_COLLISIONS

Player control:

  • Move: Arrows(up, down, left, right)
  • Atack: z
  • Roll/Evade: x