I’m making a roguelike turn-based game, as a programming student project.
Combat inspired by x-com, backed with systems-heavy rpg logic.
With enemies working.
I’m making a roguelike turn-based game, as a programming student project.
Combat inspired by x-com, backed with systems-heavy rpg logic.
With enemies working.
Sounds good! I never got far in XCOM, I was awful at it ![]()
Now I’m wondering if the name is pending, or if the name is “pending”, or the name is “name pending”
![]()
I love turn-based tactics games, and roguelike mechanics, and XCOM, so I’m intrigued ![]()
How do the enemies behave?
Cool idea, keep posting!
the name is pending.
for now, on the turn timers, enemies have two behaviour patterns.
the melee ones:
-use A star pathfinding to get closer to the player
-if adjacent to the player, run the attack script that ticks down player health.
the ranged ones:
-use A star pathfinding to get the path to the player
-go through a set number of steps in the found path until either the player is in line of sight and range, or the number is reached
-then if the player is in line of sight and range, run the same attack script as the melee enemy
Nice and simple ![]()
I’m looking forward to a demo, if one is in the works ![]()