Commit Graph
108 Commits
Author SHA1 Message Date
Kevin Baumgartner 41f0ce50ee Merge branch 'main' into feat/endscreen 2026-05-08 18:19:57 +02:00
Kevin Baumgartner 6fbd750cad feat(endscreen): fix position of highscore table in endscreen 2026-05-08 18:19:19 +02:00
Haiden Niklas ade975e74d Merge branch 'feat/tower' into 'main'
feat: implement tower with book functionality

See merge request swd25-bootcamp/silent-fh!24
2026-05-08 16:13:41 +00:00
Kevin Baumgartner 7d80d05249 feat(endscreen): add highscore table in end screen 2026-05-08 18:05:48 +02:00
Lukas Kammerhofer e482aa6080 added sprite for book projectile 2026-05-08 17:57:49 +02:00
Lukas Kammerhofer 8f5a0ed6de added comments 2026-05-08 17:43:39 +02:00
Niklas Haiden 810a44c904 fix: import error 2026-05-08 17:41:45 +02:00
Haiden Niklas 81174eb793 Merge branch 'feat/startscreen' into 'main'
feat: implement highscore display in startscreen

See merge request swd25-bootcamp/silent-fh!23
2026-05-08 15:40:20 +00:00
Kevin Baumgartner 7833d381a6 feat(startscreen): add highscore table in start screen 2026-05-08 17:37:30 +02:00
Kevin Baumgartner 80ad07c795 feat(highscore): add draw function in highscore 2026-05-08 17:34:52 +02:00
Lukas Kammerhofer 164e31467c bugfixing 2026-05-08 17:29:41 +02:00
Niklas Haiden 83398c6eec refactor: remove redundant tile_size import and cleanup formatting 2026-05-08 17:25:34 +02:00
Niklas Haiden 89d72b2a2c Merge branch 'main' of git-iit.fh-joanneum.at:swd25-bootcamp/silent-fh into feat/shop-system 2026-05-08 17:17:18 +02:00
Haiden Niklas f5a789842c Merge branch 'feat/map' into 'main'
feat: implement towers

See merge request swd25-bootcamp/silent-fh!21
2026-05-08 15:14:52 +00:00
Lukas Kammerhofer 15f3d0e53b sprite path changed 2026-05-08 17:05:55 +02:00
Lukas Kammerhofer 4cc4feca36 Merge remote-tracking branch 'refs/remotes/origin/main' into feat/map 2026-05-08 17:04:11 +02:00
Lukas Kammerhofer 3fe002daa9 tower sprite, timer, projectiles, all clear 2026-05-08 17:03:06 +02:00
Niklas Haiden dd1773e142 fix: fix buying logic for shop 2026-05-08 16:56:14 +02:00
Kevin Baumgartner b466ee3d7c feat(highscore): add comments and json file 2026-05-08 16:55:58 +02:00
Niklas Haiden 10e094d969 feat(shop): initial shop implementation with buy functionality and item loading 2026-05-08 16:44:47 +02:00
Niklas Haiden 2adc490f3d feat(ects): add some helper functions for etcs 2026-05-08 16:44:21 +02:00
Niklas Haiden 538be47bc5 feat(item): add cost attribute and getter function 2026-05-08 16:43:55 +02:00
Kevin Baumgartner 7e6d1813b5 Merge branch 'main' into feat/highscore 2026-05-08 16:42:23 +02:00
Lukas Kammerhofer a1096f3b83 projectile movement and tower despawn 2026-05-08 16:40:33 +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
Lukas Kammerhofer 665e852ed9 tower shooting function 2026-05-08 16:28:33 +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
Lukas Kammerhofer 7a42484ded tower building check function 2026-05-08 16:16:55 +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
Lukas Kammerhofer b9a1bff5e4 random spawn of tower field 2026-05-08 16:00:50 +02:00
Lukas Kammerhofer a9df61e9bc initial commit 2026-05-08 15:51:41 +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
Lukas Kammerhofer b1f8b56b03 troubleshooting, adding desks in the map 2026-05-08 15:22:24 +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