OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← The journal
Stage 5b · Stand-in game Milestone follow-up

Spells dragged from the spell book onto the action bar

I wanted to drag a spell from the spell book onto an action bar. Trying that small step showed why none of Lizzard's action buttons had ever worked.

Lizzard's game screen with the Spellbook open on its General page (Attack, Dodge, Armor Proficiency, Languages, Block, Parry) and, at the bottom, the main action bar with a small sword icon over its third slot.
Attack has been picked up from the General page of the spell book and is held over the third slot of the main bar: its icon follows the mouse, drawn by Lizzard as the game draws a held spell in place of the pointer. The stand-in player, named Lizzard, is a level 10 Paladin.
Read the entry: Spells dragged from the spell book onto the action bar

Lizzard had no cursor that could hold anything, and every action bar slot was empty. Both now exist as Forever's own interface code expects: a spell follows the mouse into a slot, or swaps places with one already there.

Trying it with Blizzard's real interface found four faults deeper down. A click looks up its action with a three-part lookup that Lizzard read as a single name, so no action button's click had ever done anything. Every button had been given slot 1. Every bar showed its first page. And a filled button drew its slot art over its icon.

Not there yet: the bars empty on reload, and nothing can be cast from them.

Follow-up, : Trying it, I found the drag juddery. The spell's icon was part of a picture redrawn at most 30 times a second, so it lagged behind the mouse. Making it the window's own pointer fixed that. Pictures taken without a window, and the Godot game, still draw the icon.

Follow-up, : The journal now shows the moment before the drop beside this entry. Open the picture to see Attack held over slot three, then step to the next frame to see where it landed.

Follow-up, : The spell book and action bar now fit in a small journal thumbnail. Open it at full size to see the sword poised over the third slot.

The pictures of this work

Each step's album, shown by its cover picture. Open one for all its pictures, their dates and limits.