Offset music file

Non-platform specific questions.

Offset music file

Postby lverona » Tue Jun 19, 2012 9:08 am

Hey fellas!
If I have an ogg file with a game soundtrack, is there a way to start playing it from the middle?
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Offset music file

Postby skydereign » Tue Jun 19, 2012 5:55 pm

Nope. Currently gE's sound control is very limited.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Offset music file

Postby lverona » Fri Jul 06, 2012 5:14 am

Is there maybe a way to know that a file has finished playing?
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Offset music file

Postby skydereign » Fri Jul 06, 2012 5:28 am

Besides you timing it and knowing what song played, and using the timer to tell when it ended, no.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Offset music file

Postby Wertyboy » Fri Jul 06, 2012 10:40 am

lverona wrote:Is there maybe a way to know that a file has finished playing?

I'm not quite sure what you mean cuz of my stupid english skill.....
But if you want to start event when the music is finish:
Create timer, for example your music is 3:50, create a new timer with time "230000" (60*3=180+50=230*1000(1000=sec)=230000)
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Offset music file

Postby lverona » Wed Jul 11, 2012 11:56 am

Thanks fellas!
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron