Commit Graph

62 Commits

Author SHA1 Message Date
35ac1cff51 removed windowed flag, added resolution flag 2023-05-13 10:30:27 -04:00
38a5812839 re-enabled the game lol 2023-05-13 10:17:30 -04:00
f6e9869282 fixed rpi display not rendering anything 2023-05-13 10:16:43 -04:00
afd228d81a copied code from old codebase to see if anything happens 2023-05-13 09:56:55 -04:00
6debf73267 made screen size constant 2023-05-13 09:49:51 -04:00
1fef87e1c3 disabled loading other surfaces as a test 2023-05-13 00:04:34 -04:00
e9df84897a removed print statements 2023-05-12 23:57:23 -04:00
07be003a54 reordered stuff in a desperate attempt 2023-05-12 23:55:06 -04:00
c547f76b35 attempt at fixing hardware 2023-05-12 23:49:36 -04:00
e6cb2bd4c8 added --windowed parameter, fixed missing surface assignment 2023-05-12 23:42:21 -04:00
d932538b41 changed resolution to 240x240 fullscreen by default 2023-05-12 23:36:21 -04:00
b8776a6f7f fixed GPIO handler error 2023-05-12 23:28:00 -04:00
9b752bde21 fixed game not rendering on hardware 2023-05-12 23:21:33 -04:00
8e9e96d1bb added hardware check 2023-05-12 23:17:33 -04:00
5b2c724882 added error screen 2023-05-12 17:34:13 -04:00
509efa7e23 fixed launching issue caused by incorrect resource reference 2023-05-11 18:00:25 -04:00
dd621dbe7a added info screen 2023-05-11 15:24:17 -04:00
4e14204392 added selection sprite, moved clock out of game.py and into individual screens 2023-05-11 14:03:16 -04:00
296b6df4a0 title screen moves on now to sprite selection 2023-05-11 13:09:55 -04:00
2ffd9bd929 added title screen loading at launch 2023-05-11 12:20:07 -04:00
d66d56630d added basic running from old game.py 2023-05-11 11:51:51 -04:00
f1c83ade97 renamed old game.py file to start with rebuild 2023-05-11 11:02:08 -04:00
36487cad9e Added comments 2023-05-11 10:26:01 -04:00
Nick Dyer
47cbe15369 fixed typo: contentness to contentedness 2021-06-20 00:43:08 -04:00
Nick Dyer
a203a14118 changed resolution back to 320x320 2021-06-19 23:32:01 -04:00
Nick Dyer
40983db230 aligned popup menu icons to look nicer 2021-06-19 23:31:19 -04:00
Nick Dyer
3e25d66e9a fixing documentation where "game" is replaced with "hardware" for some reason 2021-06-16 17:44:27 -04:00
Nick Dyer
307543e4f9 added submenu to the playground, added dummy class 'pet' for PlaygroundFriend 2021-06-16 03:43:51 -04:00
Nick Dyer
ab2c7dcb48 added many comments, fixed bloop movement in playground 2021-06-16 03:40:02 -04:00
Nick Dyer
1434303450 fixed the egg selector pointing to the wrong file 2021-06-16 03:38:47 -04:00
Nick Dyer
a457fb716c created MenuIcon and PopupMenu classes for implementation in the playground 2021-06-16 03:35:21 -04:00
Nick Dyer
d16604c019 changed evolution_stage to a string rather than an int 2021-06-16 03:19:48 -04:00
Nick Dyer
4eef9353c7 removed button press speed limit when not on rpi 2021-06-15 18:55:24 -04:00
Nick Dyer
4e77601afe added EggInfo class, added drawing contentness and metabolism stats on info screen 2021-06-13 14:52:04 -04:00
Nick Dyer
adaa2872bb changed SaveHandler and references to DataHandler, added update method to run game logic 2021-06-12 23:10:59 -04:00
Nick Dyer
15cf0fa9fd cleaned up some straggling unused code 2021-06-12 22:18:49 -04:00
Nick Dyer
a94b454048 changed sprite image loading to use sprite sheets 2021-06-12 22:17:53 -04:00
Nick Dyer
a31e2452c7 added SpriteSheet class 2021-06-12 22:16:54 -04:00
Nick Dyer
ef6ce5118c fixed mistake in stage calulation, age now ticks with time 2021-06-05 22:10:47 -04:00
Nick Dyer
75aa07a370 fixed egg moving and other forms of bloop not 2021-06-05 19:12:55 -04:00
Nick Dyer
963f760160 implemented very basic playground gamestate 2021-06-05 19:12:22 -04:00
Nick Dyer
658e808f96 added beginning of PlaygroundFriend class 2021-06-05 19:12:02 -04:00
Nick Dyer
92c905e82b added additional information to the save file, renamed references of eggs to bloops 2021-06-05 18:32:51 -04:00
Nick Dyer
c5d07c8b1e changed lots of values to be based around the render resolution, changed animation to be a constant 2 FPS 2021-06-05 18:27:53 -04:00
Nick Dyer
6c52458f41 revised file structure to be more organized 2021-06-05 18:05:27 -04:00
Nick Dyer
08014d8244 made info text show description of egg from its json file 2021-06-05 00:04:28 -04:00
Nick Dyer
639d552904 implemented new selection screen 2021-06-05 00:00:52 -04:00
Nick Dyer
9e4dfdc16d added arrows to scrolling, added arrow images 2021-06-04 23:59:10 -04:00
Nick Dyer
a4aa20e306 added scrolling to the InfoText class 2021-06-04 23:26:56 -04:00
Nick Dyer
a401c58d22 added the InfoText class to help with drawing large amounts of text on screen at a time. 2021-06-04 23:21:54 -04:00