A tiny developer companion living on your desktop.
Salem.exe is a cozy 2D desktop companion built with Godot. The MVP focuses on a small virtual cat named Salem who sits above your desktop, moves around, reacts to simple interactions, earns Cozy Points slowly, and exposes clean extension points for future developer integrations.
- Borderless transparent desktop window configured for always-on-top mode.
- Draggable pet with saved position.
- Configurable finite state machine with
idle,walk,sit,sleep,eat,play,stretch,curious, andjudge. - Non-punitive needs: energy, hunger, affection, and mood.
- Personality profile that changes behaviour weights.
- Cozy Points progression.
- Initial interactive objects: Cardboard Box, Laptop, and Cat Bed.
- Random event system with functional
zoomies,stare_into_void, andrandom_sleepevents. - Day-period service for morning, afternoon, evening, night, and late night.
- Mock developer activity provider for commit, tests passed, tests failed, and break events.
- Optional Pomodoro timer that can request breaks.
- Placeholder audio service with cue names ready for royalty-free assets.
- Runtime sprite loading from the organized Salem 64x64 sprite collection.
- Local JSON persistence with save versioning and safe fallbacks.
- Settings menu and debug panel for development builds.
The current MVP loads 64x64 PNG sprites when available and falls back to generated placeholder shapes. Salem's current sprite collection lives under:
assets/pets/salem/sprites/salem_sprite_collection_v1/salem_sprite_collection_v1/
- Godot Engine 4.2 or newer.
- Windows is the initial target platform.
Open this folder in Godot and run the main scene:
res://scenes/main.tscn
The configured entrypoint is already set in project.godot.
With Godot available in your PATH:
godot --headless --path . --script res://tests/domain_cli_test.gd
- Left-drag any free area to move the whole Salem.exe window.
- Right-click anywhere in the window to open the interaction menu.
- Press
F12in debug builds to open the developer panel and force moods, states, events, and reactions.
src/
core/ global orchestration, logging, save, settings, time
pet/ Salem controller, FSM, stats, mood, personality, view
progression/ Cozy Points and object unlocks
objects/ interactive desktop objects
events/ random event definitions and manager
integrations/ developer, system activity, and Pomodoro abstractions
audio/ placeholder cue service for future sound assets
platform/ desktop window abstraction
ui/ interaction menu, settings, debug, HUD
Domain decisions are kept outside the UI where practical. State selection, stat decay, mood calculation, event cooldowns, and progression are isolated so they can be tested or tuned without rewriting scenes.
- Art and animation are placeholders.
- Selective mouse passthrough is wrapped in
DesktopWindowManager, but platform behaviour must be validated on the final target machine. - Developer integrations are mock-only. The MVP does not read repositories, IDE data, or user files.
- Audio architecture is planned but no sound assets are included yet.
- Automated Godot test tooling is not configured yet.
- v0.1: Desktop overlay, pet FSM, placeholder animation, interaction, save.
- v0.2: Deeper mood/personality balancing, object-specific actions, Cozy Points unlock flow.
- v0.3: Sound, richer settings, stronger day/night presentation.
- v0.4: Opt-in Git and editor integrations, Pomodoro polish, developer reactions.
- v0.5: Multiple pets, customization, themes, sprite packs.
- v1.0: Release packaging, achievements, cloud save, workshop-style custom pets.
The MVP does not collect data, send telemetry, call external services, or inspect arbitrary files. Future developer integrations should remain opt-in.
Keep changes small, readable, and aligned with the existing structure. Prefer configurable resources and focused services over large nodes with mixed responsibilities.
License not selected yet. Add one before public distribution.