Winamp clone in CEGUI
Moderators: CEGUI MVP, CEGUI Team
Winamp clone in CEGUI
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
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
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
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.
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
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
Who is online
Users browsing this forum: No registered users and 12 guests