An interactive Solar System simulator developed in C++ using the SFML library. The project features dynamic planetary orbit visualization with an advanced camera system.
- Dynamic Camera: Click on a planet to follow it and automatically zoom in.
- Interactive HUD: A toggleable help panel ("?" button) that displays commands without obstructing the view.
- Dual-View System: The UI remains fixed while the deep space can be explored and zoomed freely.
- Time Management: Pause or adjust the simulation speed in real-time.
- Astronomical Details: Includes major planets with relative sizes and orbital speeds, plus the Moon with conditional visibility.
- Visual Trails: Smooth planetary trails to visualize orbital paths.
- Left Click: Select a planet to follow / Toggle the "?" help button.
- Space: Pause/Resume the simulation.
- Right Arrow: Increase time speed.
- Left Arrow: Decrease time speed.
- Backspace: Reset the camera (return to system overview).
- Esc: Exit the application.
- Language: C++
- Graphics Library: SFML 3.0
- Font: Comic Sans MS (for that friendly look!)
- Ensure you have SFML 3.0 installed and configured in your environment.
- Compile the
main.cppandPlanet.cppfiles. - Make sure
comic.ttfis in the same directory as the executable. - Run the application and enjoy the space exploration!