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

0
votes
1answer
35 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
359 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 ...
3
votes
2answers
353 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
votes
1answer
54 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
171 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 ...
6
votes
1answer
585 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 ...
2
votes
1answer
94 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? ...
-1
votes
1answer
51 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
97 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
198 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
140 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 ...
4
votes
1answer
277 views

How can I draw a “vision cone” (targetting element) into the game world?

I'm wanting to indicate various things using a "pie slice" sort of shape as below. Similar to vision cones in stealth game minimaps, or targetting indicators in RTS type games for frontal area ...
2
votes
3answers
772 views

Is there a library or a framework that handles networking in an RTS? [closed]

I'm aiming for making a(n) RTS game with networking so instead of doing tedious stuff like networking I wonder if there is a library/framework that will save me the effort. I intend to make that game ...
0
votes
1answer
129 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
133 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
289 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
133 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
70 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
99 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 ...
6
votes
1answer
850 views

What are some good methods of implementing RTS-style Box selection?

I'm scouting around for different methods of implementing a typical RTS box selection. This is for 3D game - so I'm looking for methods for finding units within selection box in 3D world. Here is a ...
2
votes
1answer
207 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
145 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 ...
1
vote
0answers
31 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
2answers
7k 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 ...
11
votes
6answers
509 views

How do I fairly distribute resources among factories when resources are near exhausted?

The main resource in my game is mass, stored as a floating point number that changes over time. Resource nodes increase mass and factories drain it. For example, if I have a resource node yielding 5 ...
3
votes
4answers
650 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? ...
12
votes
1answer
2k views

How can I create gradiented Fog of War?

I'm creating a top down 2D RTS game for educational purposes. Currently, I'm really just copying Starcraft's design/ideas. I've decided I should probably implement Fog Of War too. My expectations: ...
9
votes
2answers
1k views

How should I implement units' enemy “awareness”?

I'm using Unity3d to develop a RTS/TD hybrid prototype game. What is the best approach for "awareness" between units and their enemies? Is it sane to have every unit check the distance to every enemy ...
6
votes
4answers
2k views

Which for basic RTS prototype: Unity or Torque? [closed]

I'm wanting to test my hand at writing an RTS (something I've never gotten very far with), and so I'm looking for an indie engine that would give me the most success with a quick setup that I can then ...
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 ...
0
votes
1answer
262 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, ...
1
vote
0answers
278 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 ...
3
votes
2answers
2k 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 ...
5
votes
3answers
799 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
424 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 ...
5
votes
2answers
2k views

Implementing fog of war in opengl es 2.0 game

Hi game development community, this is my first question here! ;) I'm developing a tactics/strategy real time android game and I've been wondering for some time what's the best way to implement an ...
-1
votes
2answers
432 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. ...
13
votes
1answer
3k views

How are “2.5D” art assets created?

By "2.5D" I mean the art style in games such as Roller Coaster Tycoon, Age of Empires 2 or Fallout 1 and 2: Everything in the games appears to be created with a "pixel art"-like tool. Am I correct? ...
-6
votes
1answer
196 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
260 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 ...
2
votes
1answer
408 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 ...
6
votes
5answers
2k views

Persistent game where you program your own bot(s) [closed]

I'm looking for an online game with a persistent world where you are allowed to code (and add) your own 'players' (it can be in any language / script). A sort of RTS but for bots. Does that even ...
1
vote
2answers
244 views

Communicating between simulation and rendering in RTS

I've been creating an RTS game, and I'm a little unsure about how to deal with the above. Right now, I wish to control which units are visible to which players, and I've run into a little problem. ...
-2
votes
2answers
550 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 ...
-3
votes
1answer
651 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
866 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 ...
6
votes
3answers
897 views

Networking for RTS games with lockstep using UDP

Apparently from what I can gather Starcraft 2 moved to UDP in a patch. Now obviously with fps games there is no dispute that UDP is the only way to go. But with RTS games what benefits does UDP give ...
4
votes
1answer
579 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
194 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
559 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 ...