Questions tagged [real-time-strategy]

12 questions
11
votes
3 answers

Deterministic floating point and .NET

How can I guarantee that floating point calculations in a .NET application (say in C#) always produce the same bit-exact result? Especially when using different versions of .NET and running on different platforms (x86 vs x86_64). Inaccuracies of…
8
votes
5 answers

RTS AI: where to start?

I'd like to begin tinkering around with an RTS AI, but I'm having trouble finding a good environment to work with, ie a game that has been already created. I have looked at Spring RTS and Bos Wars, but they don't seem to be conducive to creating…
awegawef
3
votes
2 answers

2D RTS in Python?

I am a great python fan. Recently I got an idea to write RTS engine and/or maybe a simple RTS game based upon this engine. There are a couple of things I need to think about and maybe you can give me some advice on these: Performance. Most games…
pajton
  • 15,828
  • 8
  • 54
  • 65
3
votes
1 answer

How to speed up Mongodb inserts?

I am trying to create a big data app using mongodb (coding in Java). My collection consists of ordinary text documents. Since I do not want duplicates and documents' text fields are too big to create unique index on, I decided to calculate checksum…
salihcenap
  • 1,927
  • 22
  • 25
2
votes
2 answers

Two sprites spotting each other

Hello again Stack Overflow. you probably remember me from my unit spawning problem in my pygame program, "Table Wars." I decided to change the scope of my game to a real-time strategy rather than a turn-based game. I want the game to play along the…
Oventoaster
  • 299
  • 1
  • 5
  • 13
1
vote
2 answers

Multiplayer RTS in the browser

So I've seen people do small scale rts games in the browser, and I just want to know, where does one start? I've created small one player games with js+html5 so I know the basics. What resources would be best to read into for starting this kind of a…
Riveascore
  • 1,724
  • 4
  • 26
  • 46
1
vote
1 answer

How to create a custom height snapping tool in Unity Editor

I am making a strategy game and I need to have a tool which places the objects above the terrain while I am dragging them in Unity Editor when I work on level design. Basically I want to get result like…
0
votes
0 answers

Planetary Quadtree Terrain for RTS (Mesh Collider / Pathfinding Issue)

I've been plucking away at a capital ship real-time strategy game, and I'm getting ready to start implementing a ground to space invasion system -- but I can't seem to wrap my head around how ground unit pathfinding would work if a Quadtree LOD…
0
votes
2 answers

Unity raycast returns center of object, not a point

I want to create a click-to-move game, and have got a nav-mesh agent with code which almost works, except my character always attempts to move to the same spot, regardless of where I click or the position of the camera. This is my function, private…
Rich Cat
  • 17
  • 5
0
votes
0 answers

How to put textures on my tiledmap in libGDX

Im creating RTS in LibGDX and Im wondering how to put my buildings textures in proper way. Im using TiledMap to create my world, but I have to create some objects dynamicly. I know how to do this by editing cells, but this solution seems to me a…
Dawid Fieluba
  • 1,271
  • 14
  • 34
0
votes
0 answers

A* (A star) Path finding slows everything when there is no path

In my RTS game I used BFS, it is very slow. So i am using A* now, it is very fast to find a path, but if there is no possible path it makes everything about to be hanged. To solve this i tried to get out of the loop if it takes much considering to…
0
votes
1 answer

PHP Real Time Strategy Game Database Structure?

I'm trying to build a real time strategy browser game in PHP however I'm trying to make the game as real as possible which means there will be allot of individual data to store for each user and one single database doesn't go well with my ideas…
SLC
  • 2,167
  • 2
  • 28
  • 46