[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] GSoC project proposal: Pygame on rails
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] GSoC project proposal: Pygame on rails
- From: Thadeus Burgess <thadeusb@xxxxxxxxxxxx>
- Date: Sun, 7 Mar 2010 00:12:06 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 07 Mar 2010 01:12:35 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=vw4GJvn/ODFEIxn+RjVVGZBHGrlmhNshgZVJa7pxPe4=; b=b9b8Goojv65A1huCAsQdOhfC/4Hu8ohmu+wkhqb0d0BaLTNOmZPLRlDGmiyyi/I3d2 I2ukwUQMvCOD/cOeR5bCfUa0uto7LmL7BhQipMu+5/r/kZONO+/ToLab5Q6bKkv0UhzD Ne3MzB5VQQKI4U1Tp9hzQFpBgdzOUTHSmGkKU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=vkERWvWDBEUwhVTuljEeGczUzY5I94w30B2UP8n5SxebNRfo3l+rWgbL17NqwI0xY7 f84MvEk/jXG9dSpvwf17YlLmdL5iq3EH5lg8fVuO5aZaIstYj5L0EOC4bE2rDa1+Gmkn O8mu5tbze76p8Xv/CkU5dES9OQaNcL/sz5xfA=
- In-reply-to: <1a78d23f1003061454v6069b424j81ef4dade31223e4@xxxxxxxxxxxxxx>
- References: <1a78d23f1003061454v6069b424j81ef4dade31223e4@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I have actually attempted to perform this same thing. My project went
on a standstill as other things were pressing, however I am interested
in reopening my project back up.
I am calling it PyBTS (pygame behind the scenes). It includes a world
manager, terrain, physics based on the "genre". You can take the same
codebase, and change the type of Terrain class, and you get a tilemap
or sidescroller respectively.
I would definitely love to revive the project, my goals for it are
fairly similar, to provide all of the game engine boiler plate code
that goes into making a game.
http://hg.thadeusb.com/Games/PyBTS/
http://hg.thadeusb.com/Games/MyRTS/ # Uses pybts
-Thadeus
On Sat, Mar 6, 2010 at 4:54 PM, Evan Kroske <e.kroske@xxxxxxxxx> wrote:
> I'd like to work on a Pygame-related project for GSoC, so I've been
> thinking about possible projects I'd like to do. My favorite idea is
> developing a micro-framework on top of Pygame to cut the volume of
> code required to create a game within a well-defined genre. It would
> revolve around assigning actions to high-level events. For example,
> instead of creating a block like this within the main game loop:
>
> if not player.reloading and sdlconst.K_SPACE in keystate and
> len(shots) < constants.MAX_SHOTS:
> Â Âshots.append(factory.createProjectile(player))
>
> the game developer would write something like this:
>
> player.setProjectile(Bullet())
> player.setFireTrigger(sdlconst.K_SPACE)
>
> Here are a few more possible examples:
>
> # Set tile map for stage
> level.setTileMap(tileMap)
>
> # Set BG music for stage
> level.setBGMusic("battletheme.ogg")
>
> # Assign goal for stage
> level.setGoal(flagpole)
>
> The framework would have specialized modules for each genre; the
> platformer module would have a simple physics engine and a tiled
> background engine, but the space shooter module would have a way to
> easily control the behavior of shots and enemy ships.The framework
> would dramatically simplify the process of putting graphics on screen
> and playing sounds, allowing developers to focus on other aspects of
> game design, such as automated level generation, AI, and media-based
> mashup games.
>
> I'm really excited about the possibility, but I want to know what you
> think about it. Do game developers need an easier way to create games?
> Has another project already done this?
>
> --
> Evan Kroske
> http://welcome2obscurity.blogspot.com/
> The personal blog of Evan Kroske,
> novice software developer.
>