Real-Time Strategy. A game played live (ie not in a turn-based structure), where the objective is to build a base and conquer other bases.

learn more… | top users | synonyms

1
vote
1answer
17 views

Detecting Groups for Formations

In Starcraft 2, unit formations are created when a "group" is generated from a command. Generally, the rules for a group are: All units in the group are in the same spatial "clump". All units in the ...
1
vote
1answer
93 views

Pathfinding with differently-sized objects on tile map [duplicate]

It's my first RTS game and I'm having trouble finding out how to make infantry take less space than tanks. Right now I have 1 tank and 1 infantry type ready with sprites, pathfinding, selection and ...
1
vote
0answers
47 views

Efficient Collision detection for polygons (fleet) in an RTS

I'm trying to make an RTS for android using libgdx. I would like to have collision detection to be able to detect ships inside the range of weapons and collision between my bullets and the ships. So ...
6
votes
1answer
232 views

What is the difference between Djikstra and flow fields?

I understand flow field pathfinding (as illustrated in recent Gas Powered Games titles) consists of 1) computing a vector field covering the map for a given destination, 2) deriving unit directions ...
10
votes
4answers
461 views

How is RTS Local Avoidance Done?

Currently, I'm simulating physics impact forces for local avoidance of units but this method sometimes pushes units out of formation and has very undesirable effects when units clump up. For RTS ...
-1
votes
1answer
59 views

How do I calculate force from collision between 2 rigidbodies in 2D?

I have a physics engine based on the Game Physics Engine Development by Ian Millington. In chapter 7.1.1, it provides the formula: V = (pA.Velocity - pB.Velocity) * (pA - pB).normalized where V is ...
1
vote
1answer
116 views

Collision, triggering, and range detection in an RTS. What are the optimal solutions for unit spatial awareness?

I've finally ran into the problem of multiple triggers and collisions within my 2D RTS. Up till now I've been using unities sphere colliders as a way of simulating spatial awareness. To trigger when ...
0
votes
2answers
125 views

Efficient UI for RTS units

I was wondering how I should approach the runtime changes on the game UI when selecting different types of units in a RTS. For example, in Starcraft, each unit type has its own portrait, attributes, ...
4
votes
3answers
244 views

Object-oriented Ability System?

For my RTS game's ability system, I need an efficient ability system where each ability is its own class that implements certain functions from an inherited abstract base class, Ability. Every ability ...
0
votes
1answer
173 views

Rotate Object Towards Direction in 2D

For my RTS game's physics engine, I'm trying to find out a clever way to make a unit face the direction it's moving in. Given a Vector2d direction of movement (its normalized velocity), how can I ...
4
votes
2answers
435 views

How do I efficiently send RTS unit selections over the network?

I have a multiplayer RTS game with every unit assigned an ID. How can I efficiently send across a network the units selected by a player? For example, Starcraft 2 has upwards of 200 units per player ...
-1
votes
1answer
97 views

TCP For RTS Game?

My RTS game abides by the lockstep system so keeping everyone up to date is import and guaranteeing the safe arrival of packets would make my life a lot easier. With that said, I still need decent ...
2
votes
2answers
542 views

How to synchronize damage with attack animation in a RTS game?

I have been working on a RTS game in unity and did damage deal through code and a timer but it does not fit with the animations quet well. The damage is dealt in the beginning of the animation and ...
8
votes
1answer
938 views

Pathfinding: Tile-Based Navigation Mesh

I'm developing a real time, tile-based RTS. This is an example map: This map consists of 4 regions with 256 tiles each. Blue tiles represent obstacles. Units can move in the standard eight ...
-1
votes
1answer
99 views

How to estimate number or packets required to sent per second in a multiplayer lockstep RTS game?

Considered a typical lockstep implementation, what's a solid rate to send packets at for UDP protocol that games can start with in the beginning? If anyone has experience in this field, I'd like to ...
2
votes
1answer
120 views

RTS Lockstep: How to deal with high latency and packet drops?

