Richard,
Whether you or Nicolas are correct, I found no way to set the
backgroundPattern property for a graphic object. Where is that
Property to be found?
Joe Wilkins
On Jul 14, 2009, at 8:41 PM, Richard Gaskin wrote:
Rick Harrison wrote:
I'm trying to create a game, and I
wanted to use hexagonal image
frames put tightly together to make
a kind of game board where the
images can change. Is this possible
to do with Revolution?
You could use a hexagonal graphic, setting the graphic's
backgroundPattern property to the ID of an image you want shown
within it.
Not only will that give you what you're looking for but for game
tiles it's a more efficient use of memory, since there's only one
actual image object which is copied as the backgroundPattern of any
graphic objects that use it. For a few tiles this may not matter
much, but if your game space has dozens or hundreds of tiles this
can be quite a savings.
--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution