Discuss Scratch

GnarlyAardvarkGames
Scratcher
2 posts

What to do if your game suddenly breaks

Hello people! So, I have been working hard on a project on my school account. Everything was running smoothly, until yesterday, when the code just broke. I cant find a problem with the code, can someone help me?
Here is a link to the gamehttps://scratch.mit.edu/projects/175618723/
If someone can help me, that would be great!
ach6thyolo
Scratcher
8 posts

What to do if your game suddenly breaks

Hello,

the Chadtronic has the following script:
whenIreceive Hobov
switchcostumetoChadtronicsayokay thenfor2secssayHere I go!for2secs

the problem is that you don't use a broadcoast block to broadcoast the next message. you may forgot it
GnarlyAardvarkGames
Scratcher
2 posts

What to do if your game suddenly breaks

ach, I understand that bit. the thing wrong is my end script broke, where as when Chad says, here i go for the click bait bit, its skips the background of a first person computer view. It just plays the keyboard sound and makes the dialog
Wild_Koi_Studio
New Scratcher
24 posts

What to do if your game suddenly breaks

The backdrop you are trying to change to isn't in your mouse sprite, it is a stage backdrop. But your mouse has a change backdrop block in its code, which is wrong. Add another broadcast in the mouse sprite to trigger a change backdrop block you will add in your stage.
deck26
Scratcher
1000+ posts

What to do if your game suddenly breaks

Wild_Koi_Studio wrote:

The backdrop you are trying to change to isn't in your mouse sprite, it is a stage backdrop. But your mouse has a change backdrop block in its code, which is wrong. Add another broadcast in the mouse sprite to trigger a change backdrop block you will add in your stage.
A sprite can change the backdrop although I prefer to let the stage manage all backdrop changes generally as they can be hard to find otherwise.
Wild_Koi_Studio
New Scratcher
24 posts

What to do if your game suddenly breaks

Yeah, I was totally wrong. The problem is that the stage is changing correctly, but there is no Wait before the next broadcast changes it again.
Kemek78
Scratcher
13 posts

What to do if your game suddenly breaks

I have also had sprites become completely corrupt. Copying the exact same scripts to another sprite fixed it, but copying the sprite itself did NOT fix it.
Just thought I should warn you.

Last edited by Kemek78 (Jan. 19, 2022 04:21:59)

catmaster59
Scratcher
6 posts

What to do if your game suddenly breaks

Kemek78 wrote:

I have also had sprites become completely corrupt and copying the exact same scripts to another sprite fixed it, but copying the sprite itself did NOT fix it.
Just thought I would warn you.

this is my problem
pinetreeandmoose
Scratcher
3 posts

What to do if your game suddenly breaks

I was making a game called Mash Mountain and it was going smoothly but while I was working the game stopped counting kilometers so it didn't work at all
deck26
Scratcher
1000+ posts

What to do if your game suddenly breaks

pinetreeandmoose wrote:

I was making a game called Mash Mountain and it was going smoothly but while I was working the game stopped counting kilometers so it didn't work at all
If you need help please post your own new topic.
CodeBuffs
Scratcher
100+ posts

What to do if your game suddenly breaks

for some reason my game wouldn't use my grids

Powered by DjangoBB