Commit Graph
78 Commits
Author SHA1 Message Date
Kevin Baumgartner 80ad07c795 feat(highscore): add draw function in highscore 2026-05-08 17:34:52 +02:00
Kevin Baumgartner b466ee3d7c feat(highscore): add comments and json file 2026-05-08 16:55:58 +02:00
Kevin Baumgartner 7e6d1813b5 Merge branch 'main' into feat/highscore 2026-05-08 16:42:23 +02:00
Kevin Baumgartner 1553630e1c feat(highscore): add method to get formatted top 5 highscores 2026-05-08 16:36:07 +02:00
Berger Lena 337f11b431 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/settings.py
2026-05-08 16:29:47 +02:00
Berger Lena a9209bb261 chore:cleanup settings.py structure and formatting
- remove HP bar colors
- fix double parentheses in start and end screen background colors
- add section headers for PLAYER and SPRITE
- improve spacing and structure between sections
2026-05-08 16:28:40 +02:00
Berger Lena f52ef23e6c feat: item
- Add logic to spawn items at random intervals
- Add mechanic to collect items with 'E' key
- Refactor _random_position to a  function
2026-05-08 16:23:02 +02:00
Kevin Baumgartner 7846bfa042 feat(highscore): add methods for highscore handling 2026-05-08 16:18:25 +02:00
Berger Lena 4a7e754771 Merge remote-tracking branch 'origin/main' into feat/items 2026-05-08 16:04:36 +02:00
Kevin Baumgartner 3c8e0a9b9a feat(highscore): create basic structure for highscore 2026-05-08 16:04:12 +02:00
Berger Lena c0a5c12d4e feature: item
- add draw method to Item class with fallback colors
- fix ItemManager class name typo and missing self parameter in _random_position
- add draw and clear methods to ItemManager
- rename ITEM_SPAWN_INTERVAL to ITEM_SHOPPING_TIMER in is_expired
2026-05-08 16:03:42 +02:00
Berger Lena 99d095c761 Merge branch 'main' into feat/items
# Conflicts:
#	src/settings.py
2026-05-08 16:02:33 +02:00
Berger Lena 2a6c93998b refactor: create ItemManger class
- add itemManager class and moved randomPosition and update into it
- add is_expired to check if time ran out to buy spawned item
2026-05-08 15:47:29 +02:00
Kevin Baumgartner b98528fd37 Merge branch 'main' into feat/endscreen 2026-05-08 15:39:27 +02:00
Haiden Niklas acd1593ec2 Merge branch 'main' into 'feat/game_loop' 2026-05-08 13:34:15 +00:00
Kevin Baumgartner 58d887689e feat(endscreen): get font from settings 2026-05-08 15:33:15 +02:00
Niklas Haiden 20e106cb01 feat: implement gameloop
Implement a basic game loop that draws the startscreen, and the map after you hit the right button
2026-05-08 15:32:58 +02:00
Berger Lena 3ca2ef1332 feature: item
- add Item base class with collision rect, spawn timer, and sprite loading
2026-05-08 15:25:06 +02:00
Berger Lena bd2152ac3b feat: HUD
- add tower constants including cost, projectile stats, and duration
- add item buying timer for shop items
- add _draw_status_bar to handle dynamic HP rendering
- add _format_time for MM:SS display
2026-05-08 15:17:07 +02:00
Berger Lena f6beb533d6 feat: HUD
- add HUD class with font initialization
- add status bars for doors and zombie hp
- add ECTS balance and generation rate display
- add game timer
2026-05-08 15:16:28 +02:00
Berger Lena 96571641a2 feat: HUD
- add tower constants including cost, projectile stats, and duration
- add item buying timer for shop items
- add _draw_status_bar to handle dynamic HP rendering
- add _format_time for MM:SS display
2026-05-08 15:16:28 +02:00
Kevin Baumgartner bf8115f292 feat(endscreen): show results on endscreen and draw buttons for restart/menu 2026-05-08 15:15:37 +02:00
Berger Lena 32525ccdbb feat: item
- Add function for finding a random item spawn position
2026-05-08 15:13:31 +02:00
Kevin Baumgartner 975d0d1e71 feat(endscreen): implement simple endscreen with differentiation between won/lose 2026-05-08 15:07:17 +02:00
Berger Lena 11ece2ee54 feat: item
- Create item.py
- Add update to remove expired items
- Add item settings for spawn interval, despawn timer, and size
2026-05-08 15:03:41 +02:00
Kevin Baumgartner 7a5d063de6 feat(endscreen): implement init for endscreen 2026-05-08 14:52:23 +02:00
Haiden Niklas 91d02e073b Merge branch 'main' into 'feat/walking-players' 2026-05-08 12:35:02 +00:00
Kevin Baumgartner b1aa4fe435 Merge branch 'main' into feat/endscreen 2026-05-08 14:34:51 +02:00
Kevin Baumgartner 5712715420 feat(endscreen): create structure for endscreen 2026-05-08 14:34:06 +02:00
Niklas Haiden a96dfefa07 feat(actors): implement needed functions for the actors 2026-05-08 14:33:05 +02:00
Niklas Haiden a2185273f3 fix: readd missing file 2026-05-08 14:30:33 +02:00
Kevin Baumgartner 011cb867b3 Merge branch 'main' into feat/startscreen
# Conflicts:
#	src/settings.py
2026-05-08 13:54:57 +02:00
Kevin Baumgartner 8c454edd5b feat(startscreen): change ui texts from german to english and fix button click event 2026-05-08 13:50:42 +02:00
Berger Lena cb5f40dbc4 feat: HUD & SETTINGS
- add tower constants including cost, projectile stats, and duration
- add item buying timer for shop items
2026-05-07 22:22:18 +02:00
Kevin Baumgartner 0194438b38 Merge branch 'main' into feat/startscreen
# Conflicts:
#	src/settings.py
2026-05-07 22:21:02 +02:00
Kevin Baumgartner b15c5b5e28 feat(text_input): switch color definitions to settings file 2026-05-07 22:18:10 +02:00
Berger Lena 2788d352d0 feature: HUD
- create new hud.py file
- add zombie difficulty stats (easy, medium, hard) to settings
- add coffee item stats (cost and heal value) to settings
- add HUD configuration (font, colors, dimensions) to settings
- reorganize HP bar colors into the new HUD settings section
2026-05-07 22:14:52 +02:00
Niklas Haiden 74139aa63d feat(actor): implement player / actor class 2026-05-07 22:07:15 +02:00
Kevin Baumgartner 496c74fed2 feat(text_input): add text input on start screen and temporary test 2026-05-07 22:00:29 +02:00
Haiden Niklas 34cfa3c8c3 Merge branch 'feat/ects' into 'main'
feature: ECTS basic mechanic

See merge request swd25-bootcamp/silent-fh!11
2026-05-07 19:25:18 +00:00
Kevin Baumgartner f28356d0ae Merge branch 'main' into feat/startscreen 2026-05-07 21:24:46 +02:00
Berger Lena 8bb05de946 feature: ECTS upgrade mechanic
- add upgrade_rate method to increase ECTS/per second
2026-05-07 21:23:56 +02:00
Berger Lena ad7e18c024 feature: ects upgrade mechanic
- add upgrade_rate method to increase ects/per second
2026-05-07 21:23:27 +02:00
Kevin Baumgartner f0bf7bcff3 Merge branch 'main' into feat/text_input 2026-05-07 21:22:43 +02:00
Niklas Haiden 7a47237e09 Merge branch 'refs/heads/main' into feat/walking-players
# Conflicts:
#	src/settings.py
2026-05-07 21:21:07 +02:00
Berger Lena 7c576806b2 feature: ECTS generation
- add update method to increase ECTS balance over time when player is at desk
2026-05-07 21:19:55 +02:00
Kevin Baumgartner 387a328b1c feat(text_input): add event handler function (mouse and keyboard input) 2026-05-07 21:19:42 +02:00
Niklas Haiden 74b0af92fd add some settings for the sprite assets 2026-05-07 21:19:26 +02:00
Haiden Niklas 2c58ebce65 Merge branch 'feat/map' into 'main'
feat: implement basic map structure

See merge request swd25-bootcamp/silent-fh!4
2026-05-07 19:18:07 +00:00
Lukas Kammerhofer db64d956b3 map layout changes 2026-05-07 21:17:12 +02:00