In the lockstep RTS model, I understand how games can be made deterministic by sending across commands to run at designated frames in the future. Then, to keep everyone in sync, confirmations are sent ...
2
votes
1answer
218 views

How can I manage the deceleration of units so that they arrive on-target?

When I first started trying to set up my air units' movement in my RTS game, I thought it was going to be easy with simple Euler method linear acceleration. This was far from the case as the ship ...
2
votes
1answer
242 views

In-Depth Lockstep Explanation

I'm making a multiplayer game built upon a lockstep system and I'd just like a better grasp on the concept. My main question is on how to get every command to simulate at the same time on every ...
2
votes
1answer
151 views

How to implement user friendly screen panning on 3D HTML canvas for RTS game

How can I get RTS map panning like how it was done in C&C red alert (with the mouse at the edge of the screen moves the screen in that direction) with a Babylon.js RTS game in the html canvas? ...
0
votes
1answer
159 views

How crucial is 3D terrain in a classic RTS game? [closed]

My love of RTS games is from the days of Warcraft II, C&C, etc, when top-down/isometric views were king and terrain was generally tiled and flat. More modern games - as CPU/GPU power increased - ...
0
votes
2answers
170 views

Efficient fog-of-war visibility searching

Every game I look into that uses fog of war tends to have the AI ignore fog of war completely. I'm starting to see why. I have a RTS game I'm working on, with lots of units moving around. All units ...
6
votes
2answers
702 views

Fully dynamic KD-Tree vs. Quadtree?

Working on my game, I'm at the point where I need to track all of the units in the world so that I can do nearest-neighbor checks for combat. This is an RTS-like game, with potentially thousands of ...
4
votes
1answer
145 views

Executing commands at the exact same time on 2 or more computers

I have an RTS game, with deterministic simulation, but if I want multiplayer to actually work, I need commands sent between computers to be executed at the exact same time. My game's networking is ...
0
votes
2answers
71 views

Can the different computation power in a multi-player game affect each player's performance?

In case an RTS game allows the clients to perform some calculations such as path-finding after the player clicks the map for a destination, and taking into account the game should be synchronised for ...
1
vote
2answers
120 views

Command Interface design for RTS

Commands may have different target type; like NONE, COORD, UNIT. Some example commands may be: Attack (target UNIT), Move (target COORD), AttackMove (target COORD), Stop (target NONE), UseAbility ...
4
votes
2answers
698 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 ...
1
vote
0answers
35 views

Any tips on developing an RTS unit movement collision? [duplicate]

so I am developing an RTS and I am a little stuck at this. I am not talking about pathfinding algorithms like A*. The problem is moving units in bulk and their collision along the way. Can anyone give ...
0
votes
1answer
179 views

unity rts on mobile : how can units find each other as simple as possible

Situation: I have a grid of 100 by 100 tiles. each tile has a list of units that are currently standing ontop of it. in this grid 500 units of team 1 and 500 units of team 2 are randomly walking ...
3
votes
4answers
917 views

Should I use one thread per game object?

I developing a simple real-time strategy game in a small team with no experience, and we're considering using one thread per game object (tank, soldier, etc). Is this a good idea or is it overkill? ...
2
votes
1answer
281 views

Online RTS Game Architecture for Mobiles [closed]

We came up with an idea for a real-time strategy game for mobile devices that can play with other players over a network. I'm trying to plan out the architecture/protocol required for such as system. ...
0
votes
1answer
309 views

game maker stop overlapping buildings

I'm trying to make a game with real time strategy elements, where you can build several different buildings. The problem is that I can't seem to make the buildings stop overlapping. That is too say, ...
2
votes
0answers
309 views

Why are there no sophisticated construction animations in RTS games in general? [closed]

I want to code a small demo to test what degree of detail regarding animations, is possible in modern RTS/building games and which of them have the largest impact on the playing experience. Similar to ...
6
votes
3answers
987 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 ...
-2
votes
3answers
537 views

Technologies and languages for Browser RTS game [closed]

