Hexagonal Image Frame?
Jan Schenkel
janschenkel at yahoo.com
Wed Jul 15 01:03:07 EDT 2009
In the Inspector palete, switch to the Colors&Patterns panel - the right-hand column of buttons is for setting colors, the left-hand column is for setting patterns.
Jan Schenkel
=====
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
--- On Tue, 7/14/09, Joe Lewis Wilkins <pepetoo at cox.net> wrote:
> From: Joe Lewis Wilkins <pepetoo at cox.net>
> Subject: Re: Hexagonal Image Frame?
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Date: Tuesday, July 14, 2009, 9:50 PM
> 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
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list