Commit Graph

18 Commits

Author SHA1 Message Date
b46af7ab1d removed s shortcut for sound fx toggle 2025-12-21 17:22:30 +01:00
afd7fdf18d basic gameplay for cooperative 2025-12-21 15:33:37 +01:00
eb9822dac7 added challenge level text 2025-12-20 20:47:04 +01:00
ad014e1de0 fixed gameplay 2025-12-20 15:17:35 +01:00
9a3c1a0688 updated asteroids 2025-12-20 14:19:50 +01:00
970259e3d6 used tileset sprite sheet for asteroids 2025-12-20 13:50:56 +01:00
a520de6c1f Added hold block and minor fixes 2025-12-20 11:10:23 +01:00
9d989ab395 new next block 2025-12-07 19:02:03 +01:00
2b4b07ae6a fixed statistics 2025-12-07 17:30:18 +01:00
24779755a5 aligment fix in next block 2025-12-07 13:00:05 +01:00
d2ba311c5f fixed next block 2025-12-07 12:27:00 +01:00
ec9eb45cc3 gameplay score board 2025-12-06 21:07:17 +01:00
588f870b26 smooth scroll left / right 2025-11-30 12:29:09 +01:00
8b350bfb9e smooth scroll added 2025-11-30 09:30:50 +01:00
5bf87f2c21 upodate game start and blur on pause 2025-11-23 09:40:00 +01:00
3c3a85d6d4 Fade from main menu to gameplay 2025-11-22 20:18:00 +01:00
0ffd801743 minor fix 2025-11-22 10:59:47 +01:00
66099809e0 feat: implement textured line clear effects and refine UI alignment
- **Visual Effects**: Upgraded line clear particles to use the game's block texture instead of simple circles, matching the reference web game's aesthetic.
- **Particle Physics**: Tuned particle velocity, gravity, and fade rates for a more dynamic explosion effect.
- **Rendering Integration**: Updated [main.cpp](cci:7://file:///d:/Sites/Work/tetris/src/main.cpp:0:0-0:0) and `GameRenderer` to pass the block texture to the effect system and correctly trigger animations upon line completion.
- **Menu UI**: Fixed [MenuState](cci:1://file:///d:/Sites/Work/tetris/src/states/MenuState.cpp:19:0-19:55) layout calculations to use fixed logical dimensions (1200x1000), ensuring consistent centering and alignment of the logo, buttons, and settings icon across different window sizes.
- **Code Cleanup**: Refactored `PlayingState` to delegate effect triggering to the rendering layer where correct screen coordinates are available.
2025-11-21 21:19:14 +01:00