Log In  

Ho can I get an HTML exported cartridge to start paused? Allowing the user to decide when to fire it up...
I don't really want to blast my users with the full glory of chiptunes on page load when the webplayer is half way down the page...

P#15756 2015-10-23 11:34 ( Edited 2015-10-24 19:28)

Seems like calling Module.pico8TogglePaused() in the body onload handler does the trick:

<body bgcolor=#303030 onload="Module.pico8TogglePaused()">

HTH

P#15770 2015-10-23 20:43 ( Edited 2015-10-24 00:43)

cool! I'll try that out. If not I'll just make it a runtime option

P#15781 2015-10-24 15:28 ( Edited 2015-10-24 19:29)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 08:16:42 | 0.005s | Q:10