OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← Stage 4 · Mouse and events captures

Stage 4 · Mouse and events / 26 October 2026

Mouse, events and the clock

Goal: give the engine hit testing, mouse scripts, dragging, events, the game clock and timers. Outcome: the stage 4 sample could be dragged, hovered, clicked and scrolled, and a dot blinked on the game's clock; four of nine input probe cases differed and were fixed two days later.

The journal entry for this step

What these pictures can't show

  • A still picture cannot show the hover, the clicks, dragging or the blinking dot; the sample's own notes describe them.
  • Text was not drawn until stage 5, so the window has no title and the button no label.
A small window with a metal frame and rock background on dark grey, a grey square at its top left, a small red dot at its bottom left, a red button at its bottom right and a close button in its corner.

The mouse sample

Blizzard's ButtonFrameTemplate holding the stage 4 sample. Everything shows itself with colour: the grey square turns green under the mouse and its size follows the wheel, each click on the red OK button adds a gold block, and the red dot at the bottom left blinks twice a second through C_Timer.NewTicker.

Runner (no window) · Captured during the work · · 1280 × 800