Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / OGG Player -- [Code Example]

Author
Message
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 27th Sep 2017 04:12
Here is an OGG Player -- Code Example that I whipped up by modifying the code example I posted for an MP3 Player.

I thought I would share this in case anyone wanted to add music selection as an option for their users in a project.

I had trouble uploading the MP3 Player -- Code Example, because my ZIP file was large due to the 7 MP3 files I included in it.

So, for this OGG Example, I decided to only include 1 OGG file for a single default song.

Therefore you will have to select 6 OGG files of your own for the playlist when you start the program.

Otherwise the default song will be used to fill any empty slots resulting from a cancel when selecting your tracks.

This is not anything fancy or really clean code or anything, I just wanted to share it for any new comers that might be interested.

Have Fun! ... (see attached ZIP)

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-21 17:27:13
Your offset time is: 2024-11-21 17:27:13