swap library and game-code tabs
This commit is contained in:
parent
fab59048e4
commit
b503e41add
46
picogora.p8
46
picogora.p8
@ -1,6 +1,29 @@
|
|||||||
pico-8 cartridge // http://www.pico-8.com
|
pico-8 cartridge // http://www.pico-8.com
|
||||||
version 32
|
version 32
|
||||||
__lua__
|
__lua__
|
||||||
|
-- library
|
||||||
|
|
||||||
|
black = 0
|
||||||
|
dark_blue = 1
|
||||||
|
dark_purple = 2
|
||||||
|
dark_green = 3
|
||||||
|
brown = 4
|
||||||
|
dark_gray = 5
|
||||||
|
light_gray = 6
|
||||||
|
white = 7
|
||||||
|
red = 8
|
||||||
|
orange = 9
|
||||||
|
yellow = 10
|
||||||
|
green = 11
|
||||||
|
blue = 12
|
||||||
|
indigo = 13
|
||||||
|
pink = 14
|
||||||
|
peach = 15
|
||||||
|
|
||||||
|
function print_ctr(s,y,c)
|
||||||
|
print(s,64 - #s * 2,y,c)
|
||||||
|
end
|
||||||
|
-->8
|
||||||
-- game code
|
-- game code
|
||||||
|
|
||||||
bg = 12
|
bg = 12
|
||||||
@ -100,29 +123,6 @@ function draw_drop(drop)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-->8
|
|
||||||
-- library
|
|
||||||
|
|
||||||
black = 0
|
|
||||||
dark_blue = 1
|
|
||||||
dark_purple = 2
|
|
||||||
dark_green = 3
|
|
||||||
brown = 4
|
|
||||||
dark_gray = 5
|
|
||||||
light_gray = 6
|
|
||||||
white = 7
|
|
||||||
red = 8
|
|
||||||
orange = 9
|
|
||||||
yellow = 10
|
|
||||||
green = 11
|
|
||||||
blue = 12
|
|
||||||
indigo = 13
|
|
||||||
pink = 14
|
|
||||||
peach = 15
|
|
||||||
|
|
||||||
function print_ctr(s,y,c)
|
|
||||||
print(s,64 - #s * 2,y,c)
|
|
||||||
end
|
|
||||||
__gfx__
|
__gfx__
|
||||||
000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
00000000aaa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
00000000aaa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
Loading…
Reference in New Issue
Block a user