97bbaba5ba
renamed 2 functions, their names were swapped. inserted the metallic logo
Patrick Tschuchnig
2019-09-19 13:51:58 +02:00
f617226879
changed the default logic for the buttons and contact pins to inverted - default high. changed circuit and circuit diagrams to accomodate for that.
Patrick Tschuchnig
2019-09-19 08:58:21 +02:00
2baa5e4e7b
added sound effects, changed screen resolution setup to be detection based rather than manually entered
Patrick Tschuchnig
2019-09-19 08:08:18 +02:00
d5d79416e3
added sound effects. more cleanup. removed toggle fullscreen function (unused). added more documentation
Patrick Tschuchnig
2019-09-17 08:19:24 +02:00
12ceaa7265
fixed missing input declaration
Patrick Tschuchnig
2019-09-13 12:15:30 +02:00
6f69b471e5
added next major revision with cleanups and documentation
Patrick Tschuchnig
2019-09-13 08:18:54 +02:00
5e2ecbc98f
more fixes
Patrick Tschuchnig
2019-09-12 09:02:51 +02:00
0fb43994fd
more fixes
Patrick Tschuchnig
2019-09-12 09:01:40 +02:00
c40f8e3128
more fixes
Patrick Tschuchnig
2019-09-12 09:00:05 +02:00
d1a3a2b35d
more fixes
Patrick Tschuchnig
2019-09-12 08:58:36 +02:00
3651b6fb70
somehow this didnt work
Patrick Tschuchnig
2019-09-12 08:56:29 +02:00
953a2836dc
im too dumb to understand = and ==
Patrick Tschuchnig
2019-09-12 08:52:37 +02:00
c703f25311
disabled blinking
Patrick Tschuchnig
2019-09-12 08:51:36 +02:00
c0d75a69f8
changed led blinking to default off, removed the handler to update the pwm per default, and made a toggle to switch it back on
Patrick Tschuchnig
2019-09-12 08:50:40 +02:00
35416a2c28
fixed missing global assignment
Patrick Tschuchnig
2019-09-12 08:21:33 +02:00
4cada0a593
trying to reduce flicker due to pwm switching
Patrick Tschuchnig
2019-09-12 08:20:20 +02:00
dc1bc6fe7b
changed led handler and blinking mechanics
Patrick Tschuchnig
2019-09-12 08:11:03 +02:00
d64b0858fc
completely disabled led handler, also the name input box keeps being at the wrong place :x
Patrick Tschuchnig
2019-09-11 16:37:09 +02:00
e3af1a7f50
progress on the LED blinking handler
Patrick Tschuchnig
2019-09-11 16:34:32 +02:00
dc9497ab6b
trying a new way of controlling the LED strips
Patrick Tschuchnig
2019-09-11 15:01:29 +02:00
003ccce40f
changed the way the drawing for the name entry works
Patrick Tschuchnig
2019-09-11 14:24:18 +02:00
bd9ecde8b0
changed the way the border and logo is drawn to be on every screen
Patrick Tschuchnig
2019-09-11 14:16:42 +02:00
8afb7765a5
changed flipping to be done at the end of the game routine
Patrick Tschuchnig
2019-09-11 13:36:08 +02:00
a337c279f7
minor cleanup, added placeholders, changed when the border is drawn
Patrick Tschuchnig
2019-09-11 13:33:02 +02:00
ad94b1b601
cleaned up the game states to be a 2 bit system with game running and game ending states.
Patrick Tschuchnig
2019-09-11 13:08:12 +02:00
84a6e58ba3
fixed a bug where starting the game while displaying the end screen was allowed, causing an undefined state in the engine and softlocking the player. now causing an inhibit state to block the start pin and also only allow checking for the game start if the game is not currently ending
Patrick Tschuchnig
2019-09-11 12:02:41 +02:00
60f0545878
changed a stupid behaviour that allowed a backspace to be entered as the first char of a name
Patrick Tschuchnig
2019-09-11 11:45:29 +02:00
b42813cf75
changed when the game stopped routine is being called, as it was called while the game was in ending state, which wasnt intended
Patrick Tschuchnig
2019-09-11 11:40:53 +02:00
7e67391678
changed the game start timer to be a one-shot in the game_ending routine. changed a spelling mistake in variable declaration.
Patrick Tschuchnig
2019-09-11 11:27:43 +02:00
72a08a23b6
changed timing system for the game\'s end to be tick based
Patrick Tschuchnig
2019-09-11 11:14:59 +02:00
48df332b32
changed timings, changed a problem with the game restarting, changed logic for game start to be for a closing button, changed pin for errors to be 33 (pull up)
Patrick Tschuchnig
2019-09-11 10:57:16 +02:00
9e2086611c
fixed incorrect variable name
Patrick Tschuchnig
2019-09-11 10:05:22 +02:00
22208f9cf7
added general pinout info at the top, changed the start pin to have an inhibitor latch
Patrick Tschuchnig
2019-09-11 10:03:24 +02:00
9eda20c47d
fixed uninitialised var for previous change
Patrick Tschuchnig
2019-09-10 16:48:00 +02:00
5d62d58478
slight changes to game loop to not constantly change the led colours at every tick
Patrick Tschuchnig
2019-09-10 16:46:49 +02:00
16c32133cb
changed initialisation ordering
Patrick Tschuchnig
2019-09-10 16:38:31 +02:00
6412bbd26f
first general code revision, unstable and untested. restructured the definitions, changed the game to a tick-based system, changed game loop to have a game state instead of being a strict script based state machine, lots of small changes. changed naming convention from camel case to underscore-spaced. unified naming convention. changed variable naming to reflect what the variable is used by.
Patrick Tschuchnig
2019-09-10 16:35:08 +02:00
da2f53a5a3
changes to orientation and colour
Patrick Tschuchnig
2019-09-10 16:09:06 +02:00
7048bc3800
changing colours
Patrick Tschuchnig
2019-09-10 14:51:19 +02:00
ede64d8199
changed default behaviour of escape to be exit_application, not shutdown. shutdown is now q
Patrick Tschuchnig
2019-09-10 14:44:13 +02:00
64f645a76d
testing white background colour
Patrick Tschuchnig
2019-09-10 14:05:35 +02:00
d96c81d2ea
the random use of upper and lowercase letters is horribly annoying...
Patrick Tschuchnig
2019-09-10 14:01:06 +02:00
d68fe7bca8
fixed screen size variable
Patrick Tschuchnig
2019-09-10 13:59:54 +02:00
049f5e992f
added image
Patrick Tschuchnig
2019-09-10 13:58:30 +02:00
25cc1ec5f8
added missing import
Patrick Tschuchnig
2019-09-10 13:57:34 +02:00
cfab44e3aa
merged image display functions and functionality from imagetest.py
Patrick Tschuchnig
2019-09-10 13:54:01 +02:00
c0ba73e5f8
first test for displaying images
Patrick Tschuchnig
2019-09-10 13:48:04 +02:00
ee9f92d4fd
first merge with the led program functions, unstable and untestet
Patrick Tschuchnig
2019-09-09 08:42:53 +02:00
478922e3d9
rgb led steuerung programmiert (rumpf)
Patrick Tschuchnig
2019-09-09 08:20:40 +02:00
4f67b16bb7
removed all timePerError lines/commands
Moris Krajnc
2019-08-30 09:56:04 +02:00