J
Jaften
Guest
Hello all. Complete beginner here so bare with me.
I have, and am very proud of this (thats how new I am!), worked out how to change an object's sprite at the press of a button. The next stage of my game mechanic is proving tricky though. I am looking for the object to have different events based on which sprite it currently takes the form of.
So when it is sprite A it can do x, when it is sprite B it can do y and when it is sprite C it can do z.
I thought about creating 3 objects, but is there a way to switch between objects (as the main sprite) at the press of a button, or does any other solution come to mind?
Hope this makes sense and greatly appreciate any advice to point me in the right direction.
Thanks in advance.
I have, and am very proud of this (thats how new I am!), worked out how to change an object's sprite at the press of a button. The next stage of my game mechanic is proving tricky though. I am looking for the object to have different events based on which sprite it currently takes the form of.
So when it is sprite A it can do x, when it is sprite B it can do y and when it is sprite C it can do z.
I thought about creating 3 objects, but is there a way to switch between objects (as the main sprite) at the press of a button, or does any other solution come to mind?
Hope this makes sense and greatly appreciate any advice to point me in the right direction.
Thanks in advance.