Skip to main content

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.

1 vote
1 answer
180 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 ...
Black Dice's user avatar
0 votes
0 answers
77 views

How to Evaluate Chained Actions in Turn-Based AI Without Duplicating Logic?

I'm looking for advice on designing the architecture of my turn-based game. Suppose units have different abilities—various movement types (run, teleport, charge in one direction, etc.), different ...
Black Dice's user avatar
2 votes
1 answer
131 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 ...
Black Dice's user avatar
2 votes
1 answer
190 views

Status effect duration decrease in a turn-based game

I'm trying to implement a mechanic in a turn based game, and deciding when in the turn order a status effect's duration gets decremented. Background: Game is turn based, where there are two opposing ...
user7888262's user avatar
6 votes
4 answers
721 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 ...
graveyard's user avatar
0 votes
1 answer
185 views

Where to put data/values of Status Effects... in Status effect object or just reference from Ability source?

for turn based game, units can get buffed/debuffed with status effects, like poison, etc. I would like to ask the advisable place where to put amount of poison in the data structure. I can think of ...
user7888262's user avatar
1 vote
1 answer
2k 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 ...
blue's user avatar
  • 13
2 votes
1 answer
402 views

Climate/weather model for turn-based game

I am looking for a model to simulate weather patterns over long time periods on a tilemap. The basic idea is to have 3 tile types: mountains land water Over the course of game, the climate of land ...
Frankie's user avatar
  • 21
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 ...
ireth92's user avatar
  • 91
1 vote
1 answer
614 views

Implementing ability system with ability parameters

I am trying to implement an ability system in Unity for a game similar to XCOM (turn based, team consists multiple of units, grid based). Every unit have X action points per turn. I would like to do ...
Kostej's user avatar
  • 43
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 ...
lancen's user avatar
  • 33
2 votes
2 answers
401 views

Record/History of moves and state of entire game after that move for a Turn based game

My first question here! :) Im trying to conceptualize how I would go about recording the moves of my players, and also the state of my game after the calculations of that move. For example, Final ...
user7888262's user avatar
0 votes
1 answer
122 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 ...
theloneswiftman's user avatar
0 votes
1 answer
2k views

How do I make my turn based battle system scalable?

I’m currently working on a turn based battle system for my game. The game is in unity coded with c#. The turns are based off of an initiative system determined by each characters speed. Right now I ...
Jeremy's user avatar
  • 15
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 ...
Branson Boggia's user avatar

15 30 50 per page
1
2 3 4 5
10