From 516fc5251744d5f1935ffbca91c9f967ce464190 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 16 Apr 2023 18:51:01 -0500 Subject: [PATCH] scraps --- games/ocean.p8 | 82 ++++++++++++++++--- yoyodyne.games/config.toml | 1 - .../content/posts/yoyodyne-intro-screen.md | 2 +- 3 files changed, 71 insertions(+), 14 deletions(-) diff --git a/games/ocean.p8 b/games/ocean.p8 index c4a5d99..8c8344f 100644 --- a/games/ocean.p8 +++ b/games/ocean.p8 @@ -40,29 +40,87 @@ function draw_title() end function update_title() - if scene_time() > 2 then - start_scene("menu") + if scene_time() > 0 then + start_scene("ocean") end end _scenes.title = {start=nil, draw=draw_title, update=update_title} +function start_ocean() + ocean_wind_x = 0 + ocean_wind_y = 0 +end + function draw_ocean() - cls() + cls(1) + local ocean_anim = {0, 0, 0, 0, 0, 1, 2, 3, 4} + -- if ocean_wind_x < 0 then + -- end + for x=0,16 do + for y=0,16 do + + end + end end function update_ocean() + if btn(0) then + ocean_wind_x = -1 + elseif btn(1) then + ocean_wind_x = 1 + else + ocean_wind_x = 0 + end + if btn(2) then + ocean_wind_y = -1 + elseif btn(3) then + ocean_wind_y = 1 + else + ocean_wind_y = 0 + end end -_scenes.menu = {start=nil, draw=draw_menu, update=nil} +_scenes.ocean = {start=nil, draw=draw_ocean, update=update_ocean} __gfx__ -11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111171111111117111111111711111111170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111117111111111171111111117111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111171111111117111111111171111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -11111111111111111111111111111111111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +11111111111111111111111111111111111111111111111111111111111111111711111111111111111111111111111111111111000000000000000000000000 +11111111171111111117111111111711111111171111111111111111111117111111111111111111111111111111111111111111000000000000000000000000 +11111111111111111111111111111111111111111111111111111111171111111111711111111111111111111111111111111111000000000000000000000000 +11111111111111111111111111111111111111111111111111111711111111111111111111111111111111111111111111111111000000000000000000000000 +11111111117111111111171111111117111111111111111117111111111111111111111111111111111111111111111111111111000000000000000000000000 +11111111111111111111111111111111111111111111171111111111111171111111111111111111111111111111111111111111000000000000000000000000 +11111111171111111117111111111171111111111711111111171111111111111111111111111111111111111111111111111111000000000000000000000000 +11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000 +ffffffffffffffff111111111111ffffffff1111ffff111111111111111111111111ffff00000000000000000000000000000000000000000000000000000000 +ffffffffffffffff111111111111ffffffff1111fff11111111111111111111111111fff00000000000000000000000000000000000000000000000000000000 +ffffffffffffffff111111111111ffffffff1111ff1111111111111111111111111111ff00000000000000000000000000000000000000000000000000000000 +ffffffffffffffff111111111111ffffffff1111f111111111111111111111111111111f00000000000000000000000000000000000000000000000000000000 +ffffffff11111111ffffffff1111ffffffff1111111111111111111ff11111111111111100000000000000000000000000000000000000000000000000000000 +ffffffff11111111ffffffff1111ffffffff111111111111111111ffff1111111111111100000000000000000000000000000000000000000000000000000000 +ffffffff11111111ffffffff1111ffffffff11111111111111111ffffff111111111111100000000000000000000000000000000000000000000000000000000 +ffffffff11111111ffffffff1111ffffffff1111111111111111ffffffff11111111111100000000000000000000000000000000000000000000000000000000 +3333333333333333ffffffffffff33333333ffff3333ffffffffffffffffffffffff333333333333333333333333333333333333000000000000000000000000 +3333333333333333ffffffffffff33333333ffff333ffffffffffffffffffffffffff33333333a33333333333333333333333333000000000000000000000000 +3333333333333333ffffffffffff33333333ffff33ffffffffffffffffffffffffffff333333333333a3333333a3338333333383000000000000000000000000 +3333333333333333ffffffffffff33333333ffff3ffffffffffffffffffffffffffffff333333333333333333333333333333333000000000000000000000000 +33333333ffffffff33333333ffff33333333fffffffffffffffffff33fffffffffffffff3a333a33333333333333333333333333000000000000000000000000 +33333333ffffffff33333333ffff33333333ffffffffffffffffff3333ffffffffffffff3333333333a3333333a3383333833333000000000000000000000000 +33333333ffffffff33333333ffff33333333fffffffffffffffff333333fffffffffffff33333333333333333333333333333333000000000000000000000000 +33333333ffffffff33333333ffff33333333ffffffffffffffff33333333ffffffffffff33333333333333333333333333333333000000000000000000000000 +5555555555555555ffffffffffff55555555ffff5555ffffffffffffffffffffffff555555555555555555555555555555555555000000000000000000000000 +5555555555555555ffffffffffff55555555ffff555ffffffffffffffffffffffffff55555555555559555555555555555555555000000000000000000000000 +5555555555555555ffffffffffff55555555ffff55ffffffffffffffffffffffffffff5555555555555555555555555559555555000000000000000000000000 +5555555555555555ffffffffffff55555555ffff5ffffffffffffffffffffffffffffff555555555555955955555555555555555000000000000000000000000 +55555555ffffffff55555555ffff55555555fffffffffffffffffff55fffffffffffffff55555555555555555555955555555555000000000000000000000000 +55555555ffffffff55555555ffff55555555ffffffffffffffffff5555ffffffffffffff55555555555555555595555555555555000000000000000000000000 +55555555ffffffff55555555ffff55555555fffffffffffffffff555955fffffffffffff55955555555555955555955555555595000000000000000000000000 +55555555ffffffff55555555ffff55555555ffffffffffffffff55555555ffffffffffff55555555555555555555555555555555000000000000000000000000 +__map__ +0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +0016121212121700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +0013101010101400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +0013101010101400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +0018111111111500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 diff --git a/yoyodyne.games/config.toml b/yoyodyne.games/config.toml index d2caa83..98c1f88 100644 --- a/yoyodyne.games/config.toml +++ b/yoyodyne.games/config.toml @@ -69,7 +69,6 @@ paginate = 5 languageName = "English" title = "Yoyodyne Entertainment Systems" subtitle = "" - owner = "John Yoyodyne" keywords = "" copyright = "" menuMore = "Show more" diff --git a/yoyodyne.games/content/posts/yoyodyne-intro-screen.md b/yoyodyne.games/content/posts/yoyodyne-intro-screen.md index 346831a..d9f3cdd 100644 --- a/yoyodyne.games/content/posts/yoyodyne-intro-screen.md +++ b/yoyodyne.games/content/posts/yoyodyne-intro-screen.md @@ -4,7 +4,7 @@ date = "2023-03-01" author = "John Yoyodyne" cover = "/img/yoyodyne1.png" tags = ["demos"] -keywords = ["", "PICO-8"] +keywords = ["PICO-8"] description = "" showFullContent = false readingTime = false