Graphics in Mokomaze

Visti Andresen talpa at talpa.dk
Sat Oct 10 18:00:54 CEST 2009


On Wed, 30 Sep 2009 13:22:32 +0200
Fabian Killus <fabian at ji-xiansheng.de> wrote:

> On Wed, 30 Sep 2009 12:31:26 +0200
> Marcel <tanuva at googlemail.com> wrote:
> 
> > So how is that Ball in Mokomaze done? From the falling-into-holes
> > motion I guess it's kinda 3D, but so fluent, how did the author
> > achieve that?
> > 
> > --
> > Marcel
> 
> I looked at mokomaze some time ago. I think it used sprites for all
> possible angles instead of real 3D. Since the ball is the only moving
> object on the screen and not very big either, this is possible. 
> In case your objects aren't very big I'd suggest to use the same
> approach. For example you could have one image per 10 degrees (That
> would only make 36 images per object).
> 
> jxs

Or do some integer based rotation and/or scaleing,
the biggest issue seems to be the limited bandwidth to the video RAM

http://talpadk.wordpress.com/2009/10/10/progress-not-always-for-the-better/

> 
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel


-- 
Visti Andresen



More information about the devel mailing list