[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Music Toolkit
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Music Toolkit
- From: Luke Paireepinart <rabidpoobear@xxxxxxxxx>
- Date: Sat, 13 May 2006 19:39:26 -0500
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 13 May 2006 20:39:34 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=VpkWMJfljct/WwNjl+G2MKeiIF0O7zEorQfDDwb7webt5sBc62REgGvyViQBLSSPybpIZsiNuvNykX4M7xNA4zvkrBcq09aiFXjizdHj5y6jxcfQ3Rjn0cPvKuftaYMDCOqGOp220KbtcVU+KXPqQGbDO0NTQjv+vpHshz5EfC8=
- In-reply-to: <446665BB.5040908@xepher.net>
- References: <446665BB.5040908@xepher.net>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 1.5.0.2 (Windows/20060308)
Kris Schnee wrote:
http://kschnee.xepher.net/conch.txt
I've posted the latest version of Conch, a "wrapper" for Pygame's
sound and music functions. (The extension given here is .txt just so
you can easily look at it in a Web browser.) This lets you load a
number of sound effects and songs from a subdirectory, then refer to
them by a shortcut name like "Overworld Theme." It requires only
Python and Pygame.
At the moment the implementation is what you called "singleton": a
class gets declared, then one instance of it ("j") gets created and
you refer to that.
This is free to anyone that wants it. I could use critiques as well.
For one thing, I haven't tried the logging module yet and am still
using my own Comment function.
Kris
I hope this is an addon to NISS and you haven't straight-up abandoned her ;)
-Luke