grousewood-games / solforge

Solforge - Mimicwurm Edition
1 stars 2 forks source link

Drawing bugs in setup screens #132

Closed james-rae closed 10 months ago

james-rae commented 10 months ago

Can notice redraws / double draws / late draws in the Constructed and Draft setup screens.

The initial view is always drawn twice, fuzzing the fonts. If one makes draft picks really fast, can get two pack views rendering on top of each other.

Likely a draw method somewhere isn't blocking on the draw promise.

james-rae commented 10 months ago

Double draws were due to...double calls in various subroutines.

The draft race condition is trickier. Added a 100ms buffer to let images download. Anything higher is annoying experience. A proper solution involves too much work. Slow down eh.

james-rae commented 10 months ago

100ms buffer did little in live environment.

Removed it, juggled the draft draw calls to have the pack Clickers added after the cards are painted to the screen. Will test again next release.

james-rae commented 10 months ago

Appears solved for reals in v0.9.2