Questions tagged [turn-based]
A unit or group of units performs an action while everything else is only capable of reacting to that performed action(s). Then the next unit or group of units can act.
147 questions
1 vote
1 answer
187 views
Structuring Actions in Utility AI
I'm building a grid turn-based game, and I have a couple of questions about Utility AI that I can't wrap my head around for a couple of weeks. Suppose we have a unit that can move X tiles and attack ...
2 votes
1 answer
136 views
How to Handle Complex Side Effects and Event Sequencing in a Turn-Based Game Like XCOM?
I'm trying to make a turn-based game like XCOM, and I've run into an architectural problem that I haven't been able to solve for quite a long time. In my game, logic is completely separated from ...
6 votes
4 answers
726 views
In a tile based game, with units that can move a specific amount per turn, how do i make my pathfinding avoid damage unless it is the only valid path?
i am making a 3d tactics game, visually similar to something like final fantasy tactics. it's tile based, with units able to move up and down the level onto buildings and up staircases and what have ...
1 vote
1 answer
3k views
How to structure a dynamic turn based system?
I'm attempting to create a turn based battle system in Unity that is made up of dynamic events. Attacks may involve a lot of movement, animation, and often player input during the attack. The current ...
4 votes
2 answers
1k views
How to calculate Chance of Success in a turn-based battle with chance to hit and damage roll + damage modifier?
I'm coding a choice-driven role-playing game and I want to give the player a percentage of his success chance in winning a battle before he chooses to start it. However, I have no clue how to make ...
0 votes
1 answer
1k views
Help with software design of a turn based combat system using SDL2
I have been working on a RPG where the player is free to wander an open world but when a monster is encountered or on keyboard command the game switches to a turn based system. Note this is not like ...
0 votes
1 answer
123 views
How do I change the turn from a user to the next?
I was asked by a friend to develop a small web game which should support 10 players. Very basic game-play: There is a piñata which has x-"healthpoints". Each player can hit the piñata when ...
0 votes
0 answers
171 views
How do multiplayer turn based games handle computation
I am building a turn based multiplayer simulation game that at the end of each turn takes all of the users inputs/actions then compiles all the data and interactions returning the result of the ...