Infinite sound loop

Non-platform specific questions.

Infinite sound loop

Postby GreenGame » Wed Jan 03, 2007 12:58 am

When I enter a 0 for the loop count in the PlaySound script, I get an error saying "Invalide loop count"

Also, even though I select PlaySound, Global Code Editor keeps entering PlaySound2.
GreenGame
 
Posts: 8
Joined: Sat Dec 30, 2006 4:50 am
Score: 0 Give a positive score

Postby Game A Gogo » Wed Jan 03, 2007 1:30 am

its normal if it enters it as playsound2, and GE doesn't support infinite sound/music loop, use the max value of 650000 should be enough to simulate an infinite loop!
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby GreenGame » Wed Jan 03, 2007 2:50 am

So is that an error in the tutorial that a loop of 0 is an infinite loop?
Thanks for responding.
GreenGame
 
Posts: 8
Joined: Sat Dec 30, 2006 4:50 am
Score: 0 Give a positive score

Postby makslane » Wed Jan 03, 2007 1:25 pm

My mistake, sorry.
I will fix the infinite error message in the next version.
For now, you can use infinite loop if call the play functions in a script.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest