MUsic not playing well

Game Editor comments and discussion.

MUsic not playing well

Postby Clokio » Mon May 30, 2011 2:21 pm

I try to convert to ogg, to wav. same result. On the view actor, I put a draw->music and it play just 1/10 a secound in loop. :?:
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: MUsic not playing well

Postby schnellboot » Mon May 30, 2011 2:31 pm

where is the music playing code located in?
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: MUsic not playing well

Postby lcl » Mon May 30, 2011 3:09 pm

Ogg and wav work, but you can't use it in draw actor because draw actor event is triggered every frame the actor is drawn and since view is drawn all the time, it starts from beginning over and over again.

You have to use create actor event. Then it starts when view is created. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: MUsic not playing well

Postby schnellboot » Mon May 30, 2011 3:15 pm

misread haha xD
yeah lcl's right
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest