[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] "Nutshell" Simple Game Framework
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] "Nutshell" Simple Game Framework
- From: Charles Joseph Christie II <sonicbhoc@xxxxxxxxx>
- Date: Sun, 8 Apr 2007 21:53:06 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sun, 08 Apr 2007 21:53:19 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=pWcLiXhtSKIfjQdKTNEkRguDf9TDuw0EhKmO9l18H/6dU7pFDbuknkURB8+NlmltQARdC8Xuu4cqnabSzAt7b7zcL2EGE5bUxOG/C1BpAZEvEAOxtbpNZjHvZFGaUCuZDgU2VP0F/4GP+iLs0sbITnj4VjmSppfRKeWXiDEGt1o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=i169BTupB2DLhYdpjU3Wz5DjMAEB2HLGilYQFp6c9R0MlxxQSo44rKll+GZySw7+8JmCSYgYkd46cBckEG5Mtk9f44TzacLJTiyWv+5287RMVBC+frPS1xbKNYtOQ4DaBdtoNs0BPxdQzWtwmiTlCb+jwI5CGgSl5vXGtvE9/lM=
- In-reply-to: <46198AFA.1050304@canterbury.ac.nz>
- References: <4618E02F.9080900@xepher.net> <46198AFA.1050304@canterbury.ac.nz>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Where can I find these PEP 8 guidelines? and I am very interested in
this... I hope it gets big and gains popularity.... sounds great!
And if it can do platforming and RPG at the same time, I already have
an awesomely weird idea... no, not a Super Paper Mario clone. the
flip-3D thing is outta my league. ;)
On Mon, 09 Apr 2007 12:38:18 +1200
Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
> Kris Schnee wrote:
> > I'm trying to build a game framework that's simple and easy to use,
> > and that incorporates the ideas of a huge game space and basic
> > physics that I've been working on.
>
> > I'm willing to open-source this if anyone's interested
>
> I'm certain there will be interest -- you can't have too
> many open-source easy-to-use game libraries!-)
>
> > does it seem reasonable to build a goodly chunk of the game
> > character code into the simulation, ie. having RPG stats mixed in
> > with the class that handles the physics of living creatures?
>
> It would be better to separate the RPG stuff into a
> separate class or classes that can be used as mixins
> or by aggregation ("has-a" rather than "is-a") by
> the game author. Also put those classes in a separate
> module, so if the RPG stats aren't being used, that
> whole module can be left out of the game distribution.
>
> > import Nutshell
> > w = Nutshell.BasicWorldsim()
> > w.MakeEntity(nature="Object",name="Pretzel",velocity=[1.0,0.0,0.0])
> > w.SimulationStep()
>
> A minor point -- if you're intending to release this,
> you ought to consider following the PEP 8 guidelines
> for naming.
>
> --
> Greg