Skip to main content

All Questions

Tagged with
0 votes
1 answer
84 views

Adjusting unit orientation to the terrain

I'm working on RTS game and got stuck on a pretty simple question I think, but I'm not skilled enough to find the proper answer. I don't want to use Unity built-in physics to do the job for me and I ...
AmBeam's user avatar
  • 103
6 votes
2 answers
2k views

How can I create the arriving/ engaging in combat movement like in StarCraft 2?

I currently have two armies (smaller scale) crashing into each other. They will usually form a line of units fighting. I have no idea how to handle a unit coming from behind the line to properly go ...
Nikola-Milovic's user avatar
0 votes
0 answers
157 views

How to have RTS units move along un-even terrain?

My current world is a flat 2D plane. I want to make the terrain 3D, like hills, bumps, etc. If I tell a unit to go to a position (x, y) in 2D, how do I make sure ...
Tree3708's user avatar
4 votes
1 answer
331 views

Correct order of entity updates and collision detection

I'm trying to simulate a number of units walking in a single file. My update loop looks like this: ...
Can's user avatar
  • 141
3 votes
1 answer
102 views

Efficient movement of units to different points with different speeds

I have a series of units and have been given 2d points that they must go to. However they are free to go to what point they like as long as all the units get to all the points in the quickest time ...
SuperUberDuper's user avatar
6 votes
2 answers
6k views

RTS Movement + Navigation + Destination

I'm looking into building my own simple RTS game, and I'm trying to get my head around the movement of single, and multi selected units. (Developing in Unity) After much research, I now know that its ...
Oliver Jones's user avatar
7 votes
3 answers
2k views

Determining the end location for AI movement in groups in a 2D RTS

I have written an RTS game (a demo for a game engine of sorts, actually) in which the user's basic interaction with the game is to select a bunch of soldiers and then right-click on the map to move ...
IceCreamYou's user avatar
19 votes
2 answers
5k views

RTS Game Protocol

I've been thinking about a multi player RTS game. The part that I can't seem to get around is keeping unit movement synced. If I move unit A to spot XY, I have to communicate that back to server that ...
Darthg8r's user avatar
  • 341