Commit Graph

93 Commits

Author SHA1 Message Date
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
526b51b754 disabled gpio_handler.py to always return false to ON_HARDWARE 2023-05-12 23:34:15 -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
b65f112b36 removed unused import 2023-05-12 17:34:27 -04:00
5b2c724882 added error screen 2023-05-12 17:34:13 -04:00
d8775fb1a9 updated comments, made some attributes private 2023-05-12 13:49:26 -04:00
4045930bd9 updated data.py docstrings 2023-05-12 11:46:23 -04:00
d322949b5a changed unneeded attributes in SpriteSheet to regular variables in the constructor 2023-05-12 11:46:08 -04:00
b97d54f49d created new submodule to contain game elements 2023-05-12 11:44:58 -04:00
65365adc3d updated docstrings to follow google styling, changed checking of hardware to only happen once 2023-05-12 11:20:00 -04:00
f56f775541 renamed data_handler.py to data.py, renamed DataHandler class to SaveData 2023-05-11 18:03:51 -04:00
509efa7e23 fixed launching issue caused by incorrect resource reference 2023-05-11 18:00:25 -04:00
327f6cadee restructured directories to make more sense of modules and sub-modules 2023-05-11 17:59:06 -04:00
a8674f073e added documentation to input_handler.py 2023-05-11 15:31:36 -04:00
eff7f2c893 reformatted file 2023-05-11 15:28:21 -04:00
adfece1a32 fixed doc error 2023-05-11 15:28:11 -04:00
bba0af4946 fixed selector not going back to previous color 2023-05-11 15:25:22 -04:00
dd621dbe7a added info screen 2023-05-11 15:24:17 -04:00
bbf549c024 moved around structure 2023-05-11 14:08:22 -04:00
ca9406aab8 removed old codebase from files 2023-05-11 14:06:26 -04:00
535aa993a5 renamed classes to io_helpers 2023-05-11 14:05:53 -04:00
4e14204392 added selection sprite, moved clock out of game.py and into individual screens 2023-05-11 14:03:16 -04:00
7b8898b77b added input_handler.py module to help with inputs 2023-05-11 14:01:02 -04:00
da5bacf950 removed old importing code 2023-05-11 13:24:25 -04:00
fd7e1b7492 added eggs on selection screen with animations 2023-05-11 13:23:55 -04:00
bbe97f0de7 added module sprites.py 2023-05-11 13:10:08 -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
6f6eaa3c6d moved resources into surfaces folder, moved icons to games_files 2023-05-11 12:19:39 -04:00
d66d56630d added basic running from old game.py 2023-05-11 11:51:51 -04:00
7073bbb73c disabled dev menu launch arg 2023-05-11 11:24:42 -04:00
f1c83ade97 renamed old game.py file to start with rebuild 2023-05-11 11:02:08 -04:00
787c1cc252 created __init__.py in surfaces for importing 2023-05-11 10:40:57 -04:00
36487cad9e Added comments 2023-05-11 10:26:01 -04:00
2987bfa7ed Added title.py surface 2023-05-11 09:58:44 -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
5f326c8fda added dev_egg baby images 2021-06-16 03:23:14 -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
c43563fc2c added frame image for popup menu 2021-06-16 01:51:06 -04:00