Imported from Joplin
This commit is contained in:
5
pico-8/map-editor.md
Normal file
5
pico-8/map-editor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Map Editor
|
||||
|
||||
- Max size 128/64
|
||||
- Lower half shared with last two tabs of sprites
|
||||
- Sprite #0 is alway an "eraser" for map tiles
|
||||
5
pico-8/programming.md
Normal file
5
pico-8/programming.md
Normal file
@@ -0,0 +1,5 @@
|
||||
Programming
|
||||
|
||||
- Tables without keys are auto assigned numbers as keys
|
||||
- lead table name with pound returns the number of items in table. *ex: Items={"sword", "cloak", Boots} .... #items would return 3
|
||||
- Tables start with 1 not 0
|
||||
26
pico-8/shortcuts.md
Normal file
26
pico-8/shortcuts.md
Normal file
@@ -0,0 +1,26 @@
|
||||
Shortcuts
|
||||
|
||||
# Code Editor
|
||||
|
||||
- **Alt-Up/Down -** Go up/down a funion at a time
|
||||
- **Ctrl-L -** Goto line number
|
||||
- **Ctrl-Up/Down -** Move to the Very top/bottom
|
||||
- **Ctrl-Left/Right -** Move left/right by one word
|
||||
- **Ctrl-F -** Find
|
||||
- **Ctrl-G -** Find Again
|
||||
- **Ctrl-D -** Duplicate current line
|
||||
- **Tab/Shift-Tab -** Indent/un-indent selected lines
|
||||
- **Ctrl-Tab/Shift-Ctrl-Tab -** Move to next/previous code tab
|
||||
|
||||
# Sprite Editor
|
||||
- **H/V -** Flip sprite horizontally/vertically
|
||||
- **R -** Rotate clockwise
|
||||
- **Q/W or -/= -** Move to the previous/next sprite
|
||||
- **Shift-Q/Shift-W or _/+ -** Move one row of sprites back/forward
|
||||
- **1/2 -** Move to the previous/next color
|
||||
- **Arrow Keys -** - Loop
|
||||
- **Mousewheel / </> -** zoom in/out
|
||||
- **Space -** Pan
|
||||
- **RIght Click -** Select color under Mouse
|
||||
|
||||
# Map Editor
|
||||
16
pico-8/snipppets.md
Normal file
16
pico-8/snipppets.md
Normal file
@@ -0,0 +1,16 @@
|
||||
Snipppets
|
||||
|
||||
# Draw Target
|
||||
Function Draw_Target(x,y)
|
||||
circfill (x,y,16,8)
|
||||
circfill (x,y,12,7)
|
||||
circfill (x,y,8,8)
|
||||
circfill (x,y,4,7)
|
||||
|
||||
# Move Player
|
||||
Function Move_Player()
|
||||
If (BTN(0)) PX-=1 --Left
|
||||
If (BTN(1)) PX+=1 --Right
|
||||
If (BTN(2)) PY-=1 --Up
|
||||
If (BTN(3)) PY+=1 --Down
|
||||
END
|
||||
17
pico-8/sprite-editor.md
Normal file
17
pico-8/sprite-editor.md
Normal file
@@ -0,0 +1,17 @@
|
||||
Sprite Editor
|
||||
|
||||
# Notes
|
||||
- Allows 256 8x8 sprites
|
||||
- Last two tabs shared with lower half of map
|
||||
-
|
||||
# Shortcutes
|
||||
- **H/V -** Flip sprite horizontally/vertically
|
||||
- **R -** Rotate clockwise
|
||||
- **Q/W or -/= -** Move to the previous/next sprite
|
||||
- **Shift-Q/Shift-W or _/+ -** Move one row of sprites back/forward
|
||||
- **1/2 -** Move to the previous/next color
|
||||
- **Arrow Keys -** - Loop
|
||||
- **Mousewheel / </> -** zoom in/out
|
||||
- **Space -** Pan
|
||||
- **RIght Click -** Select color under Mouse
|
||||
-
|
||||
11
pico-8/templates.md
Normal file
11
pico-8/templates.md
Normal file
@@ -0,0 +1,11 @@
|
||||
Templates
|
||||
|
||||
# Empty
|
||||
Function _Init()
|
||||
End
|
||||
|
||||
Function _Update()
|
||||
End
|
||||
|
||||
Function _Draw()
|
||||
End
|
||||
Reference in New Issue
Block a user