How can I code the below:
When 'sprite1' is created, add 1 to global variable 'number', I would also like to 'add 1' every 1 second.
I have tried looking but the tutorials I have found are only on scoring & player health.
Thanks in advance.
When 'sprite1' is created, add 1 to global variable 'number'
Conditions: The conditions in the event you create the Sprite
Actions: Create object Sprite
Do + 1 to scene variable "number"
I would also like to 'add 1' every 1 second
Conditions: Timer "increase_variable" is greater than 1 second
Actions: Do + 1 to scene variable "number"
Reset timer "increase_variable"
I know it not working, as I am waiting 1 second and the 'money' is not going up.
Do = GlobalVariableString(number) to the text of money (text object)
Yes please make a tutorial :D Thanks a lot for all
hi, take a look here: http://forum.compilgames.net[…]
how to move an object (character) like flappy bir[…]
Hey folks, Brand new realistic seamless textures […]
Try GDevelop directly from your browser!