Template tour¶
Play the scenes¶
Scene (Scene/...) |
Shows |
|---|---|
MainScene.unity |
Main menu: New Game, Continue, chapter select, Settings |
CampaignMode/E1M1_CastleEntrance.unity |
Movement, melee, key and door |
CampaignMode/E1M2_Underground.unity |
Ranged enemies, spikes, lava, secret room, shop, ambush |
CampaignMode/E1M3_MageTower.unity |
Everything plus the MageBoss boss |
Play MainScene for the full flow, or any level directly. Scene/CampaignMode/LEVELS.md describes how each
campaign level is built.
Default controls¶
| Action | Key |
|---|---|
| Move forward / back | W / S |
| Turn 90° left / right | A / D (not strafe) |
| Interact | E |
| Usable items | Y |
| Attack | Left mouse |
| Melee / ranged / throwable | 1 / 2 / 3 |
| Cycle weapon in category | Mouse wheel |
| Pause / photo mode | Esc / F2 |
Gameplay keys can be rebound in the Keybind settings tab (not Esc). The photo mode key is the Photo Mode Key
field of GameManagerUI (prefab UILevel); None disables it. Defaults: Scripts/Input/AiasInput.inputactions.
Turn rules
Moving, attacking and using an item spend the turn. Turning and interacting don't.
Know the folders¶
Everything is under Assets/DungeonCrawler/: Data/ holds ScriptableObjects (attack profiles, enemy AI,
equipment, loot tables), Prefabs/Core/ the scene building blocks, Scene/ the scenes, and Scripts/ the code
with one ARCHITECTURE.md per system.
Don't rename Resources
These are loaded by name. Edit them, but don't rename or move them: CampaignData (levels in order),
Difficulty, GameSettings (ammo, UI colors, etc.), WeaponRegistry (weapons the save can recreate),
Equipment/EquipmentCatalog, PlayerFaceCatalog (HUD portraits), UI/ConfirmPanel.
Key prefabs in Prefabs/Core/: CoreServices (save, input, audio, language), GameplayCore (GridMap,
TurnManager, level managers), Player, UILevel (all level UI) and AiasEventSystem.
Reference the assemblies¶
All game code is in AiasTech.Runtime; editor tools are in AiasTech.Editor (AiasTech.Setup.Editor always
compiles). Reference them from your own .asmdef, or keep your scripts in Assembly-CSharp, which sees them
automatically.