Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » My Game has an invisible Asteroid or something
- Erdinlol
-
1 post
My Game has an invisible Asteroid or something
In my game AsteroidEater, the game sometimes detects an Asteroid hitting the player for example 2 points even though there is just one. I tried making a sound when the asteroid touched the player but sometimes it does the sound like i said even though no asteroid is there. Please help me
AsteroidEater
AsteroidEater
Last edited by Erdinlol (March 15, 2023 21:58:13)
- Jareddddddd
-
1000+ posts
My Game has an invisible Asteroid or something
yes, asteroid 3 is invisible because it is behind the background. add a
go to frontblock in asteroid 3 anywhere in the code.
- rzxyone-
-
12 posts
My Game has an invisible Asteroid or something
Hmmm, I usually know this, but it's a bit more confusing this time. ⋆ ༺Ƹ★ (ꐦ ◣‸◢) ★ Ʒ༻ ⋆
Maybe it's because you are deleting the clone but the point is still going. ʕっ• ᴥ • ʔっ
꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷
I think that you should try to make a lot of sprites and say to glide to a position and then hide, wait a couple seconds and then show again. They should be at the very end when they hide, so the player can't get them. Then, after a few seconds, they show again and glide to their position again, and so on and on, I don't think cloning is a good idea, because then Scratch still might change the variable, since you are still touching the sprite, you just can't see it, which is actually a good use for other games lol.
₍ᐢ . ̫.ᐢ₎♡₍ᐢ. ̫ .⑅ᐢ₎Hope that helps!₍ᐢ . ̫.ᐢ₎♡₍ᐢ. ̫ .⑅ᐢ₎
Maybe it's because you are deleting the clone but the point is still going. ʕっ• ᴥ • ʔっ
꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷꒷⏝꒷꒦꒷⏝꒷꒦꒷⏝꒷
I think that you should try to make a lot of sprites and say to glide to a position and then hide, wait a couple seconds and then show again. They should be at the very end when they hide, so the player can't get them. Then, after a few seconds, they show again and glide to their position again, and so on and on, I don't think cloning is a good idea, because then Scratch still might change the variable, since you are still touching the sprite, you just can't see it, which is actually a good use for other games lol.
₍ᐢ . ̫.ᐢ₎♡₍ᐢ. ̫ .⑅ᐢ₎Hope that helps!₍ᐢ . ̫.ᐢ₎♡₍ᐢ. ̫ .⑅ᐢ₎
- rzxyone-
-
12 posts
My Game has an invisible Asteroid or something
Oop sorry i didn't see the other message, maybe that one helps better 

- rzxyone-
-
12 posts
My Game has an invisible Asteroid or something
oop sorry didn't see that message, hope the other one helps 

- ninja_vex
-
6 posts
My Game has an invisible Asteroid or something
I have a problem like that
- Discussion Forums
- » Help with Scripts
-
» My Game has an invisible Asteroid or something