I want to make a collectible object in my scrolling game but i don't know how to do this one thing. You see in my game when objects get far away from the player, or the player collected the object. All the scripts in the objects stop then they hide. when they get close to the player they show and they scripting starts again.
But a glitch makes it when they get near the player they show an there scripting starts again
when they get close to the player the scripting starts again after the player already got the object. I want to make them hide if the player already got them
How do i do this without variables.
Offline
Well, without variables, you can do it so that after you collect the object, it switches to costume that is only 1 pixel, and then set that sprite's ghost effect to 100. Make sure to set the ghost effect to 0 in the beginning though, otherwise it'll always stay hidden.
Offline
TorbyFork234 wrote:
Well, without variables, you can do it so that after you collect the object, it switches to costume that is only 1 pixel, and then set that sprite's ghost effect to 100. Make sure to set the ghost effect to 0 in the beginning though, otherwise it'll always stay hidden.
Thanks!
Offline