PICO-8: Difference between revisions

From Fantasy Console Wiki
Jump to navigation Jump to search
temp>MineRobber
(Create PICO-8 page)
 
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''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>
[[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>
 
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 Fantasy Console", https://www.lexaloffle.com/pico-8.php</ref>
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" />


== Programming ==
== Programming ==


PICO-8 games are programmed in a special flavor of the Lua programming language. Programs are limited to 8192 "tokens". Tokens are:
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 programs are limited to 8192 "tokens". Tokens are:


* Literal values, such as `nil`, booleans, strings, or numbers
* Literal values, such as <code>nil</code>, 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 `local` and `end`
* Keywords except <code>local</code> and <code>end</code>


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>
In addition, programs cannot be larger than 64 KB, and must compress to 15 KB or smaller.<ref name="pico8manual" />


== 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.<ref name="pico8manual">"PICO-8 Manual", https://www.lexaloffle.com/dl/docs/pico-8_manual.html</ref>
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.
 
== 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 ==

Latest revision as of 22:48, 29 March 2024

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."[1]

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[edit]

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.[1]

Programming[edit]

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.[2]

PICO-8 programs are limited to 8192 "tokens". Tokens are:

  • Literal values, such as nil, booleans, strings, or numbers
  • Variables
  • Operators
  • Opening brackets (closing brackets are not counted as tokens)
  • Keywords except local and end

In addition, programs cannot be larger than 64 KB, and must compress to 15 KB or smaller.[2]

Publishing[edit]

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.

Education Edition[edit]

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.[3] 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[edit]

References[edit]