Page 1 of 1

When Converting Scratch to GP it doesn't Work?

Posted: Jun 22nd, '18, 22:20
by Calloway
So out of boredom I was just converting this project on Scratch: https://scratch.mit.edu/projects/135783232/ to this in GP:
Perlin Noise.gpp
this is the converted project
(11.19 KiB) Downloaded 494 times
For some reason this doesn't work in any way yet all the code seems to be the same
Can anyone help me find out these errors?

Re: When Converting Scratch to GP it doesn't Work?

Posted: Jun 23rd, '18, 09:55
by Picochilla
I think this is because "run without screen refresh" and GP does not support this in exactly the same way as scratch. In GP you are able to do several tasks in one frame without refreshing, but you can't say to GP it should whait with the refresh until the custom block is finished. This would be very helpfull but I think this would be hared work to optimize the frame-system for souch a feature. But I am not sure.
scratch.png

Re: When Converting Scratch to GP it doesn't Work?

Posted: Jun 26th, '18, 11:17
by SimpleSi
but you can't say to GP it should whait with the refresh until the custom block is finished.
Not looked at code but couldn't you just add a wait block inside the custom block or after calling it from a main script?