[messages] [Module Design] Replace with Other Trait and Matching Layers

Foobarius alter.alter.ego at hotmail.com
Sat Aug 15 17:06:02 CEST 2015


If Replace-with-Other won't do what you want, you could use the same
piece instead of replacing it, and give it a Layer containing all twelve
images.  The Layer's current level would be controlled with a Dynamic
Property.  I've attached a minimal example demonstrating what I mean. 
(The piece in it only has 3 images in each of the two states 'A' and
'B', but the principle is the same.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LayerExample.vmod
Type: application/octet-stream
Size: 6891 bytes
Desc: not available
URL: <http://www.vassalengine.org/pipermail/messages/attachments/20150815/533b12d7/attachment-0001.obj>
-------------- next part --------------

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


More information about the messages mailing list