Log In  

Hey all, I was just wondering if there is a way to run Pico-8 games on the web (using HTML) or on a desktop at native resolution; One pixel on Pico-8 corresponds to one pixel on my monitor to get a tiny Pico-8 game window?

Any body know if this is possible?

P#37566 2017-02-18 06:16 ( Edited 2017-02-20 19:29)

On the desktop, just resize the window and you're all set.

With HTML, I think you'll get what you want by changing the width/height of the <canvas> element to 128x128, and also changing its CSS width/height in styles to 128px.

P#37567 2017-02-18 06:43 ( Edited 2017-02-18 11:43)

Oh yeah you're right, you can just resize the window -____-
Thanks for the reply, I'll try it with HTML later :)

P#37572 2017-02-18 12:31 ( Edited 2017-02-18 17:31)

Not really what you're after, but I wanted to run Pico-8 with the least stretching possible...

I run my Pi at 256x320. Pico-8 doubles the image and keeps aspect ratio. It's about as close to native as you can get, with a mode that works on a CRT. I then use a HDMI > VGA converter, and VGA > RGB (bnc) cable to a Sony 9" monitor. It looks glorious!

P#37634 2017-02-20 08:20 ( Edited 2017-02-20 13:20)

That sounds awesome! I've gotta get myself an old CRT to try Pico-8 on.

P#37651 2017-02-20 14:29 ( Edited 2017-02-20 19:29)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-02-29 05:10:16 | 0.006s | Q:14