Hi, I'm making a game but I would like it so when I kill all my opponents it will allow me to go to the shop but I don't know how to! I've tried using broadcast but I'm not to experienced - perhaps there is a trick to help me?
Thanks in advance!
Offline
You might want to experiment with variables. Create a variable called "Number of Opponents" and set it to the proper value when the project starts up. Then, have the opponent sprites change it's value by -1 when they die. Finally, when your guy tries to go to the shop, test on the variable and see if it's zero. That should work.
Offline