Discuss Scratch

CallMeCoder12345
Scratcher
45 posts

Why does the game not work?

i have been making a game inspired by fruit ninja. But for some reason, the sprites are hiding and the x and y axis are going crazy! Could someone look in the code and tell me whats wrong?

Link:
https://scratch.mit.edu/projects/468223711/
MopperTech
Scratcher
79 posts

Why does the game not work?

You put the y to -250, not 250, so the fruits will always touch the bottom and immediately disappear.
SuperBjmanBros
Scratcher
56 posts

Why does the game not work?

Here: click here

I fixed the game, It was pretty easy. Your Fruit spawned at the bottom, due to the fact that you had a negative number as the Y spawn point, meaning it instantly touched the “Thing” and the loop was indefinite, causing the fruit to spawn at the bottom and causing the “invisibility” glitch. Please check the comments on the fruit sprite
CallMeCoder12345
Scratcher
45 posts

Why does the game not work?

thanks

Powered by DjangoBB