pixelpunker [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=24304 BBS: can't edit posts anymore <p>BBS: can't edit posts anymore. There is just an endless waiting cursor after hitting &quot;publish&quot;.</p> https://www.lexaloffle.com/bbs/?tid=43944 https://www.lexaloffle.com/bbs/?tid=43944 Sun, 25 Jul 2021 14:10:48 UTC Picade PICO-8 Edition <img style="margin-bottom:16px" border=0 src="/media/24304/picade2020_1.jpg" alt="" /> <p>Comes with a PICO-8 license. 1024*768 10 inch screen for a pixel-perfect 6x scale.</p> https://www.lexaloffle.com/bbs/?tid=43078 https://www.lexaloffle.com/bbs/?tid=43078 Wed, 26 May 2021 20:11:12 UTC What is the keyboard cursor? <p>Ctrl+0 toggles the Keyboard Cursor option on and off. What the heck is this? The manual does not mention it.</p> https://www.lexaloffle.com/bbs/?tid=41737 https://www.lexaloffle.com/bbs/?tid=41737 Wed, 24 Feb 2021 12:04:31 UTC The Quest for the Perfect PICO-8 handheld <h1>The Quest for the Perfect PICO-8 handheld</h1> <p>Ever since PICO-8 was created people have longed for a physical form of what is still a fantasy console.</p> <p>On my long quest for the perfect PICO-8 handheld I've owned no less than six handhelds (plus experiments with iPhones and DIY Pi Zero solutions). Until I finally reached the handheld endgame with the <a href="https://www.lexaloffle.com/bbs/?tid=41308">Waveshare GPM280</a>. Here's my take on all of them:</p> <table> <thead> <tr> <th>Name</th> <th>Pros</th> <th>Cons</th> </tr> </thead> <tbody> <tr> <td><strong>PocketChip</strong></td> <td>Officially supported by Zep</td> <td>Terrible keyboard, unplayable game controls</td> </tr> <tr> <td>&quot;</td> <td>Screen is pixel-perfect (with a bit of border)</td> <td>Really bulky</td> </tr> <tr> <td>&quot;</td> <td>Hacker vibes</td> <td>Unfinished look</td> </tr> <tr> <td>&quot;</td> <td></td> <td>No sound</td> </tr> <tr> <td>&quot;</td> <td></td> <td>Not enough perf for demanding carts</td> </tr> <tr> <td><strong>Clockwork Pi</strong></td> <td>Good performance</td> <td>Bulky</td> </tr> <tr> <td>&quot;</td> <td>Good controls</td> <td>Low rez plastic screen that scratches easily</td> </tr> <tr> <td>&quot;</td> <td>Nice OS</td> <td>Need to assemble</td> </tr> <tr> <td>&quot;</td> <td></td> <td>Video driver issues</td> </tr> <tr> <td><strong>GPi Case</strong></td> <td>Great build quality</td> <td>Pi 0 doesn't have enough perf even for 30 fps carts</td> </tr> <tr> <td>&quot;</td> <td>Good looks</td> <td>Slow boot times</td> </tr> <tr> <td>&quot;</td> <td>Screen has great colors</td> <td>Low resolution, soft picture</td> </tr> <tr> <td>&quot;</td> <td></td> <td>Bulky</td> </tr> <tr> <td><strong><a href="https://www.lexaloffle.com/bbs/?tid=38949">RG280V</a></strong></td> <td>Tiny form factor a good fit for PICO-8</td> <td>No Wi-Fi</td> </tr> <tr> <td>&quot;</td> <td>Great build quality</td> <td>Uneven scaling</td> </tr> <tr> <td>&quot;</td> <td>Great controls</td> <td>PICO-8 emulator not 100 % compatible</td> </tr> <tr> <td>&quot;</td> <td>Screen has great colors</td> <td>Progress on emulator stalled</td> </tr> <tr> <td>&quot;</td> <td></td> <td>Sound issues</td> </tr> <tr> <td><strong><a href="https://www.lexaloffle.com/bbs/?tid=40686">ZPG Pro (OGA Clone)</a></strong></td> <td>Great performance</td> <td>No Wi-Fi</td> </tr> <tr> <td>&quot;</td> <td>Runs real PICO-8</td> <td>OS is lacking</td> </tr> <tr> <td>&quot;</td> <td>Great screen</td> <td>Screen has big borders if you want pixel-perfect</td> </tr> <tr> <td>&quot;</td> <td>Good build quality</td> <td>Can't use alternative OS without patching</td> </tr> <tr> <td><strong><a href="https://www.lexaloffle.com/bbs/?tid=41308">GPM280</a></strong></td> <td>Best screen yet for PICO-8, 286 dpi</td> <td>2 hour battery life</td> </tr> <tr> <td>&quot;</td> <td>Great looks and tiny form factor</td> <td>More expensive than RG280V</td> </tr> <tr> <td>&quot;</td> <td>Runs real PICO-8</td> </tr> <tr> <td>&quot;</td> <td>Wi-Fi access to splore</td> </tr> <tr> <td>&quot;</td> <td>Great performance</td> </tr> <tr> <td>&quot;</td> <td>Polished OS</td> </tr> </tbody> </table> https://www.lexaloffle.com/bbs/?tid=41736 https://www.lexaloffle.com/bbs/?tid=41736 Wed, 24 Feb 2021 09:03:04 UTC Handheld endgame: A Game Boy Micro that runs PICO-8? <p><strong>TL;DR: Do you like your pixels razor-sharp? Do you like PICO-8? Then get this handheld.</strong></p> <h2>Looks</h2> <p><strong>This is the new Game &amp; Watch</strong></p> <img style="margin-bottom:16px" border=0 src="/media/24304/game-and-watch-super-mario-bros.jpg" alt="" /> <p><strong>This is the Game Boy Micro</strong></p> <img style="margin-bottom:16px" border=0 src="/media/24304/5828118-4_1.jpg" alt="" /> <p><strong>And this is the new Waveshare GPM280.</strong></p> <img style="margin-bottom:16px" border=0 src="/media/24304/33_overview.jpg" alt="" /> <p>Looks good, don't you think?</p> <p>And it runs PICO-8 perfectly. The screen, oh, yes the screen. In a word: <em>razor-sharp pixels.</em></p> <h2>Screen</h2> <p>128x128 is such an oddball resolution. Practically no screens in use can scale that resolution easily, the only exceptions are 1024x768 screens and the iPhone 4's 960x640 retina screen. The solution to this conundrum? A smartphone-like high DPI screen plus an intelligent scaling algorithm. An approach taken by the upcoming Analogue Pocket for example. But that won't run PICO-8.</p> <p>Take a look. On the bottom is the pixel-perfect iPhone 4 screen (5x integer scale), on the top is the GPM280 screen. Also notice the 45&deg; diagonals, on the RG280V they don't look right because of uneven scaling. Here they are perfect. (Right-click on this picture to enlarge.)</p> <img style="margin-bottom:16px" border=0 src="/media/24304/comparison1.jpg" alt="" /> <p>Here is another comparison (Right-click to enlarge). Oh, yeah, razor-sharp pixels. How is this possible? Again, high DPI: 286 DPI to be exact. That's almost iPhone territory.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/comparison2.jpg" alt="" /> <h2>Controls</h2> <p>A responsive D-Pad with some clickyness and buttons with plenty of travel. All good.</p> <h2>Performance</h2> <p>The Pi 3 (in the compute module variant) handles 60 FPS carts with ease. No complaints here.</p> <h2>Battery</h2> <p>This one is really unfortunate. You get two hours of play time. The select and start buttons also show the battery status with green, blue and red LEDs. If it's close to drained the LED starts blinking. The battery will only charge when the power button is in the off-position. Try turning off the Wi-Fi when not in use. If it weren't for the battery situation I would declare this to be the perfect PICO-8 handheld.</p> <h2>Software</h2> <p>I didn't manage to add PICO-8 to recalbox but I succeeded with Batocera. That OS is much more polished anyway. It does have out of the box support for PICO-8 but it's an PICO-8 emulator with some compatibility issues, not the real deal. Let's fix that. </p> <p>I created an nifty installer package so you can install PICO-8 with very few steps. That includes extra features like shortcuts, sharp picture scaling and swappable controls.</p> <h1>Pixelpunker's PICO-8 Installer</h1> <h2>How to install</h2> <h3>Prerequisites</h3> <ul> <li> <p>Download [Batocera for the CM3] and write it to a MicroSD card using the <a href="https://www.raspberrypi.org/software/">Raspberry Pi Imager</a>. Use a SD card marked A1 or A2 (Application class).</p> </li> <li>Download <a href="https://www.waveshare.com/wiki/File:GPM280_DTBO.zip">GPM280 DTBO</a> and unzip it to the overlays directory. Edit config.txt and add the following lines to the end of the file:</li> </ul> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>dtparam=spi=off dtparam=i2c_arm=off gpio=0-27=a2 dtoverlay=dpi24 enable_dpi_lcd=1 display_default_lcd=1 dpi_group=2 dpi_mode=87 display_rotate=3 dpi_output_format=0x7F217 hdmi_timings=480 0 26 16 10 640 0 25 10 15 0 0 0 60 0 32000000 1 extra_transpose_buffer=2 hdmi_ignore_edid=0xa5000080 dtoverlay=gpm280-pwm-audio</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <h3>Prepare Batocera</h3> <ul> <li> <p>Turn on the Game Pi Micro. Once you are on the home screen, access the menu with the menu key and connect to your local Wi-Fi under Network Settings/Hostname<br /> Turn on security under System Settings/Security</p> </li> <li>Now reboot under Quit/Restart System. Write down your IP address under Network Settings. Now write down your password under System Settings/Security.</li> </ul> <h3>Finish Setup</h3> <p>Login to your Lexaloffle-Account and download the PICO-8 zip file for the Raspberry Pi to your downloads folder.</p> <p>Enter this command in <a href="https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701">Windows Terminal</a>, Mac Terminal or a Linux Terminal.</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>scp ~/Downloads/pico-8*_raspi.zip [email protected]_IP:/userdata/</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>It will ask for your password you noted earlier. Now type (and enter your password again)</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>ssh [email protected]_IP cd /userdata/ wget https://github.com/Pixelpunker/Pico-Host/releases/download/0.1/install-pico8.sh chmod +x install-pico8.sh ./install-pico8.sh</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>After successful installation the system reboots.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/mainp8.png" alt="" /> <p>Your new home screen.</p> <h2>Features</h2> <p>PICO-8 is properly installed with the following additional features:</p> <ul> <li>Sharp scaling</li> <li>Left and right triggers additionally function as ❎ and ⭕</li> <li>Press select for a screenshot</li> <li>Hold select for 0.5 s for a video</li> </ul> <img style="margin-bottom:16px" border=0 src="/media/24304/subp8.png" alt="" /> <p>Launch PICO-8 in splore mode by choosing 'console' You can also swap controls between &quot;Xbox style&quot; ❎⭕ (which is the PICO-8 default) or &quot;Nintendo Style&quot; ⭕❎.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/screensh.png" alt="" /> <p>Browse screenshots and gifs you took with the select key directly on your Game Pi Micro.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/BJgqjJ.gif" alt="" /> <p>Play PICO racer using the shoulder buttons.</p> <h3>Controls</h3> <img style="margin-bottom:16px" border=0 src="/media/24304/40_Shortcuts.png" alt="" /> <p>Have fun. The fantasy console is no longer a fantasy. It's in your hands.</p> https://www.lexaloffle.com/bbs/?tid=41308 https://www.lexaloffle.com/bbs/?tid=41308 Fri, 19 Feb 2021 22:46:09 UTC What's so great about PICO-8? <h2>Low-Rez pixel art is the great equalizer.</h2> <p>Anyone can do low-rez pixel art and make it look at least decent.</p> <p>There was a high school teacher that taught his students how to code homebrew games on the Game Boy Advance via emulators and a flash cart.</p> <p>While this teachers deserves applause, ultimately all the student projects looked amateurish next to commercial Game Boy Advance games.</p> <p>The fuze basic for the Nintendo Switch also appeals to students but it relies on a pre-packaged library of professional 3d assets. Simply reusing professional assets leads to a mish-mash of styles. Your own artwork next to these assets also looks unflattering.</p> <p>The low rez resolution and reduced color palette of pico-8 makes for more visual consistency. Yes professional pixel artists will still produce better looking games but the beginners art does not look like crap in comparison either.<br /> You can still be a one-man shop like in the days of bedroom coding in the UK of the eighties. Instead of being at least a artist/coder duo.</p> <h2>Experience all game genres in bite-sized chunks.</h2> <p>As today's big games are too time-consuming for many of us in the later stages of adulthood, PICO-8 games take 30 minutes to 2 hours to complete and can always be finished in one evening. What's more, they are so focused because of the size restrictions there is never any filler. Most of them are pure joy. Not a drag, not a grind.</p> <h2>Timeless.</h2> <p>The pico-8 community is vibrant. There are many passing trends, but pico-8 has been around for 6 years now.<br /> In a sense retro computing is timeless because if I read an issue of retro gamer from 2012 it features the same stories it does today. Once old, those simple games don't really get any older. They become classics. And so PICO-8 is timeless too.</p> <h2>PICO-8 vs vintage computing.</h2> <p>Some prefer to work with real hardware constraints and code for the C64, the Game Boy, the NES. But if most players run those games inside emulators anyway what's the point? PICO-8 also has arbitrary constraints, but they are more fun.</p> https://www.lexaloffle.com/bbs/?tid=41044 https://www.lexaloffle.com/bbs/?tid=41044 Sat, 02 Jan 2021 13:44:14 UTC A better OGA handheld: ZPG Pro Review <p><strong>Summary: great hardware, lackluster software.</strong></p> <img style="margin-bottom:16px" border=0 src="/media/24304/DB60E293-BBBD-4C53-9FB7-3CAA6124E247.jpeg" alt="" /> <h3>Intro</h3> <p>Retrododo gave a bit of a rant about the ZPG Pro which I think is a bit unfair because he was talking about the problems with chinese retrohandhelds in general and there are certainly shoddier ones than the ZPG Pro.</p> <h3>Hardware</h3> <p>The case looks very slick, nintendo-ish in quality. The analog stick is great, it is the same as in the Nintendo Switch. Very satisfying and ergonomic to hold with its rounded edges, the plastic feels great to the touch. The glass front of the screen has rounded curves at the edges which looks very premium, like a high-end smartphone. The display is top-notch. Even greater colors and brightness than my funnyplaying IPS mod on the original GBA.</p> <p>The buttons feel good but not great. The D-Pad has a good size. I hear that the silver metal version has more clicky buttons, but the newer rose gold metal version, the only version yet with built-in wifi, has the same buttons. I'd say they are halfway between mushy and clicky. I wish they had a bit more resistance.</p> <p>I was disappointed that my yellow plastic version has no wifi although it was originally planned. I hear that the new rose-gold metal version finally has wifi but I find the extra expense for the metal case a bit excessive. And I don't like metal cases anyway.</p> <h3>Software</h3> <p>The hardware is great. What is so-so is the software. First you need to find it. As there is no obvious manufacturer homepage I first found some builds on comments in youtube videos and finally, on rghandhelds.com. That server was so slow that it took more than 24 hours to download. Luckily I'm not on DSL with forced reconnects.</p> <p>I was also bummed that although the ZPG Pro is based on the same chip as the Odroid Go Advance I couldn't simply use images for that system. As they haven't open-sourced their OS fork yet you can't tell what changes they made. Well, you could manually compare their fork of EmuElec with EmuElec for the OGA if you are very bored.</p> <p>To get PICO-8 working was another story. The latest version of EmuElec for the ZPG Pro I found was 3.8, but 3.9 has added support for PICO-8 so I compared revisions on Github to find the changes they made in 3.9. Out of the box the image is blurry as hell, you seriously need to fix that if you want pixel-perfect.</p> <p>Finally out of the box the menu key was not mapped to anything. I fixed that in my config below (which is specific to the ZPG Pro and not other OGA based handhelds):</p> <p><strong>When you are done you have pixel-perfect PICO-8 goodness with 100 % compatibility and speed.</strong> Too bad about the wifi, so splore browses local files only.</p> <p>These two lines belong in your gamecontrollerdb.txt:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre># PICO-8 // add SDL2 game controller mappings to this file 19000000010000000100000001010000,odroidgo2_joypad,a:b1,b:b0,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,dpdown:b7,dpleft:b8,dpright:b9,dpup:b6,leftx:a0,lefty:a1,guide:b10,leftstick:b12,lefttrigger:b11,rightstick:b13,righttrigger:b14,start:b15,platform:Linux, 19000000010000000200000011000000,odroidgo2_joypad_v11&quot;,a:b0,b:b1,x:b3,y:b2,leftshoulder:b4,rightshoulder:b5,dpdown:b9,dpleft:b10,dpright:b11,dpup:b8,leftx:a0,lefty:a1,guide:b12,leftstick:b14,lefttrigger:b13,rightstick:b15,righttrigger:b16,start:b15,platform:Linux,</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=40686 https://www.lexaloffle.com/bbs/?tid=40686 Mon, 07 Dec 2020 12:41:14 UTC The most pico PICO-8 handheld yet: a review of the RG280V <img style="margin-bottom:16px" border=0 src="/media/24304/IMG_2716.jpg" alt="" /> <p>This month a new handheld was released: the <strong>Anbernic RG280V</strong>. With it's diminuitive form factor and 2.8 inch screen is it the most pico PICO-8 handheld yet?</p> <p>It's driven by a slightly underpowered 1 Ghz chip, the same as is used in the RG350 or even the GCW Zero from 2013. Not enough for more advanced consoles but for emulating handhelds like Game Boy Color or Neo Geo Pocket it's just right. And with the new <a href="https://0xcafed00d.itch.io/tac08-rg350">Tac08 emulator</a> it can even run PICO-8 games pretty faithfully.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/IMG_2723.jpg" alt="" /> <p>The screen looks great, it has an even greater resolution than the RG350 so scaling issues are almost non-existent. The colors are vibrant. Build quality is top notch. The controls feel very satisfying. Although it's so small compared to a Xbox controller, the actual D-Pad is almost the same size.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/IMG_2726.jpg" alt="" /> <p>The only drawbacks at the moment are some sound issues and compatibility with the PICO-8 library is not at 100 % yet. Still, the emulator is making great progress and it is only a matter of time before these issues will be resolved.</p> <p><em>Note</em>: it is recommended to install the <a href="https://github.com/WerWolv/pwswdpp/releases">pwswdpp extension</a> for the Opendingux OS to enable several shortkeys like screen scaling, brightness and a standby mode. Also download a backup copy of the OS from rghandhelds.com so you can use a brand-name sd card.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/IMG_2728.jpg" alt="" /> https://www.lexaloffle.com/bbs/?tid=38949 https://www.lexaloffle.com/bbs/?tid=38949 Sun, 29 Nov 2020 21:19:55 UTC Gamer mag pico-8 special <p>There&lsquo;s a great gamer &amp; game developer magazine called <strong>wireframe</strong>. Issue 12 contains a PICO-8 special.</p> <p><a href="https://wireframe.raspberrypi.org/issues/12">Wireframe #12 PICO-8 Special</a></p> <p>For some reason the PDF is free which is great. It&lsquo;s very much in the style of Edge magazine. Very polished &amp; professional. It has great pointers for getting started. Check it out pico-people.</p> https://www.lexaloffle.com/bbs/?tid=39051 https://www.lexaloffle.com/bbs/?tid=39051 Sat, 01 Aug 2020 06:41:15 UTC WiringPi removed <p>This is not a bug per se but still has the potential to break PICO-8.</p> <p>I was surprised to learn that the most recent version of Buildroot has completely removed the WiringPi package. It says:</p> <p>&gt; ### BR2_PACKAGE_WIRINGPI: </p> <p>&gt; The author of wiringpi has deprecated the package, and completely removed the git tree that was serving the sources, with this message: </p> <p>&gt; Please look for alternatives for wiringPi</p> <p>Apparently the author has had enough: <a href="http://wiringpi.com/wiringpi-deprecated/">wiringPi &ndash; deprecated&hellip;</a>. This has obvious implications for PICO-8 as it currently depends on WiringPi. I hope <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a> is aware of this.</p> https://www.lexaloffle.com/bbs/?tid=33811 https://www.lexaloffle.com/bbs/?tid=33811 Mon, 20 Jul 2020 19:02:43 UTC Pocket Popcorn Computer <h1>The Pocket Popcorn Computer</h1> <p>There's a new kickstarter for the <a href="https://pocket.popcorncomputer.com/">Pocket Popcorn computer</a>, a small linux handheld that builds on designs from the original PocketCHIP. This time the keyboard looks quite useable and it has a high-quality 5 inch display. With it's full HD resolution we could display PICO-8 with a perfect 8x scale. What's more it seems it could be binary compatible with the PocketCHIP build of PICO-8. By the way, the red color below is from the configurable RGB lighting and could be any color you like.</p> <img style="margin-bottom:16px" border=0 src="/media/24304/1.1411.720.84eefd92.png" alt="" /> <p>Currently there is a discussion for the right keyboard layout, if some of you could <a href="https://community.popcorncomputer.com/t/pocket-p-c-keyboard-layout/204">post their suggestions here</a>. I think we need a better cursor key layout that is suitable for gaming.</p> <p>The device is slated for an August 2020 release. Well. Let's hope.</p> https://www.lexaloffle.com/bbs/?tid=36636 https://www.lexaloffle.com/bbs/?tid=36636 Tue, 28 Jan 2020 21:52:23 UTC Fixing blurry pixels in Windows <p>After upgrading to Pico-8 0.1.12C I noticed pixels were a bit blurry, even with the explicit option -pixel_perfect 1</p> <p>Well, it seems the reason is not PICO-8 but a recent Windows 10 update. I have systemwide DPI set to 125 % and Windows therefore tries to scale the PICO-8 window a bit. </p> <p>I fixed that by right clicking on the PICO-8 shortcut, settings, Compatibility, Button &quot;Change High DPI-Setting&quot;.</p> <p>In the following dialog turn on both checkboxes:</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/24304/227695ac-3d57-466b-84aa-14ea3c54088d.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=35573 https://www.lexaloffle.com/bbs/?tid=35573 Sun, 06 Oct 2019 13:53:33 UTC iPhone SE: the perfect PICO-8 console? <h1>PICO-8 iPhone Shell</h1> <p>This is a work-in-progress iPhone Shell for PICO-8 featuring </p> <ul> <li>sound</li> <li>real gamepad controls (digital <em>and</em> analog)</li> <li>pixel-perfect scaling</li> <li>low latency (run loop reading input runs 60 times a second)</li> </ul> <p><strong>Note:</strong> I am abandoning this project because I now use the ClockworkPi Gameshell.</p> <img style="margin-bottom:16px" border=0 src="https://www.lexaloffle.com/bbs/files/24304/20180207_120439278_iOS.jpg" alt="" /> <p>It uses the Gamepad API that was introduced with iOS 11 and was tested with the following MiFI-Controllers:</p> <table> <thead> <tr> <th style="text-align: left;">Controller</th> <th style="text-align: left;">Working</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Kanex GoPlay Sidekick</td> <td style="text-align: left;">Yes</td> </tr> <tr> <td style="text-align: left;">SteelSeries Stratus</td> <td style="text-align: left;">Yes after Firmware Update</td> </tr> <tr> <td style="text-align: left;">Logitech PowerShell Controller</td> <td style="text-align: left;">No</td> </tr> </tbody> </table> <p>No more touch support at the moment.</p> <p>On the iPhone SE you have pixel-perfect scaling. Since the iPhone SE's display is 640 pixels wide you can do a 5x integer scale for <em>razor sharp pixels</em>. For a more full-screen experience turn the phone sideways. </p> <p>Click to start the game (necessary to enable audio).</p> <p>You can test it out on your phone:</p> <p><a href="https://pixelpunker.github.io/pico8-iphone/iphone.html">https://pixelpunker.github.io/pico8-iphone/iphone.html</a></p> <h2>To Change the Game</h2> <p>Load your PICO-8 cart and export it as html with this command</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>export mygame.html</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Keep the mygame.js file and throw away the other files. Change line 66 in iPhone.html to reference your exported cart.</p> <h2>Todo:</h2> <ul> <li>Use new fullscreen API in iOS 12/13</li> <li>Test other bluetooth controllers in iOS 13</li> <li>Does saving to home screen work now? (Pinning the website to the homescreen used to disable Gamepad functionality)</li> </ul> https://www.lexaloffle.com/bbs/?tid=35534 https://www.lexaloffle.com/bbs/?tid=35534 Fri, 04 Oct 2019 12:52:15 UTC Performance: cls() vs. rectfill() <p>At the beginning of their draw cycle some carts use</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>cls() rectfill(0,0,127,127,color)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>instead of </p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>cls(color)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Is that for performance reasons? Does it perform better if you call rectfill with your background color? Or is it because the color option for cls was introduced in a later version of pico-8?</p> https://www.lexaloffle.com/bbs/?tid=33812 https://www.lexaloffle.com/bbs/?tid=33812 Sun, 07 Apr 2019 13:51:05 UTC