Editing PICO-8

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[File:PICO-8 logo.png|thumb|right|PICO-8 logo]] '''PICO-8''' is a fantasy console created by [https://www.lexaloffle.com/ Lexaloffle Games]. The first to describe itself as a "fantasy console", PICO-8's success led to many other fantasy consoles being created in the years since. The harsh limitations of PICO-8 were specifically chosen, according to its website, to be "fun to work with, [...] encourage small but expressive designs, and to give cartridges made with PICO-8 their own particular look and feel."<ref name="pico8site">"PICO-8 Fantasy Console", https://www.lexaloffle.com/pico-8.php</ref>
[[File:PICO-8 logo.png|thumb|right|PICO-8 logo]] '''PICO-8''' is a fantasy console created by Lexaloffle Games. The first to describe itself as a "fantasy console", PICO-8's success led to many other fantasy consoles being created in the years since. The harsh limitations of PICO-8 were specifically chosen, according to its website, to be "fun to work with, [...] encourage small but expressive designs, and to give cartridges made with PICO-8 their own particular look and feel."<ref name="pico8site">"PICO-8 Fantasy Console", https://www.lexaloffle.com/pico-8.php</ref>
 
PICO-8 is one of the few fantasy consoles that is not free for the basic version, however, a free-to-use educational version also exists without some of the game browsing features.


== Capabilities ==
== Capabilities ==


PICO-8 games are limited to a 128-by-128 pixel display with 16 colors available to be used out of a total of 32. In addition, games can take advantage of a 4-channel synth for music and sound effects, a 128x32 map with built-in functions for drawing and manipulation, and 256 8x8 sprites.<ref name="pico8site" />
PICO-8 games are limited to a 128-by-128 pixel display with 16 colors available to be used out of a total of 32. In addition, games can take advantage of a 4-channel synth for music and sound effects, a 128x32 map with built-in functions for drawing and manipulation, and 256 8x8 sprites.<ref name="pico8site">"PICO-8 Fantasy Console", https://www.lexaloffle.com/pico-8.php</ref>


== Programming ==
== Programming ==


PICO-8 games are programmed in a special flavor of the Lua programming language. It does not include the Lua standard libraries, but it does provide functions that serve similar purposes.<ref name="pico8manual">"PICO-8 Manual", https://www.lexaloffle.com/dl/docs/pico-8_manual.html</ref>
PICO-8 games are programmed in a special flavor of the Lua programming language. Programs are limited to 8192 "tokens". Tokens are:
 
PICO-8 programs are limited to 8192 "tokens". Tokens are:


* Literal values, such as <code>nil</code>, booleans, strings, or numbers
* Literal values, such as `nil`, booleans, strings, or numbers
* Variables
* Variables
* Operators
* Operators
* Opening brackets (closing brackets are not counted as tokens)
* Opening brackets (closing brackets are not counted as tokens)
* Keywords except <code>local</code> and <code>end</code>
* Keywords except `local` and `end`


In addition, programs cannot be larger than 64 KB, and must compress to 15 KB or smaller.<ref name="pico8manual" />
In addition, programs cannot be larger than 64 KB, and must compress to 15 KB or smaller.<ref name="pico8manual">"PICO-8 Manual", https://www.lexaloffle.com/dl/docs/pico-8_manual.html</ref>


== Publishing ==
== Publishing ==


PICO-8 games can be published on the Lexaloffle BBS, which can be accessed within PICO-8 using the "SPLORE" cart explorer. Additionally, PICO-8 games can be exported to HTML or to binaries for Windows, Mac, and Linux.
PICO-8 games can be published on the Lexaloffle BBS, which can be accessed within PICO-8 using the "SPLORE" cart explorer. Additionally, PICO-8 games can be exported to HTML or to binaries for Windows, Mac, and Linux.<ref name="pico8manual">"PICO-8 Manual", https://www.lexaloffle.com/dl/docs/pico-8_manual.html</ref>
 
== Education Edition ==
 
In April 2022, Zep released a free-to-use educational version of PICO-8 that supports creating games, as well as saving and loading standard PICO-8 cartridges.<ref name="pico8edu">"PICO-8 Education Edition, https://www.lexaloffle.com/bbs/?tid=47278</ref> It also supports loading carts directly from an encoded URL of 2040 characters or less, and can export URLs for sharing.
 
It is missing the "SPLORE" functionality, so games cannot be freely browsed and must be manually loaded.
 
== External Links ==
 
* [https://www.lexaloffle.com/pico-8.php Official website]
* [https://pico-8.fandom.com/wiki/Pico-8_Wikia PICO-8 Wiki]
* [https://www.pico-8-edu.com/ PICO-8 Education Edition]
* [https://cheatsheets.one/tech/pico-8 PICO-8 Cheat Sheet]
* [https://www.pico-8-edu.com/?c=AHB4YQMCAdLrweIDPMAbHP8IRfME2d3J6c0zHP8E3fVl_hJL0UvckkRJEtsgaG676qjsrKOSm4qiDRQDHuAdZp5hRC4on6iaAfGQsAijPq2qsKruqoLuIZZctfQCZdm-xFVntUGYj81lt3U_yNtqLsmmhjZWkik-9P2NNyUGe4AnGBldm1lYPfB9yrXY97BF0pbJ3GAwN1XPKZXYfwJh1UiWhd5xhsi4VAY1xtVNzY2kaTQrMrRTxWUYrIy9ijRJVLZuidRO1rZG1_QDBgVCpYrETuxSZbtjk-oI95mgKZyUplrhvGF0IG-rUBZBImBrtG7lFGyUOEAm4cxMFWFscE0sXWt1sraW5TNjqgwz7Vg6shZYpW2CtWlldgxJDgwLMxghMYojskaVaU6KrTDHgdWF40bpjCYQlI6sJzuLM-KNzxAtNN2K7EMzoaygKrAxODiwlLZhI-qwlBltIAlunPLWhemqzuDE_MjcQKOhkoxtqUVMrM0kZTAUxVtHluXc0s5SvtA8zk4gHbFaG2tCFSYZNfcLmWvM-PE_Hsk7a5X3XP0wropcKYo0tbM3sLHwFlqUNzxGFw1ko2OVAkmkYv5Mr43MRLVIwNhYo1RXaC_ZAA==&g=AHwCHw-wwXwCHgHQHw-wpHgHQnQ3Aw-wpXQ3AA3ABHBw-wq3ABHBA3Dw-wq3DA3Cw-wr3CAHwAHAHw-wqHQHAH URL Cart Demo] by Zep


== References ==
== References ==
Please note that all contributions to Fantasy Console Wiki are considered to be released under the Creative Commons Zero (Public Domain) (see FCWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)