Vǫrðr Forge Steam page

Documentation

These are the 117 pages of the wiki inside the editor (Help > Vǫrðr Wiki). The site copy and the editor copy are the same text.

Start here

Getting Started

  • Welcome to VǫrðrVǫrðr is a game engine and editor for 2D, 2.5D and 3D games.
  • Your First ProjectVǫrðr opens on the start page. Your projects are shown as a grid of pictures; click one to open it. The rail on the left also has Open a folder... for a project that is not in t...
  • TutorialsA tutorial is a quest log for making your first game.
  • The EditorThe editor is one window. The open map fills the middle, and the panels sit around it.
  • The ViewportThe viewport is the open map, drawn live.
  • Placing and EditingThese are the map's keys. In the Outliner's list, Ctrl+click adds a prop to the selection or takes it back out, and Shift+click selects every row from the last one clicked to th...
  • Playing Your GamePress F5 or the viewport's Play and your game runs right inside the viewport.

Building a World

  • Maps and TravelA game is a set of maps. Each map has a name and its own document in assets/maps/.
  • Arriving on a MapThe player arrives on a map by a travel, by a loaded save, at the start of a test, or by rekindling after a death.
  • Views and DimensionsTwo project settings decide how your game is seen: the dimension (what the world is made of) and the view (where the camera looks from).
  • Terrain GeneratorTools > Terrain Generator grows a whole landscape into the open map: height, climate, water and the ground's look.
  • Landscape ModeMap > Landscape Mode reshapes the map's ground by hand, whether it was generated or started flat.
  • Sky and Time of DayEach map has one sky or none. It is a row in the Outliner. Select it to see its settings in Properties: which sky document it wears, the sky type, atmosphere, stars, star turn, ...
  • LightingLight matters once a map is dark: at night, indoors, or when the map's darkness is turned up.
  • WeatherEach map picks its weather in Map > Map Settings: a pattern and an amount.
  • WaterWater comes five ways: the sea of generated terrain, lakes and rivers you lay on the land, oceans you place, pools you paint, and art that is water.
  • Rivers and FallsA river is drawn as a curve and carved into the land.
  • MaterialsA shader effect (see Shader Effects) is how the whole game is drawn.
  • MirrorsAny model prop can be a mirror. Its mirror face is the top of its box, so a plane is the natural shape for one.
  • CollisionCollision decides what blocks walking and what stops shots.
  • PathingEnemies chasing the player, and villagers sent somewhere by a script, find their way around walls and props on their own.
  • Minimap and Fog of WarIn play, M cycles the chart: a corner minimap, the full chart, then off.

Characters and Gameplay

  • CharactersA character is an asset document, a .vfa file, built from components: the model or sprite it wears, how it moves, how the camera follows it, how big its body is, its stats and w...
  • Importing ModelsVǫrðr reads FBX, OBJ, glTF (.gltf and .glb), VRM and Unreal Engine .uasset models directly: meshes, levels of detail, skeletons, animation clips, textures and materials.
  • Play As and One-Click CharactersDrop a model on the editor, press Play as, press Play.
  • Auto RigAuto Rig gives a model with no skeleton a skeleton of 28 joints and the skin weights to move with it.
  • Motion LibraryThe Motion Library is a set of forty clips that ships with the engine.
  • The Asset ManagerTools > Asset Manager... opens the asset manager: one window that opens any asset in the project. Double-click a file in the Content Drawer, or press Open in Asset Manager in a ...
  • AnimationA model character plays clips from the folder its Mesh component names.
  • NPCs and DialogVillagers (NPCs) are the people of your world: they stroll near home, talk, sell, and can carry quests.
  • Enemies and SpawnersAn enemy type is a name with a body and numbers.
  • Loot Per EnemyWhat an enemy leaves behind when it falls is chosen per enemy type, on Edit > Project Settings > ENEMIES > Loot.
  • Killable CharactersA villager is safe from the player unless you say otherwise.
  • Calm CharactersA calm character is a villager, a shopkeeper or an animal that is not aggressive.
  • Enemy Health BarsA hurt enemy shows a health bar over its head.
  • Names Over CharactersIn play a character's name can float over its head: a villager's as she walks up to it, an enemy's once it is hurt, or everyone's at any distance.
  • BestiaryThe game counts every enemy the player defeats, by type, and can list the counts on a game screen of their own.
  • CompanionsCompanions fight beside the player.
  • CombatA project fights one of three ways, set by two lines in game.vdc.
  • Attributes and LevelingNo stat is built into the engine.
  • Skill TreesTrees, tiers, costs, requirements and effects are data in assets/data/skills.vfa.
  • MagicMagic is four tables, all in assets/data/, all shipped full so you cut rather than start from nothing:
  • ConditionsA condition is something happening to a body over time: poisoned, burning, blessed, stunned, warded.
  • NeedsHunger, Thirst, Tiredness, Cold and Heat: five meters for the player, each from 100 (met) down to 0, each draining over the world's seconds and putting on a condition when it ru...
  • Items and EquipmentThe Catalog page of Edit > Project Settings (under ITEMS) is the catalog: every blade, gun, piece of armour and potion your game can hand out, and the blanks the Loot Forge buil...
  • InventoryWhat the player carries and what limits it.
  • ContainersA container keeps what is put in it: a chest, a barrel, a wagon, a stash.
  • The Loot ForgeThe forge makes named, randomised gear scaled to the player: "Keen Seax of the Bear", "Cracked Bearded Axe", "Savage Cleaver of the Giant".
  • CraftingEvery recipe is a row of assets/data/recipes.vfa, and Edit > Project Settings > ITEMS > Recipes edits them by clicking, with items, stations and skills picked from lists.
  • MoneyWhat the player carries to spend.
  • ShopsA merchant's counter: what they sell, what they buy, what it costs and how prices move.
  • QuestsA quest is one quest row in assets/data/quests.vfa, and its whole life runs on flags: the same flags any script sets.
  • Factions and ReputationEvery group in your world lives in assets/data/factions.vfa.
  • ConsequencesEvery game decides what death means, how saving works and what the world remembers.
  • PhysicsPhysics bodies are crates and balls that fall, stack, roll and can be thrown.
  • VehiclesA vehicle type is a record made on a page; a vehicle is a placed object that names its type.
  • Time and VisionThree effects a script can switch on: slow motion, rewind and a vision mode.
  • Endings and DifficultyThe action endgame ends the story.

