[messages] [Module Design] Custom Java class blinking effect

Mu0n micjuneau at gmail.com
Sun Apr 23 15:52:26 CEST 2017


I'm wondering what exact steps you would recommend if I want to make a
Shape over a Piece blink for a few seconds.

What I can already do:
-Properly compile and add a decorator custom Java class to a Piece
-Access the Map in which this visual effect should happen
-Produce a proper Shape that has the position, size and orientation of
the Piece
-Draw that shape with a transparent shade


What I can't do yet:
-Start some kind of Thread or Executorservice that will draw that shape
on and off for n times, and get acceptable levels of fluidity.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=53475#p53475


More information about the messages mailing list