
RTS Demo
Get Source code
from Godot official assets : http://godotengine.org/asset-library/asset/575
from my GitHUB :https://github.com/LeProfesseurStagiaire/rtsSelectionMoveDemo
About
A simple GODOT demo to test selection and move with units like in RTS games. You can also choose a formation shape for your units and some others parameters.
- Open Godot
- click on 'import' and choose the "project.godot" file on the project folder
- Them you have access to the project edition, press F5 to launch project !
- Left click :
- Drag to expand a shape to select units.
- Click on the UI to change parameter in runtime.
- Right click : Move the selected units around your cursor position.
In this demo, you can select units with some Control nodes and an Area2D. The esthetic as been customed with the theme asset. When selected, units are changing they underline color.
Movement
You can also move your units with a path finding system managed by an auto tiled Tilemap. In the ui, you can click some button to change your unit formation shape (square, circle or triangle).

Test with parameters
It is possible to change the number of unit that spawn from the code of the demo.
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
what happened to the comments
cool