Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: wendymorrison on November 06, 2016, 05:38:18 AM

Title: Tappy plane
Post by: wendymorrison on November 06, 2016, 05:38:18 AM
Hi i decided to make a tappy plane game considering the sprites are free for me to learn with which is great. I have done all scolling items and even have the plane jumping and even have figured out score but one thing i have trouble with is if i collide with a star it gives me points but never destroys. So my question is how to destroy an object from my tappy plane. The stars actually get created randomly aswell so i can't destroy the star prefab. I have tried global varibles but nothing seems to work. I have seen many flappy bird tutorials but yet none of them does any pickups though. I am still learning though so i maybe didn't use the global varible propperly. Please don't point me to the asset store where i know there is the fish game cos i actually trying to learn playmaker. I just can't work out this one little thing though. Any help would be appreciated.
Title: Re: Tappy plane
Post by: wendymorrison on November 06, 2016, 06:16:37 AM
Send event broadcast all sort of works but it seems to destroy all that spawns once triggered by the tappy plane though.
Title: Re: Tappy plane
Post by: wendymorrison on November 06, 2016, 07:55:38 AM
I figured it out now I didn't tag the player. Everything works great now.