Re: [xmoto-dev] Re: Some suggestions to XMoto |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/xmoto-dev Archives
]
- To: xmoto-dev@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [xmoto-dev] Re: Some suggestions to XMoto
- From: "Rasmus Neckelmann" <neckelmann@xxxxxxxxx>
- Date: Tue, 16 Oct 2007 16:10:27 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yG5kz6ZGrKf+WMb8MSvjExR9SmS6tfKOd/RGWJzt09U=; b=t1Z9hv3Jxz6kriWiW7MskVh9xgF9WgZw3T6K2w6in7Yfk2DoQgCiLg1f4gUUanRRNN7UAC5I2IVISsUpgpdXGHs1JCx5PVEvPWkQNskZLllZU4nICFJ6hy/4AyYtURfNyjcczvZqkjp57XYsxJHq8RUYC4drbvZ6tENoFPeLGxc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sVbFeoJzWc0Yz70zb/7BTsor/P4qf+b8O+7Ozz5nXjRUCtCqz4Ki2uUkYh3sKf2aCJdisN5t05S2Rhso+DmTR9vkbeWdCEfr+fjPP9FVJ65mJwR3MyOsEZrBKpMrDb+ovpB+STHM6op4cL86NIROqS2c2vxXwEghougju1kmfy8=
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