From 6ea7bd8af3c4782a1a6f12bc5c54d6b1c4ee715f Mon Sep 17 00:00:00 2001 From: James Turk Date: Thu, 9 Mar 2023 00:01:09 -0600 Subject: [PATCH] nearly done --- snowdogs.p8 | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/snowdogs.p8 b/snowdogs.p8 index 1b70a62..2deda16 100644 --- a/snowdogs.p8 +++ b/snowdogs.p8 @@ -9,6 +9,7 @@ function _init() create_particles() mode = "title" goal = 10000 + music(0) end function _update() @@ -18,13 +19,13 @@ function _update() elseif mode == "cast" then cast_upd() elseif mode == "game" then + music(-1, 300) sled_upd() trees_upd() npc_upd() end end - function _draw() if mode == "title" then title_dr() @@ -80,7 +81,7 @@ function title_upd() mode = "game" end - if t() > 10 and t() < 16 then + if t() > 10 and t() < 20 then mode = "cast" end end @@ -112,6 +113,7 @@ function cast_dr() print("dogs", 38, 110, 1) sled_dr() + draw_heart(100, 80) draw_fan(100, 90) print("the fan", 90, 120) @@ -142,7 +144,7 @@ function cast_upd() mode = "game" end - if t() > 16 then + if t() > 20 then mode = "title" end end @@ -664,11 +666,15 @@ __map__ 0000000000000000010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 __sfx__ -000f00001d0501f0502203024030270302703027030220302203022030240302703027030240302203024030290302903027030240302203024030290302b030270302403022030290302b0302b0302703022030 -300f00001340227402274022953227402274022740229532004020000200002295320000200002295322953200002000020000229532000020000200002295320000200002000022953200002000022953229532 -001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -0102000000107001070010700107001070a1570a1570a1570a1570a1570a1570a1570c1570c1570f1570f157111571315716157181571b1571d1571f1571f1571d15700107001070010700107001070010700107 +001200001d0501f0502203024030270302703027030220302203022030240302703027030240302203024030290302903027030240302203024030290302b030270302403022030290302b0302b0302703022030 +301200001340227402274022953227402274022740229532004020000200002295320000200002295322953200002000020000229532000020000200002295320000200002000022953200002000022953229532 +000200000000000000000000000000000011500215002150041500515006150081500c1500e150101501315017150191501d1502015021150261502c1502f1500000000000000000000000000000000000000000 +0003000000107001070010700107001070a157095570a157085570a157095570a1570b5570c1570d5570f15710557131571155718157145571d157175571f1571355700107001070010700107001070010700107 0004000000600006000060000600186501d65022650276502b6502f6502f6502c6502c6502c6502b6502b6502965027650236501e6501c6500060000600006000060000600006000060000600006000060000600 +21060000005001655016550165501b5501b55018550185501d5501d55016550165501b5501b5501655016550225502255024550245501d5501d55027550275501d5501d550275502755018550185501b5501b550 +000600000070200702007020f75213752187521c75220752327522375223752207521d7521a7521775214752127523075216752197521c75222752277522a7522c7523475223752207521e752007020070200702 +010600000000018722186221862218622277302a7302773018622186221862218622297302b7302973019622196221962219622277302a73027730176221762217622176222f732307303173031730307302e730 __music__ -00 00014344 +01 00404344 +02 00014344