Hi all,
years ago I used to use a tool to make games called DIV Games Studio,
when it eventually died I started using it's successor called Fenix. The
language that you used to make games was/is an odd mix of C and Pascal.
However they had a novel way of creating and handling game objects.
This is something I've thought of as well, but slightly differently.
It started with me working on a game framework where your guy would
have an __init__ for loading the images, and a FrameAction that gets
called by the game loop. The game loop of the framework would handle
all of the callbacks.
If you want to look up information about this, the general term is
actor-based programming. Existing libraries (neither of which ever
seemed that great) include PARLEY and Dramatis. Stackless tasklets are
also a very nice way to handle this.
--Noah
On Dec 1, 2008, at 7:54 AM, Fiona
Noah Kantrowitz wrote:
If you want to look up information about this, the general term is
actor-based programming. Existing libraries (neither of which ever
seemed that great) include PARLEY and Dramatis. Stackless tasklets are
also a very nice way to handle this.
Thank you! I knew there
On Mon, Dec 1, 2008 at 6:05 PM, Fiona Burrows [EMAIL PROTECTED] wrote:
Noah Kantrowitz wrote:
If you want to look up information about this, the general term is
actor-based programming. Existing libraries (neither of which ever seemed
that great) include PARLEY and Dramatis. Stackless
]
On Behalf Of Knapp
Sent: Monday, December 01, 2008 10:33 AM
To: pygame-users@seul.org
Subject: Re: [pygame] Pygame-Fenix - Using generators as game objects
On Mon, Dec 1, 2008 at 6:05 PM, Fiona Burrows
[EMAIL PROTECTED] wrote:
Noah Kantrowitz wrote:
If you want to look up
On Mon, Dec 1, 2008 at 7:49 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote:
Panda is more of a hybrid of an actor system and a lot of interlinked state
machines (each actor has an FSM, and there are others that are global). I do
actually like this model a lot, just not the Panda API.
--Noah
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Knapp
Sent: Monday, December 01, 2008 10:54 AM
To: pygame-users@seul.org
Subject: Re: [pygame] Pygame-Fenix - Using generators as game objects
On Mon, Dec 1, 2008 at 7:49 PM, Noah Kantrowitz [EMAIL
On Monday 01 December 2008 17:05:58 Fiona Burrows wrote:
Thank you! I knew there would be a term for it. :)
Those libraries seem interesting - especially Dramatis. But neither of
them seem as well suited for games as mine as I have lots of
game-specific things like collision detection going