I am trying to develop a multiplayer rts game. My question here is: which language is best suited for the server side of that game? My very first choices wolud be lower level languages, such as C++ or ...
3
votes
2answers
3k views

How to implement lockstep model for RTS game?

In my effort to learn programming I'm trying to make a small RTS style game. I've googled and read a lot of articles and gamedev q&a's on the topic of lockstep synchronization in multiplayer RTS ...
-1
votes
2answers
471 views

XNA moving towards 3D point, RTS style

I looked around to see if this question had already been asked- maybe it has, maybe it hasn't, I don't know. I'm trying to make a 3D RTS game. Right now we're trying to get the basics on the table. ...
-6
votes
1answer
214 views

Generic Class Name for RTS [closed]

Hopefully this will be a nice easy question :- I am building an RTS as a way of learning OOP techniques. Currently the code has the following classes Class MustInherit GameUnit Class MustInherit ...
-1
votes
1answer
299 views

Building placement in tilemaps (pattern matching)

I'm building a small rts and in my code I have given my buildings a pattern, much like you would pieces in tetris. In other words I want to place irregular shaped buildings on a map without buildings ...
18
votes
5answers
2k views

Tricks in game mechanics to avoid dealing with network lag compensation?

Implementing network lag compensation is hard, how to avoid it? Maybe it's possible to use tricks and build game mechanics in such a way that lag would be percieved as a non critical or even as a ...
-2
votes
2answers
642 views

RTS game unit damage & defense calculation [closed]

How can I model armies attacking each other in an RTS? I know how I would do it if it is an RPG game. Character has few stats that affect damage/defense and then compare it with enemy character and ...
2
votes
1answer
420 views

UDK Fixed AIController / Pawn Height

[I already asked this question on the UDK forums, without much success though.] I'm using a class derived from AIController to control my pawn in RTS-style. My problem is that the pawn does not have ...
-3
votes
1answer
815 views

Real-Time-Strategy control structures/achitecture [closed]

I am looking at building a real time strategy game (of at least the framework for one) in Unity, and was wondering what control structures and/or architecture I should focus on using. current ...
3
votes
1answer
979 views

Tweaking Heightmap Generation For Hexagon Grids

Currently I'm working on a little project just for a bit of fun. It is a C++, WinAPI application using OpenGL. I hope it will turn into a RTS Game played on a hexagon grid and when I get the basic ...
5
votes
1answer
646 views

“Unclutter” units in RTS game

For intentional reasons, certain units in the game I'm currently programming don't have any collision detection and response among each other. This enables them to clutter right on top of each ...
1
vote
1answer
205 views

Who should respond to collision: Unit or projectile?

In an RTS if a projectile hits a unit. Who should handle the collision? If projectile handles the collision, it must be aware of all possible types of units, to know what damage to inflict. For ...
9
votes
2answers
590 views

Boat passing under a bridge in a 2D tile based RTS

I'm writing a 2D tile based RTS. And I want to add a 'pseudo 3D' feature to it - bridges over the rivers. I havent't start any coding yet, just trying to think how it fits the collision detection ...
0
votes
2answers
8k views

How to add isometric (rts-alike) perspective and scolling in unity?

I want to develop some RTS/simulation game. Therefore I need a camera perspective like one knows it from Anno 1602 - 1404, as well as the camera scrolling. I think this is called isometric perspective ...
2
votes
1answer
233 views

How do I create a selection rectangle?

I have a basic prototype working with health, resources and units. The problem is: How do I select multiple units? I have an idea of making an rectangle which dynamically extends with the mouse ...
3
votes
3answers
445 views

frame lock networking

I'm developing an RTS game and I want to add multiplayer support to my game. I picked the easiest technique to implement for start frame locking technique. I used server client networking ...
0
votes
3answers
454 views

XNA RTS A* pathfinding issues

I'm starting to develop an RTS game using the XNA framework in C# and am still in the very early prototyping stage. I'm working on the basics. I've got unit selection down and am currently working on ...