Skip to content

namudz/rpg_2d_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPG 2D Test

demo

How to balance

Balance of the game can be achieved through ScriptableObjects. Are located on Assets > Scriptable Objects. - GridConfig: handle the grid size - GameInitialStateConfig: how many units are spawned, which units and where. - Units folder: stats of the Units.

How to play

  • Select any of your units (displayed with alpha at 50%).

    • Unselect the unit by clicking on it again.
  • Click on any cell within range:

    • Movement range: displayed with green color.
      • If the cell is occupied and outside the attack range, the unit will not move.
    • Attack range: displayed with red color.
      • If an enemy is over the cell, the unit selected will apply damage to the enemy.
  • Once you have moved all your units or skipped your turn, it's time to the CPU to move!

Enjoy!

Class Diagrams

Show diagrams

diagram_1


diagram_2


diagram_3


diagram_4


diagram_5

Releases

Latest version

Unity Version

2019.2.21f1

Credits

- Sprites: 0x72 (https://0x72.itch.io/dungeontileset-ii)