A humorous and satirical desktop application where you can click on a crying people to make him jump and accumulate "kindness" points for General. Made with Rust and egui.
⚠️ Disclaimer: This is a parody software for entertainment purposes only. Not affiliated with any government or political entity.
-
✅Interactive General: Click the crying people to make him jump with joy
-
✅Kindness Counter: Track your accumulated "kindness" points
-
✅Floating Text Effects: Beautiful "+1 Kindness" text animations
-
✅Physics-based Jumping: Realistic jumping mechanics with gravity
-
✅Background Music: Atmospheric background audio (if music.m4a is available)
-
❌Cross-platform: Runs on Windows, macOS, and Linux(didnt try it.)
The General awaits your kindness...
Rust and Cargo installed
# Clone the repository
git clone https://github.com/XiayiZhang/Sun.git
cd Sun
# Run the application
cargo runyou can also download the release version in RELEASE.
-
Place a music.m4a file in the root directory for background music
-
Add Chinese font file msyh.ttc in fonts/ directory for better text rendering(alerady prepared, Minecrosoft Yahei)
-
Launch the application
-
Click on the crying people in the center
-
Watch him jump and see your "kindness" points increase
-
Try to get the highest score!
-
Share your kindness achievements with friends!
-
Framework: eframe/egui for the UI
-
Audio: rodio for background music
-
Physics: Custom jumping mechanics with gravity simulation
-
Rendering: Immediate mode GUI with custom painting
You can modify various aspects of the app:
-
Change jump height in jump_height variable
-
Adjust gravity in gravity constant
-
Modify text effects duration and speed
-
Customize colors and visual appearance
Feel free to contribute to this parody project! Some ideas:
-
Add new animations and effects
-
Implement different "General" expressions
-
Create special achievements and milestones
-
Add sound effects for clicks and jumps
This project is licensed under the MIT License - see the LICENSE file for details.
This software is created purely for entertainment and educational purposes. All references to political figures are satirical in nature and not intended for serious political commentary.
Made with 🦀 Rust and 💖 (and maybe a little bit of 🎭 satire)
Star this repo if you've shown kindness to the General! ⭐


