From: Atani <at...@at...> - 2005-11-20 05:08:01
|
On 11/19/2005, "Sam Steele" <sam...@gm...> wrote: > >I'm also going to clean up and comment the imageSet and menuList >drawables from DCBlap and add those to Tiki too. What is imageSet and menuList? I have another Drawable I need to commit still, TileMap (probably a better name would be ImageMap). It is basically an extension to Banner which allows you to have a single Texture and carve it up into square images of definable sizes and it handles all of the logic. I am also thinking of commiting another Drawable which can be used to display a game grid of sorts. Basically so you can do something like: RefPtr<GameGrid> grid =3D new GameGrid(8,8,32,32); Which translates roughly to an 8x8 grid of 32x32 spaced Drawables. This is basically what I am working on the logic for in CopperSwapper and Chain Reaction. It can be applied to many other types of games though, think Zelda :) I also have in the works Drawable "Event" handlers, basically to allow processing of hid Events on a per Drawable (or perhaps even Object?).=20 First thing I need to get working though is the mouse handler on all platforms. With that I can do real testing and figure out the best way to support Drawable/Object Event notifications. Mike |