Commit graph

5 commits

Author SHA1 Message Date
dhain
716d13c90b Removed unused images & Pipe image cropping now working
- removed unused images
- image cropping is now working (good enough)
- added htl-steyr-front.jpg as a background
- changed score font color
2023-01-18 10:39:23 +01:00
dhain
f1babb7c13 Floor & Positioning & small Obstacle rework
- added images for pipes and floor
- floor is now working
- raspberry is falling on floor correctly
- images are now getting preloaded
- font ia getting preloaded
- obstacle and pipe constructor now take p5.Image instead of a string with the path
- removed everything to do with drawing background posters

- started working on pipe tiling instead of streching
2023-01-17 11:10:26 +01:00
s-prechtl
8b86437e06 comments, comments, comments, refactor, refactor, refactor 2023-01-10 22:42:41 +01:00
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
637a867c7e Code review 2023-01-10 2023-01-10 08:45:34 +01:00
Renamed from frontend/models/Pipe.ts (Browse further)