Re: TurboSphere
Reply #371 –
...Oh yeah. I changed it so that `game` is checked first.
function game(){
while(true){
FlipScreen();
GetKey();
}
}
EDIT:

The new plugin tools up and running. Updating the graphics plugin is the big task still to be done.
The new plugin tools and the new usage of V8 in the engine makes TurboSphere able to start different games and restart the current game at runtime. Having looked through Sphere's source, it looks like that sort of thing was a lot easier back when JS was interpreted. And V8 wasn't really meant to do this anyway. Chrome puts each page in its own process, and never reuses a V8 instance. But the new requirement of Isolates and increases 'security' checks (page identity in Chrome, game instance in TurboSphere), and much, much better identity of handles makes it much simpler to do.
Also note that V8 doesn't need or accept the flags to enable typed arrays anymore. That's because they are standard now!