A tiny desktop companion inspired by classic virtual pets. Retro Pet is built in Rust with eframe/egui, draws its own pixel-style pet, and keeps your pet alive between app launches.
- Native desktop window with a retro handheld-style interface
- Randomly generated pets with names, personalities, palettes, body shapes, eyes, and antenna variants
- Persistent state saved locally as JSON
- Food, happiness, energy, and cleanliness meters that change over time
- Simple care actions: feed, play, nap, and wash
- Responsive layout: the pet screen and buttons scale with the window
Install Rust, then clone and run:
git clone git@github.com:forjd/retro-pet-rust.git
cd retro-pet-rust
cargo runFor a quick compile check:
cargo checkRetro Pet autosaves every few seconds and on normal app exit. On macOS, save data is stored at:
~/Library/Application Support/com.Codex.RetroPet/pet.json
Deleting that file creates a fresh random pet the next time the app starts.
- Rust 2024 edition
eframe/eguifor native UIserde/serde_jsonfor persistencedirectoriesfor platform-aware save pathsrandfor pet generation
MIT. See LICENSE.
