Discuss Scratch

sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

Hey, so I'm making a Sonic game and I've been using this slope engine for it. The engine itself works fine, but sometimes the game keeps crashing. Sometimes when I press start it keeps crashing. I though it might have something to do with the amount of “when flag clicked” scripts, so I changed that, but it's still crashing. Can you help?
Here's the project:
https://scratch.mit.edu/projects/266200789/
Heacogra
Scratcher
100+ posts

Help my game keeps crashing

sonicgamesman wrote:

Hey, so I'm making a Sonic game and I've been using this slope engine for it. The engine itself works fine, but sometimes the game keeps crashing. Sometimes when I press start it keeps crashing. I though it might have something to do with the amount of “when flag clicked” scripts, so I changed that, but it's still crashing. Can you help?
Here's the project:
https://scratch.mit.edu/projects/266200789/
I'll try to help you with but everytime I start it it freezes my browser. I'll remix it later if you'd like if I can figure it out. -Heacogra EDIT: These parts are causing the error which will freeze my browser which I assume you say is crashing I don't know how you can fix this as I don't know much about X and Y xD but that should atleast help a little.

Last edited by Heacogra (Dec. 1, 2018 16:48:18)

deck26
Scratcher
1000+ posts

Help my game keeps crashing

Chances are you don't want the custom block to use the no screen refresh option. It has repeat until loops so probably isn't finishing fast enough to use that option.
sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

Heacogra wrote:

sonicgamesman wrote:

Hey, so I'm making a Sonic game and I've been using this slope engine for it. The engine itself works fine, but sometimes the game keeps crashing. Sometimes when I press start it keeps crashing. I though it might have something to do with the amount of “when flag clicked” scripts, so I changed that, but it's still crashing. Can you help?
Here's the project:
https://scratch.mit.edu/projects/266200789/
I'll try to help you with but everytime I start it it freezes my browser. I'll remix it later if you'd like if I can figure it out. -Heacogra EDIT: These parts are causing the error which will freeze my browser which I assume you say is crashing I don't know how you can fix this as I don't know much about X and Y xD but that should atleast help a little.

I mean it's freezing my browser. If you can fix it, I would much appreciate it!
sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

deck26 wrote:

Chances are you don't want the custom block to use the no screen refresh option. It has repeat until loops so probably isn't finishing fast enough to use that option.
Hey! I remember you! You fixed my other game a few years ago! Can you be more specific on what I can do? Thanks!
deck26
Scratcher
1000+ posts

Help my game keeps crashing

sonicgamesman wrote:

deck26 wrote:

Chances are you don't want the custom block to use the no screen refresh option. It has repeat until loops so probably isn't finishing fast enough to use that option.
Hey! I remember you! You fixed my other game a few years ago! Can you be more specific on what I can do? Thanks!
Disable that option in the custom block and see if it fixes the issue.
sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

deck26 wrote:

sonicgamesman wrote:

deck26 wrote:

Chances are you don't want the custom block to use the no screen refresh option. It has repeat until loops so probably isn't finishing fast enough to use that option.
Hey! I remember you! You fixed my other game a few years ago! Can you be more specific on what I can do? Thanks!
Disable that option in the custom block and see if it fixes the issue.
it doesn't crash anymore, but then the script just doesn't work.
deck26
Scratcher
1000+ posts

Help my game keeps crashing

You currently have two repeat until loops with no boolean specified so those will repeat forever which means you don't get beyond the first one and your custom block never completes.

Minecraf_player
Scratcher
33 posts

Help my game keeps crashing

sonicgamesman wrote:

Hey, so I'm making a Sonic game and I've been using this slope engine for it. The engine itself works fine, but sometimes the game keeps crashing. Sometimes when I press start it keeps crashing. I though it might have something to do with the amount of “when flag clicked” scripts, so I changed that, but it's still crashing. Can you help?
Here's the project:
https://scratch.mit.edu/projects/266200789/

in the slope detect there are 2 open repeat until's. without them, it dosen't crash

sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

Minecraf_player wrote:

sonicgamesman wrote:

Hey, so I'm making a Sonic game and I've been using this slope engine for it. The engine itself works fine, but sometimes the game keeps crashing. Sometimes when I press start it keeps crashing. I though it might have something to do with the amount of “when flag clicked” scripts, so I changed that, but it's still crashing. Can you help?
Here's the project:
https://scratch.mit.edu/projects/266200789/

in the slope detect there are 2 open repeat until's. without them, it dosen't crash

Those are the things that cause the game to crash. Is there anyway I can replace them?
sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

If you guys could remix a fixed version, I would very much appreciate it, because I don't know how to fix it
sonicgamesman
Scratcher
75 posts

Help my game keeps crashing

Hey! Update: I'm using a different slope engine. Thanks for all of your help!
Minecraf_player
Scratcher
33 posts

Help my game keeps crashing

cool! i hope your game works! can you post a new link to it?
helloo1233
Scratcher
4 posts

Help my game keeps crashing

All my new games just keep crashing whenever you not in the engine, when you're out of the engine they crash here the one in working on now.
https://scratch.mit.edu/projects/283024858/
I use cloud variables and I have tested on 3 computers with different browsers and specs. All failed, also I tried to test the game with someone else and it wouldn't update any of my cloud variables. It was working in my other game before but now it doesn't work.
Thanks
loveheart409
Scratcher
2 posts

Help my game keeps crashing

my scratch dose not want to save please help scratch
AcidRocks
New Scratcher
83 posts

Help my game keeps crashing

I don't have time to really get into this discussion but what it seems to me is that the loop isn't finishing fast enough, it needs to be timed right!
thirteenkoala
Scratcher
1 post

Help my game keeps crashing

Help! I want to make updates to my Pokemon game, But everytime I tried to enter the edit section, It keep crashing!
https://scratch.mit.edu/projects/411167815/
I want you guys to help me fix the problem. But it could be worse, because if I don't start updating my project soon, people will worry that it takes too long for the update to come!
freshBOT
New Scratcher
59 posts

Help my game keeps crashing

when green flag clicked
say [hey] for (2) secs
cs2925723
Scratcher
100+ posts

Help my game keeps crashing

thirteenkoala wrote:

Help! I want to make updates to my Pokemon game, But everytime I tried to enter the edit section, It keep crashing!
https://scratch.mit.edu/projects/411167815/
I want you guys to help me fix the problem. But it could be worse, because if I don't start updating my project soon, people will worry that it takes too long for the update to come!
Please create a new thread here, rather than posting on old topics.
deck26
Scratcher
1000+ posts

Help my game keeps crashing

Drumd wrote:

make a new project here.
Please don't necropost or post when you have nothing useful to say.

Powered by DjangoBB