Scripting with Rûn

  • Rûn BasicsRûn is how things happen in your game: a door opens, a villager speaks, a quest moves on, the camera sweeps over a valley.
  • Line ScriptsA line script is a set of sections.
  • Block ScriptsA block script is written with braces.
  • Rûn ProgramsA program is Rûn for logic: variables, arithmetic, if, while, for, functions with typed parameters, and engine objects such as Player, Camera and World.
  • Events and TriggersAn event is a named script that the world calls.
  • Variables and CountersA variable is a named number or a piece of text that your events make and read.
  • CutscenesA cutscene is an event that takes the controls, plays timed beats, and gives the controls back.
  • Rûn ToolsPress the ` key, or choose Tools > Rûn Console, and the console opens as the Rûn Console tab beside the Content Drawer.
  • Debugging ScriptsTools > Event Debugger... watches scripts run, holds them at the lines you choose, and steps through them. It debugs line scripts (assets/events) and Rûn programs (assets/script...

Rûn Language

Art, Audio and Interface

  • The Content DrawerWindow > Content Drawer shows the project's files: a folder tree on the left, the open folder's contents as tiles on the right, and how many objects it holds.
  • The Image EditorTools > Image Editor... edits pictures inside the engine. What you make is an ordinary PNG in your project.
  • RenderStageTools > RenderStage... turns a 3D model into sprite sheets: the model is posed on a stage, filmed from eight directions frame by frame, and baked into a sprite character (.pvc) ...
  • Portrait StudioTools > Portrait Studio..., or Portrait in the Animations window, makes one picture of a 3D character: a menu portrait, a dialog face, a bestiary picture.
  • Effects and ParticlesEvery effect is a named recipe. Spells, guns, combat, scripts and placed art all call effects by name. A spell or a gun naming an effect that does not exist simply shows nothing.
  • Shader EffectsA shader effect is how the whole world is drawn: light in steps instead of a smooth gradient, outlines, hatching, a colour grade, paper grain and the rest, and never the interfa...
  • Sound and MusicSound files live in the project's assets/audio/ folder: WAV, MP3, FLAC or OGG.
  • Battle MusicMusic for a fight comes two ways: a battle place can have its own, and the project can have one battle song that follows the enemies.
  • The Vǫrðr DAWTools > Vǫrðr DAW... opens on two tabs. Song writes whole pieces of music. Sound makes sound effects from nothing but math: every sound is built from sine waves.
  • The UI EditorThe UI Editor paints the screens your game shows: the HUD, the main menu, the pause menu, the character sheet, the conversation box, shops and the rest.
  • Interface Style PacksA style pack decides how your game's windows and menus look.
  • The Action BarThe action bar is the row of slots on the play screen: the hotbar's items first, then the attack, then learned spells, on the number keys 1 to 9 and 0.
  • The Dialog BoxThe dialog box is the window a conversation shows in: the speaker's name, the page of speech, the replies.
  • The Player Settings MenuEvery game ships with a full settings menu: Options, with Audio, Video, Controls and Gamepad behind it, and a small Keep these settings? card for display changes.

Shipping

  • Project SettingsEdit > Project Settings... opens the settings window. Down its rail, EDITOR holds your own preferences (see Editor Preferences), PROJECT and LOOK hold this game's, and a group f...
  • Words and NamesEvery word your players read is a row of Edit > Project Settings > PROJECT > Words.
  • Exporting Your GameExport is part of the full version of Vǫrðr.
  • Saving and SlotsHow the player saves, how many saves they get, and what the game shows and plays when it happens.
  • Saves and Player FilesOne save captures the whole game in one pass: the current map, the day and the hour, the player's position, height and facing, the events' variables, the enemies defeated (Besti...
  • Project SafetyWhat the editor does to keep a project from being damaged by a version change: a backup before an older project is opened, a converter that asks first, and a read-only mode for ...
  • Controls and GamepadEvery game reads the keyboard, the mouse and any XInput controller (an Xbox pad, or a pad that works like one) at once, with nothing to set up.

Reference

  • Rûn Verb IndexEvery verb Rûn knows, read from the engine's own verb table, so nothing is left out; Line Scripts explains how a script is put together.
  • Game Config Keysassets/game.vdc is the game's own settings, one key value per line.
  • Data TablesEverything gameplay-shaped is a table document in assets/data/.
  • File FormatsEvery Vǫrðr file is plain text unless noted, one idea per line, with # comments.
  • Editor PreferencesEdit > Editor Preferences holds your own settings for the editor.
  • Keyboard ShortcutsThese are the defaults. Change them in assets/editor.keys in the engine folder (one action KEY per line); the editor reads it when it starts. See them on Editor Preferences > Sh...