OAP Lizzard A game interface engine
Game interfaces, outside the game Settings
← The journal
event Stage 5c · Game loop and Options Mistake and fix

Slide animations drawn as the game draws them, faults included

An OAP addon's window slid neatly off the screen in Lizzard but not in the game, so Lizzard was hiding a real bug. Lizzard now moves a slid window the way the game does, with the same three quirks, so the addon's fix can be tried in Lizzard before it goes in game.

Read the entry: Slide animations drawn as the game draws them, faults included

OAP Party Utilities slides its buffs box off the top of the screen when a fight starts. In Lizzard the whole box slid away. In the game I saw something else: an empty border stopped part way up, the box's contents vanished, and the class icons stayed where they were.

The game client runs animations, not Lua, so the rules had to come from the game. A probe command slides test boxes holding one piece of every kind and reports where the game says each piece is.

Three rules came out of it, and Lizzard follows each. Each piece moves the slide's distance in its own scale, so the border, drawn at 0.75, went only about three quarters as far. A clipping frame's clip stays put, so contents slid out of it are cut away. And an icon written into a line of text stays put while the letters move.

A useful failure on the way: one look at the game was misread as the box stopping at the screen's edge, and Lizzard was made to clamp it. The next screenshots showed the same result either way, so that came out again.

The result looks broken, as it does in the game, and that is the point: a simulator that showed the slide working had kept the bug hidden. The fix belongs to the addon. No picture was kept for the site: the screenshots show character names.