TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PX8 – A PICO-8 compatible fantasy console written in Rust

207 pointsby felipebuenoabout 8 years ago

7 comments

Ursiumabout 8 years ago
To understand why some people (including myself) are going nuts about Pico-8, here&#x27;s one random feature: when you save your virtual cartridge as &#x27;mygame.p8.png&#x27; it automatically generates a neat cartridge png representation with the screenshot of your choice from the game. Like so: <a href="http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;bbs&#x2F;cposts&#x2F;1&#x2F;10022.p8.png" rel="nofollow">http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;bbs&#x2F;cposts&#x2F;1&#x2F;10022.p8.png</a>.<p>Big deal you say! well, check this out: this png IS the game. It embeds the executable written in LUA. Try it for yourself - take the png I posted above, load it in pico8 then press escape: voila, full source code, sprite sheet, tracker data, etc. Type &quot;RUN&quot; and the game plays.<p>Pico8 (and its cousin voxatron) also contain an online cartridge browser that lets you discover and learn from everyone who contributed a cartridge.<p>Pico-8 is choke-full of these incredible little details that make all the difference. Unfortunately it&#x27;s not open source itself, which some find a bit odd considering it encourages the open sourcing of the cartridge written for it. Good to see some projects such as TIC-80, LIKO-12 and now PX8 mixing things up a bit, that said it&#x27;s still a nascent environment and let&#x27;s not forget it&#x27;s very much the arbitrary, sometimes amusing limitations imposed by the lead dev that makes these things fun.
评论 #14176129 未加载
评论 #14176055 未加载
评论 #14178141 未加载
ld38_ninjaabout 8 years ago
Just a quick heads up. Ludum Dare 38 is happening this weekend (theme: &quot;a small world&quot;). And I&#x27;ve certainly noticed an uptick in gamedevs targeting PICO-8 and SCUMM-8 platforms. Rather apropos given the theme, no?<p>A few Gifs of WIPs:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;Huginn18&#x2F;status&#x2F;855857089960345600" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;Huginn18&#x2F;status&#x2F;855857089960345600</a><p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;quaIiaa&#x2F;status&#x2F;855878802563633152" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;quaIiaa&#x2F;status&#x2F;855878802563633152</a><p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;topkeki69&#x2F;status&#x2F;855743127616970752" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;topkeki69&#x2F;status&#x2F;855743127616970752</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=dISx_dR6kLI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=dISx_dR6kLI</a>
评论 #14177244 未加载
lelandbateyabout 8 years ago
Wow, I&#x27;ve never heard of the PICO-8 before, but it&#x27;s <i>fantastic</i>! This is exactly what I&#x27;ve always wanted, some ultra-simplified game console&#x2F;emulator that&#x27;s easy to create content for and easy to distribute that content. People have even built cool demoscene-esque content for it![2] And some of the games people have made are fantastic, and you can play them in your browser here: <a href="http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;bbs&#x2F;?mode=carts&amp;cat=7&amp;sub=2&amp;orderby=rating" rel="nofollow">http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;bbs&#x2F;?mode=carts&amp;cat=7&amp;sub=2&amp;orderb...</a><p>Also, I was a bit confused by the term &quot;fantasy console&quot; so here&#x27;s what I&#x27;ve been able to learn with some reading: it seems the PICO-8 is a kind of ultra-simple game VM with it&#x27;s original implementation being in HTML&#x2F;JS with access being sold by the creator[0]. At some point, the PICO-8 vm was ported by its creator to work on the CHIP computer, and now the PICO-8 VM is pre-installed on all CHIP computers[1].<p>What the OP link is for is an open source implementation of the PICO-8 VM in Rust. This isn&#x27;t the only open source implementation of PICO-8.<p>[0] - <a href="http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;pico-8.php" rel="nofollow">http:&#x2F;&#x2F;www.lexaloffle.com&#x2F;pico-8.php</a><p>[1] - <a href="https:&#x2F;&#x2F;getchip.com&#x2F;pages&#x2F;chip" rel="nofollow">https:&#x2F;&#x2F;getchip.com&#x2F;pages&#x2F;chip</a><p>[2] - <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=QTvnYkmtleI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=QTvnYkmtleI</a>
评论 #14175343 未加载
评论 #14175507 未加载
评论 #14176154 未加载
Grognakabout 8 years ago
My first thought is that such a focused environment for the code to run in might make this a helpful tool to teach kids programming in a fun and engaging way. I sincerely believe that game creation is the single best vector to get children interested in programming, and this seems like a cool possible vector. (Python is a great beginning language!)
评论 #14175748 未加载
评论 #14175843 未加载
dsnuhabout 8 years ago
Be sure to get the PICO-8 bundled with Voxatron for only a few bucks more!
felipebuenoabout 8 years ago
In case anyone is interested in learning more about PICO-8 and it&#x27;s &quot;clones&quot;, I started one of those &#x27;awesome lists&#x27; for that last year.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;felipebueno&#x2F;awesome-PICO-8&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;felipebueno&#x2F;awesome-PICO-8&#x2F;</a>
Clownshoesmsabout 8 years ago
I&#x27;m reminded of Intellivision for some reason. LibGDX is awesome for 2d mucking around too.