OAP Lizzard A game interface engine
Game interfaces, outside the game Settings

Building Lizzard / The development journal

Project journal

Milestones, decisions, experiments, mistakes and fixes, newest first. Open an entry for what was checked, the outcome and what is still uncertain. An entry written after the day it describes says when it was written.

Journal entries

Find entries

1–4 of 4 entries for Godot · Lizzard in a Godot game (of 61 in the journal), newest first. Show all

event Godot · Lizzard in a Godot game Milestone

The Godot game window, made to behave like the live window

On 5 November the Godot game was made to behave like the live window: it keeps its placement and settings, zooms and scrolls by the same rules, and saves the player's addon data. Two false starts on zoom and a stalled toolbox were fixed on the way.

Read the entry: The Godot game window, made to behave like the live window

I reported that the Godot game remembered nothing of its window and that zoom didn't work. It now keeps its place, its settings and the addons' data as the live window does.

Zoom took three tries. The first typed the zoom levels out again in a second place ('this is why you don't duplicate code', I pointed out), and the next made the picture blurrier instead of bigger. It now uses the live window's own code. Left open: why Windows flags Godot's window as not responding although it answers within milliseconds.

Three entries told this one step at a time. At my request (10 November 2026) they're brought together here, each kept whole below with its own date and kind; links to them still arrive here.

The entries brought together here (3)

event Milestone
The Godot window behaves like the live window

The Godot game now saves its placement and settings, uses the same zoom, fit and scroll rules as the live window, and saves the player's addon data as the live window does.

The.Pootler reported that the Godot game remembered nothing of its window and that zoom did not work. It now has its own section of the window settings file (its window, the toolbox, vsync, frame cap, painter, zoom, frame boxes and highlight), written when it closes and applied at the next start; two runs put both windows back exactly where they had been left. A vsync option went on the Screen tab for both hosts, and the Godot game now tells the world when the mouse leaves its window, so a hover highlight no longer sticks.

The.Pootler then pointed out that setting 2560 x 1440 in the Godot toolbox gave no way to see the rest of the screen: the requested screen size, Godot's window and the painter had come apart. The Godot window is now a view of the screen, as the live window is: Fit to window, Godot's own scroll bars above fit, and the same placing maths for both windows. Resizing the window no longer forces the resolution; a 'Follow the window' tick on the Screen tab does that for either host.

A 'resolution' test step lets a script set the screen size over the pipe, since UI Automation cannot drive the tab's combo box. Checked from a fresh start: 3840 x 2160 over the pipe, the whole screen shown at 60%, two wheel steps in with scroll bars, then Follow ticked. The shared zoom code has no unit test, because the test project does not reference the Windows Forms toolbox.

In the evening the Godot run stopped being read-only: SavedVariables and the game's settings are written at a reload and on closing, and the toolbox's choices are saved, as in the live window. The.Pootler's words: it should behave the same as the live window.

event Fix
Toolbox clicks stalled behind Godot's thread

An earlier fix that made the Godot window own the toolbox tied the toolbox's input to Godot's busy thread. It was replaced, and the game's failure to come forward from the taskbar was traced and fixed.

The.Pootler reported four things: the toolbox was very sluggish ('is it really on its own thread?'), the taskbar could not bring the game to the front, it ran at only 165 fps, and the hover highlight did not work. Real mouse clicks on the toolbox's tabs were measured. With the owner link added earlier that morning to keep the toolbox above the game, most clicks never registered within 10 s; without it they took 15 to 630 ms. In Windows, a window owned by another thread's window shares that thread's input handling, and Godot's thread runs flat out. The toolbox now follows the game through a WinEvent hook instead.

165 fps was vsync at the primary monitor's 165 Hz, not a painter limit. The hover highlight was built into the shared quad code, so both GPU painters draw it.

The taskbar problem did not reproduce at first. On the running game it turned out to have two causes. The toolbox was a taskbar window, so Windows grouped it with the game into one button that opened a thumbnail chooser. And after a thumbnail click, Windows made the game the foreground window but left it below the window in front, as a 50 ms recording of the foreground window and z-order showed. The toolbox is now kept off the taskbar, and the game raises itself when it gains focus. The.Pootler confirmed it works.

Also found: once, a scripted click went into The.Pootler's own World of Warcraft window, which had come to the front; the input script now refuses to send unless the Godot game is in front. Windows flags Godot's window as hung although it answers within milliseconds, and a plain Godot project-manager window is flagged the same, so the cause lies inside Godot. Not verified; left alone.

event Mistake and fix
Zoom in the Godot game: copied first, then done the wrong way

The first Godot zoom repeated the live window's zoom list in a second place, and its first working version made the UI blurrier instead of bigger. Both were corrected the same morning.

Asked to make Alt+Shift+wheel zoom work in the Godot game, the session first typed the zoom levels again in the Godot window. The.Pootler: 'this is why you don't duplicate code'. The levels, the next step from a wheel turn and the Alt+Shift test moved into one shared file that both windows use.

That version still zoomed the wrong way. It made the world smaller and drew it bigger. WoW's UI is laid out in units relative to the screen, so it came out the same size, blurrier, with a flicker as the world rebuilt. The.Pootler: 'nothing zooms - just flickers or becomes blurry'.

The fix uses the live window's method: the world keeps its resolution, and the picture is drawn zoom times as big, scrolled and clamped, with the pixel under the mouse kept under it. The placing maths is shared too. Checked by grabs of the Godot window at 150% and 100%, and by the game's own log of each wheel step.

Link to this entry
event Godot · Lizzard in a Godot game Change of direction

Who hosts with Godot: reasoned through, and one correction

Asked to reason it through rather than take my word for it, the project decided that Godot owns the process and the window while Lizzard's own threads run everything else. A note calling Vulkan inside a Windows Forms window unproven was corrected the same day; the decision stood.

Read the entry: Who hosts with Godot: reasoned through, and one correction

Reasoned through, the answer was that Godot owns the process and the window and only draws; the game loop, interface, game state and input run on Lizzard's own threads, and one toolbox serves every host.

Another project's notes then showed Vulkan working inside a Windows Forms window, the route Lizzard's notes had called unproven, so the notes were corrected. The decision stood, and I closed the question the same day.

Two entries told this one step at a time. At my request (10 November 2026) they're brought together here, each kept whole below with its own date and kind; links to them still arrive here.

The entries brought together here (2)

event Change of direction
Who hosts with Godot: reasoned, not taken on trust

First noted as Lizzard hosting, the question was reopened at The.Pootler's request and reasoned through. Godot owns the process and the window; Lizzard's threads own everything else; one shared toolbox serves every host.

Early on 5 November the plan noted Lizzard as the host. The.Pootler then said that Lizzard makes its own design decisions and should not take The.Pootler's word for it, but think it through. The question was recorded as open, with the reasoning: the engine is already a library with three hosts; Godot is built to own its main loop and window; and putting Godot inside a Windows Forms window needs LibGodot, a custom Godot build to keep up for ten years.

Decided: Godot owns the process and the window, and only draws. The game loop, logic, UI, game state and input handling run on Lizzard's own threads, and Godot's thread takes the newest display list through a one-slot handover (one field, no queue, no lock, no pixel copy). The.Pootler's conditions: a fast link to the toolbox, every testing facility working against the Godot run, and one set of code.

Built the same morning in six steps: a Windows Forms window running on its own thread inside Godot's process at 60 fps; one quad builder for both GPU painters; the toolbox in its own project behind an IGameWindow interface; one start-up (LizzardApp) shared by every window; the Godot host; and both runs checked by pictures and scripted tests over the pipe. One of three scripted runs against Godot reported a failure whose cause is not known; it was not seen again. The Godot game also became an ordinary project of the solution, with no launch script.

That evening F5 failed for The.Pootler: the project path ended in a backslash, which escaped the closing quote of Godot's --path argument. A dot after the path fixed it, and The.Pootler confirmed. The decision was closed late that evening.

event Correction
Embedded Vulkan had been proven after all

Lizzard's architecture notes called Vulkan inside a Windows Forms window unproven. Another project's hosting notes show it working, so the statement was corrected; Lizzard's hosting decision stood.

The.Pootler pointed at another project's hosting notes. That project took the other route: its own C# window owns the process and native input, and Godot runs on a separate thread through LibGodot, drawing into a child surface. Its deciding requirement is a window and input that stay responsive while Godot's thread stalls.

Its proof renders embedded in windowed, maximised and borderless modes, though not in exclusive full screen, and production coverage is not established. By its own 12 matched runs it costs 2.6% to 14.8% of callback throughput. Lizzard's Hosts section was corrected to say so.

Lizzard's choice stayed. With Godot owning the window, window handling and input wait for Godot during a Godot stall, while the UI and world threads carry on. The.Pootler closed the question the same day: Godot owns the window.

Link to this entry
event Godot · Lizzard in a Godot game Experiment

The Forever UI over a Godot 3D scene, and a painter rebuilt for it

A small Godot game showed Lizzard's Forever UI over a 3D scene, driven by the same host and pipe as the live window. Its first painter left out about a fifth of the items; rebuilt on the Direct3D painter's design, it now draws them all within 2/255 of the software painter.

Read the entry: The Forever UI over a Godot 3D scene, and a painter rebuilt for it

I asked for Godot to be hooked up with a sample 3D scene and the Forever interface over it. The pipe worked, but the Godot canvas left out 68 of 358 items: masked, tiled, additive and desaturated ones.

I called the result 'near rubbish'. The painter was rebuilt to follow the Direct3D painter's design, with its shader copied into Godot's shading language; the demo then drew all 358 items at 60 fps, and every test pixel came within 2/255 of the software painter. The cost is a third copy of the painting rules, kept in step only by tests.

Two entries told this one step at a time. At my request (10 November 2026) they're brought together here, each kept whole below with its own date and kind; links to them still arrive here.

The entries brought together here (2)

event Experiment
The Forever UI over a Godot 3D scene

A small Godot game showed Lizzard's Forever UI over a 3D scene, run by the same host and pipe as the live window. Its canvas could not yet draw about a fifth of the items.

The.Pootler asked for Godot to be hooked up with a sample 3D scene and the Forever UI loaded over it. A Godot 4.7.2 .NET game owns the window and the 3D scene (Vulkan); Lizzard runs the UI on the host's world thread with the live window's choices, and the Godot canvas draws its display lists over the scene. The pipe works: scripted steps opened the game menu with Escape.

Measured: 9,324 frames, 11 addons, 75 load errors, about 165 fps. The canvas left out 68 of 358 items (31 masked, 30 tiled, 3 additive, 4 desaturated), counted on screen. F2 shows the software picture for comparison.

Not checked at the time: real mouse and keys in Godot's window. A key sent from outside did not arrive; the pipe's steps did.

event Mistake and fix
The first Godot painter was 'near rubbish'

The Godot painter taken over from another project left out masks, tiling, additive blending and desaturation. Rebuilt on the Direct3D painter's design, it now draws every rule within 2/255 of the software painter.

In the Forever demo the Godot canvas refused 68 of 358 items. The.Pootler called the result 'near rubbish' and asked for it to be fixed, with no plan entries and no proposals.

The painter now follows the GPU painter's design. Each item becomes the same quads, their numbers go into a float texture, and a Godot shader, a copy of the Direct3D shader in Godot's shading language, applies the rules: sampling, tiling, atlas pieces, mirrored coordinates, desaturation, vertex colour, two masks and glyph coverage. Godot blends each run of quads by its mode, so ADD and MOD work over the 3D scene. Still no frame is copied or read back.

Checked: the Godot test gained scenes for textures, mirrored coordinates, and ADD, MOD and ALPHAKEY over the 3D scene; 17 checks pass, every pixel within 2/255 of the software painter. The demo draws all 358 items at 60 fps. The cost is a third copy of the painting rules, kept in step only by the drift tests.

Link to this entry
event Godot · Lizzard in a Godot game Milestone

A Godot painter, taken over from another project

The Godot canvas painter that another project had proven was extracted into Lizzard as an optional third painter, beside the software and Direct3D ones.

Read the entry: A Godot painter, taken over from another project

I asked for another project's proven Godot painter to become an optional Lizzard backend, drawing with Vulkan with nothing copied back. Its own world and benchmarks stayed out, and its code wasn't edited.

A test compares Godot's pictures with the software painter's in a real window: 17 checks pass, every pixel within 3/255, after the test found several differences from the original copy. What it can't draw yet, such as masks and tiling, it refuses with a reason rather than drawing wrongly.

Link to this entry