Gregor Klevze 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
2025-08-15 11:01:48 +02:00
2025-08-16 12:10:19 +02:00
2025-08-16 12:10:19 +02:00
2025-08-15 11:01:48 +02:00
2025-08-16 19:40:41 +02:00
2025-08-16 19:40:41 +02:00
2025-08-17 21:13:58 +02:00
2025-08-16 08:24:26 +02:00
2025-08-16 08:24:26 +02:00
2025-08-16 21:58:19 +02:00
2025-08-16 21:58:19 +02:00
2025-08-16 08:24:26 +02:00
2025-08-17 10:07:34 +02:00
2025-08-17 10:58:06 +02:00
2025-08-16 08:24:26 +02:00
2025-08-16 12:10:19 +02:00
2025-08-16 21:58:19 +02:00
2025-08-16 12:10:19 +02:00
Description
No description provided
602 MiB
Languages
C++ 95.1%
PowerShell 1.9%
Shell 1.3%
CMake 1.2%
Batchfile 0.4%