ByteInstyncts Desktop Pet
A Win32/GDI+ desktop assistant with transparent overlay and battery-driven behavior system.
C++Win32 APIGDI+Sprites
Latest Blog Post
No blog content available for this project yet.
Project Dev Log
๐ง Sentient Cyber Desktop Pet: Early Systems Online
๐
2025-06-28 ยท Instynct Bytes Companion System
๐งญ Focus: Charging logic, movement AI, energy mechanics, tray interaction, debug pipeline
๐ User-Facing Features
- [โ] Command Kiosk is now in
Pet can recharge when dragged onto it. It's just a demo for now but it sets the stage for commands, quests, storage and more - [โ] Energy system is live
Passive drain over time with recharging at dock and full depletion logging - [โ] Idle and walk animations work
Includes flipped frames and variable-width walk cycles - [โ] Movement reacts to desktop surfaces
Pet won't walk off screen or fall through other windows - [โ] Simple tray icon added
Right-click gives options to pause, show or exit
๐ง Under the Hood
- [โ] Uses GDI+ for alpha-layered sprite rendering
Each frame is drawn into a 32-bit DIB and pushed via UpdateLayeredWindow - [โ] Command Kiosk uses gravity
It falls until it finds a surface and rests there without topmost flags - [โ] Docking logic is latched
Once dragged over the kiosk, the pet stays docked until it moves off - [โ] Debug output is toggleable
Controlled by a global flag in DevSettings and routed to OutputDebugString - [โ] Recharge system is modular
Can recharge passively or through direct calls for future extensibility
๐ Notes
- Pet stays idle while dragging to avoid weird animation states
- Tray tooltip still says "ByteCritters" and needs updating
- All engine behavior is modular under InstynctEngine, EnergySystem, and CommandKiosk
- Walk and idle framerates are defined in one place for easy tuning
- Planning to add emotion and status feedback later on
๐ Related Threads and Links
- Discord thread: Sentient Cyber Desktop Pet Progress โ
- Source files:
CommandKiosk.cpp,EnergySystem.cpp,InstynctEngine.cpp
โ Progress Checklist
- Pet rendering with transparency
- Drag logic and surface physics
- Energy and charging mechanic
- Tray icon with toggle menu
- Command kiosk working demo
- Emotive or idle variants
- Interactive command system
- Save and load logic
- Config toggles and settings
- Visual indicator for docking