Hangar Valley
DevlogTech · 1 of 3

The game runs inside Blender

Blender's own window with its menus, toolbar and outliner. The 3D viewport shows the game's meadow: long wind-blown grass, a gravel path, route posts and a row of trees in autumn colours, all drawn live by the game engine.
Not a render: the game itself, in Blender's viewport

This is the first of three devlogs for people who like to know how things work. No new features to play this time, but the tools I have been building behind the scenes, all of them around Blender.

Hangar Valley is made in Godot. Almost everything you see in it starts in Blender: the planes, the hangars, the trees, the people. Usually those two programs live apart. You model something in Blender, export it, import it into the game, start the game, walk to the spot, look, and go back to Blender. Over the last weeks I tore down that wall. The picture above is not a render and not a second window laid over Blender. It is Hangar Valley itself, running inside Blender and drawing into Blender's own 3D viewport.


How it works

Two views of one world

Blender with two views side by side. Left, the Scene view: the game's valley with three trees selected, outlined in orange by Blender. Right, the Game view: the game running, with the mission card 'Open the old hangar' and the runway lit by the low sun.
Left: the Scene view, with Blender's selection on the game's trees. Right: the game, running
The Game view in Blender: Henk the mechanic walks along a fence towards the old red hangar, with the mission card and the subtitle 'Henk. I'm only here to sell.'The story, playing in Blender
The Game view in Blender: the cockpit of the small plane inside the dark hangar, with the instrument panel and the map of the valley on the tablet.In the cockpit, inside the hangar

Both ways

The tree row in Blender: snow-covered spruces on a flowering meadow in the game's light.Snow on the spruces, in the tree row
Blender's viewport showing the game's lake between green mountains, with buttons for the seasons in the header.Season buttons above the lake

What fought back

It is a prototype, Mac only for now. Blender's overlays sit under the game's layer in the Game view, and there is one game viewport at a time.

Why

Because this is how I want to make the game: shape the world while you see the real game, with its light, its weather and its season, and walk into it a second later. The next two devlogs are about two things that took a lot of Blender's help: clothes that are sewn, and hair that is combed.

Feedback welcome

Behind the scenes, in three parts: 1. The game runs inside Blender · 2. Clothes cut from real patterns · 3. Hair, from a comb to a game

Come say hi on Discord. The game also streams live on Twitch, every night at 20:00 CET.

All devlog posts