Fixed a typo
[runner_game.git] / log.txt
blobd3ae9742b7a106da3b492d84333c3b61efd4e207
2 Development log of runner_game by Johannes (dolphinana)
5 2022-05-12
7 It used to be that the game sometimes don't register button presses when the duration is short. I fixed it so now you can press button quickly and it would register :)
10 2022-05-14
12 I didn't do much with this game project today, just tried to figure out if I could make the compilation+uploadation quicker and so I just measured time between few different make upload commands to see which are the fastest and I found that `make raw_upload` seems to be the fastest one which compiles and uploads the program. 
14 Also, I did something stupid, I was playing with jumper wires while Arduino was plugged into Raspberry PI's USB port, I disconnected the wire that connects from the ground bus to the other ground bus and I just moved around when I noticed that the display on the TV went black and then it said in Swedish "Ingen signal!" which translates to "No signal!". So I made something on that breadboard and that made the PI power off and then power on again. Seems like everything is fine after that sudden reboot, except that the PI still runs that proprietary boot code. At least it runs Devuan which is a nice GNU/Linux distribution (UPDATE: Devuan is fine but not that great due to distributing proprietary code).
17 2023-05-17
19 I added buttonHandler function and also made menu. I also made the difficult decision to make boxes tile based instead of having it's own variables. In other words, make the box part of an array instead of making box its own variable.
21 2023-05-18
23 Tiles works, thus replacing the position based obstacles with tiles :)
26 2023-05-19
28 Switching development computer from Raspberry PI to a huge old Acer laptop that's probably free from Intel Management Engine. The reason for switching is because Raspberry PI's firmware might be malicious, hence don't wanna use Raspberry PI. Of course that laptop that I'm currently using has non-free BIOS but at least the Linux kernel (probably) have some privilege and maybe direct access to hardware whereas on the RPI, the GPU firmware has more priviledge than Linux kernel. I didn't do much with the game itself other than testing the toolchain on the "new" development computer and temporarily added "OWO" to the title screen :)
30 Later that day:
32 I kind of forgot what I did today xD but I think I made it so that you can retry after gameover so you don't have to reset the Arduino everytime you lose. I also added the gameover cooldown so that when you lose, you can't immediately try again. You have to wait one second until it prints "Try Again?", then you can press the button to retry.
33 I also made some change to code structure and I tried to debug that bug where obstacles spawn next to each other in a way that makes it impossible for the player to avoid, with no success in attempt at debugging it.
37 2023-08-02
39 I refactored the code and started rewriting the code for checking bad obstacles.
42 2023-08-03
44 I finished writing and debugging the code for checking obstacles. Now it should always be possible to avoid obstacles :)