Re: [xmoto-dev] Re: Some suggestions to XMoto

[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-dev Archives ]


On 10/16/07, nadenislamarre@xxxxxxx <nadenislamarre@xxxxxxx> wrote:
> Hey, is it a come back ?

Nah, but still reading the stuff posted to the mailing list. :)

> What do you think about xmoto changes since you stopped the project ?
> (tod and i are refactoring the code in a branches for 0.4.x to manage states
> (GS_PLAYING, GS_MENU, ...) as a better way than switches)

Yeah, the switch-construct is obviously very stupid... it's fine for
simple games, but it didn't take long before too much code was stuffed
into it.

If I had to redo it, I'd probably go for a more object oriented way to
do it... ideally coupled with lua/xml so all the menus/etc could be
made fully scriptable. But ofcourse that would require some thought,
and can't just be hacked together in 5 minutes like the switch
statement.

I must admit I haven't checked out the last couple of xmoto versions,
but the last things I saw was cool. (Like for instance the
split-screen stuff - I hope you cleaned up the code before doing that,
otherwise I can imagine how horrible it looks :))

> Nicolas
>
> Quoting Rasmus Neckelmann <neckelmann@xxxxxxxxx>:
>
> > On 10/15/07, Ville Lahdenvuo <tuhoojabotti@xxxxxxxxx> wrote:
> > > ok... but why did you send this message to me not to Erik I'm not Erik I'm
> > > tuhoojabotti
> >
> > Because you're subscribing to the xmoto dev mailing list :)
> >
> > --
> > mvh Rasmus Neckelmann
> >
> > ---
> > earcar@xxxxxxxxx
> >
>
>
>
> ---
> earcar@xxxxxxxxx
>

-- 
mvh Rasmus Neckelmann

---
earcar@xxxxxxxxx


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/