https://le-professeur-stagiaire.itch.io/rts-demo Get Source codefrom Godot official assets : http://godotengine.org/asset-library/asset/575 from my GitHUB :https://github.com/LeProfesseurStagiaire/rtsSelectionMoveDemo AboutA 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.
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. MovementYou 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 parametersIt is possible to change the number of unit that spawn from the code of the demo. |