Started to work on an RTS myself a few days ago as a pet project next to Superku, pathfinding and group movement already work on a playable yet imperfect state (so does fog of war including hidden units, the minimap, group to hotkey and so on):



@sivan: The framerate problem in your screenshot obviously is a result of the script, not the rendering (29.4ms for code, 7.1ms for rendering). You shouldn't use a while loop for every unit but a single loop that executes all unit movements/ actions, this will speed up your game notably. Then you should not use c_move too for performance reasons. Luckily you don't need it because you can simply use 2D sphere-sphere collision detection instead.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends