bandicam.2026-03-10.22-03-11-389.mp4
A physics-based "Suika-style" evolution game built with C++, SFML 3.0, and the Box2D 3.0 C API. Lead a cosmic journey from a tiny Meteor to a massive Red Giant by merging celestial bodies in a gravity-defying container.
- Box2D 3.0 Integration: Leverages the latest C-based version of Box2D for rigid-body dynamics, utilizing custom density, friction, and restitution values for realistic orbital "bounce" and rolling.
- Stellar Progression Logic: Features an 8-stage evolution chain with dynamic scaling:
- Meteor → Moon → Mercury → Mars → Earth → Jupiter → Blue Star → Red Giant
- Resolution Independence: Implements
sf::Viewand coordinate mapping (mapPixelToCoords) to ensure consistent gameplay and physics across different window sizes. - Advanced Graphics: * Real-time sprite-to-physics synchronization.
- Parallax scrolling background stars.
- Additive blending (
sf::BlendAdd) for star-tier objects to simulate high-energy glowing effects. - Dynamic screen shake upon high-level fusion events.
- Aim: Move your mouse left and right to position the next celestial body.
- Drop: Click to release the object into the container.
- Merge: Touch two objects of the same level to evolve them into the next stage of the stellar lifecycle.
- Survival: Do not let the planets stack above the Red Danger Line. If they settle at the top, the system collapses!
- C++ Compiler (GCC/MinGW, Clang, or MSVC)
- CMake 3.15+
- SFML 3.0 and Box2D 3.0 installed via your package manager (e.g., vcpkg or MSYS2)
git clone [https://github.com/Akash-Karma/FusionBox.git](https://github.com/Akash-Karma/FusionBox.git)
cd FusionBox
mkdir build && cd build
cmake ..
cmake --build .