Closed htmlgames closed 6 years ago
Welcome to any input on this from other emulator designers.
Please think about coding projects more efficiently and not use multiple green flag events. It is best to have just one green flag event and use broadcasts.
I've added a hack for Chrome desktop browser only (in player.js).
Looks like if you call a stage.start() wait 100ms then call stage.stopAll() then stage.greenFlagClick() sorts out some projects.... (only if they contain more than one greenFlag event) Not sure why?
FIXED: as in multiple 'Green Flag Start Blocks' are working. NOFIX: for EXCESSIVE broadcasting due to timing order (and only fail on troll projects).
These type of projects can be fixed within Scratch by tweaking starting vars to help the emulator, However it would be ideal to get the order / timing same as scratch.
I think this is what is causing issues with
Scratchnapped 2 : Bolder falling vertically down when game starts and scrolling issue (tweak in remixed project)
Flappy Bird (hyperPixel) : gaps in grass (can be fixed by changing starting value from 480 to 473)
Will be a 'hard to fix' but needs to be noted.