I have been trying to figure this thing out many times and i hope some one can help me with this problem..
I would like to make a platform game. When the player is overlaping an objekt i woud like to press CTRL and then the obekt i overlaping get invisible.
The problem is that the secondary objecst also get invisible while pressing CTRL.
Please help me... i have an example to.. Thanks!
Haha.. wow.. That whas just to easy! I where fighting with the global ting... But is there any other way to solve this thing "with the global" idéa or is it just thrue & false that is the thing?
Thank you very mutch Korbaach.. Im sorry that i totaly suck on this construct programing thing. I bought this for like one year ago and i have still not ben able to make one singel game
check Bezza solution ...
with global variable..you need to pick specific sprite....it is much easier to use Instance variables for sprites..
you can use True&False or 0&1..
Develop games in your browser. Powerful, performant & highly capable.