1 Apr 2008 15:23
Re: if anybody was wondering...
S'orlok Reaves <sorlok_reaves <at> yahoo.com>
2008-04-01 13:23:58 GMT
2008-04-01 13:23:58 GMT
It's like... a lightweight "component", with a border.
Like, in Final Fantasy menus, you have lots of these
"pieces" making up the menu system.
A "slice" is an object-oriented way of doing it. So we
can do things like connect menu slices (buttons,
images, hp-bars, etc.) using layouts ("centered
horizontally with X,Y"), animations, and connections
("this is logically LEFT of that") and end up with
more readable, maintainable code.
And, of course, making a newfangled slice becomes
easier, since it handles most of the drawing,
connections, layout, etc., for you.
I'll post some sample code to the wiki; I expect that
some people might want to extend the FMF's main menu
for their own games, in the far future.
Cheers,
-->Seth
--- James Paige <Bob <at> HamsterRepublic.com> wrote:
> What, praytell, is a slice?
>
> ---
> James
>
(Continue reading)
RSS Feed