Changelog: ByteInstyncts Desktop Pet

๐Ÿง  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

โœ… 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