I need to add the different scores in the marker
18/11/2016 at 3:01 pm #94411
Hi bros, The game I’m doing is like the tutorials of the ship, but there are asteroids that have different points, I need to add the different scores in the marker, that is, add them up, I’m aware.
Thank you21/11/2016 at 2:04 pm #94445
there are many options to do that. One of them is, for example, creating 3 types of asteroid in your scene, instead of 1, each asteroid with a different name. Then, in your game logic, when your game starts you put those asteoids in a collection. And whenever you need to clone an asteroid, instead of cloning one directly, you can use the ‘ActionOnCollection’ blackbox with the ‘getRandomItem’ action to get one of the asteroids randomly. Finally, when you detect that an asteroid was destroyed, you use the ‘ActionOnParam’ blackbox with the ‘getName’ action to get its name, and depending on the name you trigger an output connector or other, connector which will score 1, 2 or 3 points, for example.
There are other ways to do that, like labels for example, but I hope this one helps you.
You must be logged in to reply to this topic.
ayo on Integrating social media buttons into my game 1 year ago
Kiko Almeida on Integrating social media buttons into my game 1 year ago
Kiko Almeida on I need to add the different scores in the marker 1 year ago
Kiko Almeida on necesito que se sumen las diferentes puntajes en el marcador 1 year ago
Kiko Almeida on Getting an .Apk file from WIMI5 1 year ago