Skip to content

XiayiZhang/Sun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enqing App - Click the People, Accumulate Kindness for General! 🇰🇵

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.

general

⚠️ Disclaimer: This is a parody software for entertainment purposes only. Not affiliated with any government or political entity.

🎮 Features

  • ✅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.)

🖼️ Screenshots

screen shoot 1

screen shoot 2

The General awaits your kindness...

🚀 How to Run

Prerequisites

Rust and Cargo installed

Installation

# Clone the repository
git clone https://github.com/XiayiZhang/Sun.git
cd Sun

# Run the application
cargo run

you can also download the release version in RELEASE.

Optional Assets

  • 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)

🎯 How to Use

  1. Launch the application

  2. Click on the crying people in the center

  3. Watch him jump and see your "kindness" points increase

  4. Try to get the highest score!

  5. Share your kindness achievements with friends!

🛠️ Technical Details

  • 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

🎨 Customization

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

🤝 Contributing

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

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Legal Notice

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! ⭐

About

Enqing App - Click the people, Accumulate Kindness to General! 🇰🇵

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages