Winamp clone in CEGUI

Projects using CEGUI or any kind of implementation revolving around CEGUI - Post it here!
Showing off screenshots and giving a short description is highly encouraged!

Moderators: CEGUI MVP, CEGUI Team

User avatar
Trentin
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Tue Nov 22, 2005 21:25
Contact:

Winamp clone in CEGUI

Postby Trentin » Mon Oct 16, 2006 23:20

Image

I had to learn FMOD and CEGUI, so I decided to make Winamp!

It started out small, but it was so fun I decided to add more and more features. I ended up with an almost complete Winamp clone, driven completely by the falagard system and Lua script.

I love CEGUI and Lua, you can make just about anything with it.

Here's a list of features:
- play, stop, pause, next, prev buttons
- play bar slider for seeking
- volume slider
- real-time spectrum graph
- OS independant file open dialog
- playlist

What I used:
- CEGUI
- Lua
- custom tolua++ bindings
- Ogre3d
- FMOD Ex
- LuaFileSystem

Sjizo
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Thu Aug 31, 2006 08:44

Postby Sjizo » Tue Oct 17, 2006 07:56

Nice work you did there. Is it going to be available to the public at some time cause I would love to try this thing out ;)

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Tue Oct 17, 2006 08:04

Wow! Looks impressive :-)

Did you make a custom widget for the graph (the green/red bars)?

Well done!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Tue Oct 17, 2006 08:43

That looks great :) Very nice work indeed.

CE.

User avatar
Trentin
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Tue Nov 22, 2005 21:25
Contact:

Postby Trentin » Tue Oct 17, 2006 15:33

scriptkid wrote:Wow! Looks impressive :-)

Did you make a custom widget for the graph (the green/red bars)?

Well done!


The graph is a static image widget which uses an Ogre dynamic texture. I render the graph every frame based off the spectrum data FMOD returns.


Sjizo wrote:Nice work you did there. Is it going to be available to the public at some time cause I would love to try this thing out :wink:


I'll see what I can do :)


Thanks everyone, I'm not sure how practical having a built-in Winamp is, but it's still pretty cool.

User avatar
Trentin
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Tue Nov 22, 2005 21:25
Contact:

Postby Trentin » Fri Jan 05, 2007 21:39

Ok, so I decided to clean it up a little and release a little demo of MonkeyAmp for those who'd like to play around with it.

Download:
http://game.visualization.ca/Setup%20MonkeyAmp%20Demo%20v0.5.1.exe


Most of the basic Winamp functionality is in, so it should be easy to figure out. To delete a song from the playlist, click the item in the list and then hit the delete key. Everything else is pretty self explanatory.

If your a developer and you're interested in how I made it, it's all in lua scripts with some custom tolua++ bindings and layout.xml files. You can find all those files in the interface directory if you'd like a peek.


I wish some games had something like this built in. It's not very hard to set up and it would prevent Alt-Tabbing while playing. It would be perfect for MMORPGS :)


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 12 guests