From b503e41addd3590022eb5b9692ca406161152081 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Thu, 10 Jun 2021 16:54:45 -0400 Subject: [PATCH] swap library and game-code tabs --- picogora.p8 | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/picogora.p8 b/picogora.p8 index 1a46034..47379a2 100644 --- a/picogora.p8 +++ b/picogora.p8 @@ -1,6 +1,29 @@ pico-8 cartridge // http://www.pico-8.com version 32 __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 bg = 12 @@ -100,29 +123,6 @@ function draw_drop(drop) 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__ 000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000aaa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000