dhain
d98cd7b10e
Refactor & Bug Fix
...
`game.ts`
- fixed score on new game
`Obstacle.ts`
- made distanceBetweenPipes and startX public
- moved initialization of distanceBetweenPipes and startX to game.setupGame()
`Pipe.ts`
- created move() method to move the pipe
`Raspberry.ts`
- added constant variables for Raspberry size
2023-01-10 09:37:12 +01:00
dhain
a16f1203ff
added PressStart2P-Regular.ttf font
...
const rename and obstacle for-loop refactor
2023-01-10 09:09:06 +01:00
637a867c7e
Code review 2023-01-10
2023-01-10 08:45:34 +01:00
dhain
6c459c1581
Commented everything except some Methods in Raspberry.ts
2022-12-20 09:40:21 +01:00
dhain
fafbfa1b32
Merge remote-tracking branch 'origin/models' into models
2022-12-20 08:12:43 +01:00
00cc924a2a
pipe gen working
2022-12-14 12:24:45 +01:00
dhain
e3ce189023
added text font
...
added text color for score
2022-12-13 11:36:12 +01:00
f57f2b0153
escape = toggle
2022-12-13 11:17:09 +01:00
94b9c56f8c
remove raspberry hitbox
2022-12-13 10:57:04 +01:00
f1bc1780ef
Pause
2022-12-13 10:56:05 +01:00
db9fdf5932
game loop
2022-12-13 10:40:47 +01:00
a464da424a
collision workey
2022-12-13 10:35:00 +01:00
dhain
a8681c0eb4
Merge remote-tracking branch 'origin/models' into models
...
# Conflicts:
# frontend/game.ts
2022-12-13 10:04:44 +01:00
dhain
4219704649
moved obstacle Reset Cheking into a function
2022-12-13 10:04:16 +01:00
cb7d02896c
KEy input pt 2
2022-12-13 09:46:18 +01:00
dhain
d0724e668a
Merge remote-tracking branch 'origin/models' into models
...
# Conflicts:
# frontend/game.ts
2022-12-13 09:30:29 +01:00
dhain
ad50d14f8a
improved Obstacle constructor
2022-12-13 09:28:57 +01:00
7dd557f968
raspberry flies
2022-12-13 09:24:33 +01:00
dhain
ba2d9f17e1
raspberry now has an image
2022-12-06 13:48:47 +01:00
dhain
d43cfbe9e7
added images
...
pipes and background now have images
2022-12-06 11:33:45 +01:00
dhain
4d22976621
multiple obstacles spawning
2022-12-06 10:22:19 +01:00
dhain
8e19fb7cfb
random pipe position working
2022-12-06 09:45:43 +01:00
s-prechtl
4a40175884
raspberry
2022-11-29 13:18:19 +01:00
dhain
43390fe7ce
wosn do los
2022-11-29 11:39:32 +01:00
s-prechtl
6ca169fef8
Began to implement more models
2022-11-29 11:20:01 +01:00
s-prechtl
5cc101db40
p5 working
2022-11-29 10:11:11 +01:00
s-prechtl
02391633c5
initial commit
2022-11-29 09:32:09 +01:00