[Example] RTS Game Units Management

I recently noticed users inquiring about handling units in RTS games. Having never tackled this myself, I embarked on creating my own RTS model.

This project is the outcome. While not tailored for GDevelop beginners, I’m sharing it for anyone curious or seasoned users seeking a foundation for their RTS games in GDevelop.

forum_01b

It’s modular and annotated for clarity, including insights into my GDevelop scripting style.

Download it from here

If you test this project, build upon it, or have improvement ideas, I’d love to hear your thoughts in the comments

11 Likes

Thanks for this, I Adore strategy games! :star_struck:
I’m sure with your help, more of them can be made on GDevelop!

3 Likes

Thank you so much I’ll have a look

3 Likes

Hi @erdo ! Thank you so much for your wonderful example! I know it’s been 2 years but this is a very big help for RTS lovers :bowing_man:

1 Like

I looked at your sample and I got the basics down thanks to you. I tried making a “assign a group number to selected unit(s)” but when I select a group using the Num keys 1-9, if Num1 is released then the group #1 gets selected. But when Num2 is released, group #2 gets selected but group #1 is still selected and so on with the other groups.

Do you know how to allow only one group selection at a time? Any help is very much appreciated!