{"id":35415870,"url":"https://github.com/akaiko1/raysandmagic","last_synced_at":"2026-06-14T20:01:06.044Z","repository":{"id":308012826,"uuid":"1031350470","full_name":"Akaiko1/RaysAndMagic","owner":"Akaiko1","description":"Ebiten-based game similar to M\u0026M3/4, easily customizable!","archived":false,"fork":false,"pushed_at":"2026-06-13T22:52:12.000Z","size":93108,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T00:22:30.009Z","etag":null,"topics":["constructor","ebiten","game","magic","might","might-and-magic","party","sandbox"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akaiko1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-03T14:59:47.000Z","updated_at":"2026-06-13T22:52:17.000Z","dependencies_parsed_at":"2025-12-31T06:03:27.564Z","dependency_job_id":null,"html_url":"https://github.com/Akaiko1/RaysAndMagic","commit_stats":null,"previous_names":["akaiko1/raysandmagic"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/Akaiko1/RaysAndMagic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akaiko1%2FRaysAndMagic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akaiko1%2FRaysAndMagic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akaiko1%2FRaysAndMagic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akaiko1%2FRaysAndMagic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akaiko1","download_url":"https://codeload.github.com/Akaiko1/RaysAndMagic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akaiko1%2FRaysAndMagic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34335688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["constructor","ebiten","game","magic","might","might-and-magic","party","sandbox"],"created_at":"2026-01-02T15:21:40.178Z","updated_at":"2026-06-14T20:01:06.036Z","avatar_url":"https://github.com/Akaiko1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RaysAndMagic\n\nA retro first-person party RPG built with Go and [Ebiten](https://ebitengine.org/). Lead a four-member party through raycasted dungeons and open wilds, fight in real-time *or* turn-based combat, learn spells from nine schools of magic, and hunt the four dragons that menace the realm.\n\n![A green dragon faces the party on a cliff causeway](src/dragon.png)\n\n## Screenshots\n\n| | |\n| --- | --- |\n| ![A puma prowls the highland meadows](src/wilds.png) | ![Speaking with Maera Cliffwatch above the dragon cliffs](src/encounter.png) |\n| *Open wilds with scrolling skies and biome flora* | *NPC encounters, quests, and lore* |\n| ![Paperdoll equipment and Culverts dungeon loot](src/inventory.png) | ![The fire spellbook with spell cards and tooltips](src/spellbook.png) |\n| *Paperdoll equipment \u0026 data-driven loot tooltips* | *Spellbook with per-school cards and live stats* |\n| ![Sorcerer character sheet](src/character.png) | |\n| *Full character sheet — stats, skills, and status* | |\n\n## Features\n\n- **Explore a hand-built realm** — the seaside city of Seabright, forests and deserts, ancient pyramids, the ocean depths, a lich's nexus, windswept dragon cliffs, and the sewers beneath it all\n- **Build your party** from six classes: Knight, Paladin, Archer, Cleric, Sorcerer, and Druid\n- **Fight your way** — switch between real-time and turn-based combat whenever the moment calls for it\n- **Master nine schools of magic** spanning the elements, mind and body, and light and dark — then choose your damage to exploit what each foe can't withstand\n- **Loot and outfit your party** with weapons, armor, and consumables, each with the full stats laid bare before you commit\n- **Take on quests** from the realm's townsfolk and traders, and the bosses that lurk in the depths\n- **Retro raycast visuals** — sprite enemies, scrolling skies, biome textures, and spell-effect particles\n\n## Quick Start\n\n**Requirements:** Go 1.25+, Ebiten v2.9\n\n```bash\ngo mod tidy\ngo run .\n```\n\n**Build local binaries:**\n\n```bash\nmkdir -p bin\ngo build -o bin/raysandmagic .\ngo build -o bin/map_viewer ./assets/map_viewer\n```\n\nThe game and map viewer locate `config.yaml`/`assets/` next to the binary or one directory above it, so local `bin/` builds run against the repo-root data files.\n\n**Build icon-bearing app bundles (.app + .exe):**\n\n```bash\n./build_bin.sh\n```\n\n**Release archives** for macOS Intel, macOS Apple Silicon, and Windows (game + map viewer):\n\n```bash\n./build_mac_release.sh\n```\n\n## Controls\n\n| Key             | Action                              |\n| --------------- | ----------------------------------- |\n| WASD / Arrows   | Move and turn                       |\n| Q / E           | Strafe left / right                 |\n| R               | Weapon attack (melee or ranged)     |\n| Space           | Smart attack / confirm action       |\n| F               | Cast the selected spell             |\n| C or H          | Cast your best healing spell        |\n| 1–4             | Select active party member          |\n| Tab             | Toggle real-time / turn-based       |\n| I               | Inventory \u0026 paperdoll               |\n| P               | Character sheets                    |\n| M               | Spellbook                           |\n| J               | Quest log                           |\n| T               | Talk to a nearby NPC                |\n| ESC             | Menu / close dialogs                |\n\n## Project Structure\n\n```text\n├── main.go              # Entry point\n├── assets/              # Game data (YAML configs, maps, sprites)\n│   ├── *.yaml           # Items, weapons, spells, monsters, quests, NPCs, tiles, maps\n│   ├── *.map            # ASCII map files\n│   ├── sprites/         # Character, monster, and tile sprites\n│   └── map_viewer/      # Standalone map viewer tool\n└── internal/            # Game packages\n    ├── game/            # Core loop, combat, UI, rendering, effects\n    ├── character/       # Party, classes, stats, equipment, NPCs\n    ├── monster/         # Monster \u0026 boss AI and configuration\n    ├── items/           # Item system\n    ├── spells/          # Spell casting system\n    ├── quests/          # Quest tracking\n    ├── world/           # Map loading and tile system\n    └── config/          # YAML loaders\n```\n\n## Content Files\n\nAll game content is data-driven — add or tune content by editing YAML, no code changes required for most additions.\n\n| File               | Purpose                                                              | Guide                                           |\n| ------------------ | ------------------------------------------------------------------- | ----------------------------------------------- |\n| `items.yaml`       | Armor, accessories, consumables, resistances                        |                                                 |\n| `weapons.yaml`     | Melee and ranged weapons                                            | [Adding a weapon](how_to_add_a_new_weapon.md)   |\n| `spells.yaml`      | Spells with damage, healing, and effects                           | [Adding a spell](how_to_add_a_new_spell.md)     |\n| `monsters.yaml`    | Monster/boss stats, AI flags, and map letters                      | [Adding a monster](how_to_add_a_new_monster.md) |\n| `quests.yaml`      | Quest definitions and rewards                                      |                                                 |\n| `npcs.yaml`        | NPCs (merchants, spell traders, encounters, quest-givers)          | [Adding an NPC](how_to_add_a_new_npc.md)        |\n| `loots.yaml`       | Monster drop tables                                                |                                                 |\n| `tiles.yaml`       | Tile types per biome                                               | [Adding a tile](how_to_add_a_new_tile.md)       |\n| `map_configs.yaml` | Per-map settings, per-biome floor textures, clear-encounter chests |                                                 |\n\n## Map Format\n\nMaps are ASCII files where each character represents a tile or entity:\n\n- `.` Floor / `#` Wall / `+` Player start\n- `T` Tree (biome-dependent) / `W` Water / `D` Door\n- Lowercase letters spawn monsters (resolved biome-first, e.g. `r` = rat, `c` = puma)\n- `@` marks an NPC/special tile position, defined at the end of the line with `\u003e[npc:key]`\n\n## Development\n\n```bash\ngo fmt ./... \u0026\u0026 go vet ./...    # Format and lint\ngo test ./...                    # Run tests\ngo test -race -cover ./...       # Race detector + coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaiko1%2Fraysandmagic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakaiko1%2Fraysandmagic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaiko1%2Fraysandmagic/lists"}