Commit Graph

137 Commits

Author SHA1 Message Date
83a7e98a7f created surface.py and GameSurface class 2023-05-13 13:07:33 -04:00
41ab0406f8 removed unused import 2023-05-13 11:47:48 -04:00
4904ed2184 fixed documentation 2023-05-13 11:47:36 -04:00
63a87c12dd removed some old print statements 2023-05-13 10:50:25 -04:00
2b2c2d946a added a bool to disable tick checking if needed 2023-05-13 10:48:59 -04:00
0f69120213 removed gpio modules (rest in peace) 2023-05-13 10:46:34 -04:00
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
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
5d3fc6ca49 changed python version to 3.7, changed pygame to 1.9.6 2023-05-12 22:57:56 -04:00
3fa4e2190e changed python version back to 3.9 2023-05-12 17:34:40 -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
07aae2b075 deleted unused folder 2023-05-11 15:26:08 -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