PICO-8: Difference between revisions

From Fantasy Console Wiki
Jump to navigation Jump to search
temp>ImpostorizedSFLS
(logo image)
temp>PAPERMOON SO
(Cleaned up reference usage slightly, added link to the Lua website, and added a note that PICO-8 doesn't include the standard libraries but provides functions that do similar things.)
Line 3: Line 3:
== 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 [http://www.lua.org 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 `nil`, booleans, strings, or numbers
Line 15: Line 17:
* Keywords except `local` and `end`
* 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">"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.<ref name="pico8manual" />


== References ==
== References ==

Revision as of 04:05, 25 May 2022

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]

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

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

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

References