I am attempting to make a platform. I have a vertical wall sprite. I have cloned this several times on the scene. I have a ‘key’ sprite over to the right side, behind the wall… If the player touches ‘Key’ sprite =delete Key and Wall (to the left of the key), so the player can get though.
I’m doing my best to move away from construct2. In construct2, they have UID’s for every object.
Is this just a case of creating multiple objects (i.e. wall#1, wall#2) or can this be achieved like construct?
Hi @robertofreemano. There isn’t any UID’s for every object in GDevelop but you can make one yourself. You can have instance variables. Make one instance variable
Name it ID
And give each of them different IDs then go to the events tab then
If ID of Object = this Then
Do that.
If you didn’t understand what I said then I can describe it again and more clearly.