[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: "Lamonte(Scheols/Demonic)" <scheols@xxxxxxxxx>
- Date: Sun, 8 Apr 2007 23:02:47 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 09 Apr 2007 00:03:03 -0400
- Dkim-signature: a=rsa-sha1; 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:references; b=Nsggqdriec+Es2OcgL8xcKgIcNxndLiRnnFeFLcGlaoHvoTwKdONIVrWMAErDqJE7meal/ztr5rV8tVDabTgcXffg02NW52rAWaXyiEWEagJrSZqu1dEbi9ygbqouzBwZQk1C066cCgNhEvWWrE3Dzh4cS3W/utTpeE37EkSF6s=
- 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:references; b=aSRIFj5x9F1OmFZT5fFQGLZa9tOl7Hmk8EHbS5zV16h/6JVW4oMW+jUOc1vwvP0vQPCSWE6nlbfYiQuEKXsAWw9RC+Ds5dJ9VVul5xTM1zRg2c+7J4h0+DcQKJLHXatmKA5LG9B2oXql3BknJTeMwur6VqLoreKUkxH7uj6Cv60=
- In-reply-to: <20070408215306.306caaf7@compaq>
- References: <4618E02F.9080900@xepher.net> <46198AFA.1050304@canterbury.ac.nz> <20070408215306.306caaf7@compaq>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
You can find them here: http://www.python.org/dev/peps/pep-0008/
Little google search helps ;)
On 4/8/07,
Charles Joseph Christie II <sonicbhoc@xxxxxxxxx> wrote:
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
--
Join phpdiscovery.com Now!