Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » i need some help
- Crazy_Amphibian
- Scratcher
13 posts
i need some help
so on this game I'm making, I'm generating a world, but it goes super slow. any ideas on how to fix this?
https://scratch.mit.edu/projects/127731700
https://scratch.mit.edu/projects/127731700
–M A X I M U M O V E R D R I V E–
- asivi
- Scratcher
1000+ posts
i need some help
Hi, tour “FPS” variable' monitor says 30, so exactly, what is the problem you have with?
- gor-dee
- Scratcher
1000+ posts
i need some help
where you are generating the world, put the code from “when I receive gen2” in a custom block and run without screen refresh. That should help.
- asivi
- Scratcher
1000+ posts
i need some help
Please read the stickied informative topic i'm linking below and use the template to ask, thanks.
☛ Welcome to Help with Scripts!!! ☚
☛ Welcome to Help with Scripts!!! ☚
- Crazy_Amphibian
- Scratcher
13 posts
i need some help
@gor-dee, what do you mean by without screen refresh?
–M A X I M U M O V E R D R I V E–
- TheGamer8608
- Scratcher
16 posts
i need some help
Q:
;
A: so on this game I'm making, I'm generating a world, but it goes super slow. any ideas on how to fix this?
https://scratch.mit.edu/projects/127731700
;
generate less air. All that adding to the list is what's causing the lag.Try making the engineif <it's lagging::sensing> thenOr you can you use TURBO MODE. It speeds up generation, therefore reduces lag, whilst active.
repeat until <it doesn't lag::sensing>
add [less air] to [the list "world." v]
then {
test (the project)::grey
}::custom-arg
If you need anything else, just ask @jseeli or S_Tutorials.
Sorry that you might not find what you want via their profiles.
;
;
- gor-dee
- Scratcher
1000+ posts
i need some help
When you make a custom block a little menu says “options”…. click on it and check the “run without screen refresh” box. If you don't do this the repeat loops will only run 30 times / sec, now it will run much faster! Even so it's still slow, do you really need such huge lists? @gor-dee, what do you mean by without screen refresh?
- Crazy_Amphibian
- Scratcher
13 posts
i need some help
i need some way of representing Nill / Null / NaN (which ever you prefer). what else will i use?
–M A X I M U M O V E R D R I V E–
- Crazy_Amphibian
- Scratcher
13 posts
i need some help
@gor-dee
thanks for the tip, soo much faster!
thanks for the tip, soo much faster!
–M A X I M U M O V E R D R I V E–
- Discussion Forums
- » Help with Scripts
- » i need some help