Skip to content

Instantly share code, notes, and snippets.

@Firedingo
Last active February 28, 2019 04:01
Show Gist options
  • Save Firedingo/eebb92b0972343e7d56a08685c89f70d to your computer and use it in GitHub Desktop.
Save Firedingo/eebb92b0972343e7d56a08685c89f70d to your computer and use it in GitHub Desktop.
A quick reference guide to PICO-8 that can be used by beginners
____ ___________ _______ ________ ______
| \ | / \ / \ / \
| | | | | | | |
|____/ | | | | ________ \______/
| | | | | / \
| | | \ / | |
| _____|_____ \_______/ \______/ \______/
__________________________________________________________________________________________________________________________
Basic Commands
--------------------------------
-ls
-mkdir
-help
-load
-run
-splore
-shutdown
Extended Basic Commands
------------------------------
-Install_demos
-cd
-save
-resume
-reboot
-keyconfig
-ctrl+l
-Esc key to toggle editor view
-Toggling Editor View WIL NOT cause you to lose your work
-alt+enter to toggle fullscreen
-alt+f4 or ctrl+e to fastquit
-Note That the Mouse Works in the Editor Screen
Editor
-----------------------
From left to right:
-Lua Code Editor
-Sprite Editor
-Map Editor
-Sfx Editor
-Music Editor
![https://gist.github.com/Firedingo/eebb92b0972343e7d56a08685c89f70d#file-pico_editor_ui-png](https://gist.github.com/Firedingo/eebb92b0972343e7d56a08685c89f70d/raw/d0cb2acbc1001a7a431e59cd0016934788664960/pico_editor_ui.png)
Functions
----------------
Main Functions
--------------
_init()
END
initialization routine which runs on program startup
_update()
END
called once per update, updates happen once per 30 FPS
_draw()
END
called every frame that's visible
Other Functions
-----------------
CLS()
clears the screen
SPR(sprite number, x position, y position, x width, y height, flip x, flip y)
draws the sprite, arguments 4-7 are optional. flip x & y are boolean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment