Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: in game music help..... [Re: frazzle] #130120
05/16/07 20:41
05/16/07 20:41
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
thanks for the help. i used the code like this.
Code:
 string cellbreak_wav = <cellbreak.wav>;
Function BG_startup()
{
media_loop(cellbreak_wav, null, 100);
}



now the only problem is, the sound loop has a slight pause in it, so it really isnt looping, its just playing over and over again. any suggestions, i already checked the sound loop itself, its a true loop.

Re: in game music help..... [Re: Blink] #130121
05/16/07 20:53
05/16/07 20:53
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
That happens because
"Multimedia files have to be loaded from virtual memory before playing, so there can be a few milliseconds delay at the beginning or every loop repetition, depending on the hardware. For avoiding this, use snd_loop for looping music. " - that's what the manual says

Re: in game music help..... [Re: Shadow969] #130122
05/16/07 22:25
05/16/07 22:25
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
i tried that Shadow969, but now nothing plays. i dont know what i am doing wrong. i read what the manual says, and tried a code similar to the one in the manual, nothing.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: in game music help..... [Re: Blink] #130123
05/16/07 22:34
05/16/07 22:34
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Eureka!!!! I used Tompo's simple code, and it works perfectly! Thanks Tompo!

Re: in game music help..... [Re: Blink] #130124
05/16/07 22:39
05/16/07 22:39
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Sometimes the simplest solution is the best one
I'm using that code too


Never say never.
Re: in game music help..... [Re: tompo] #130125
05/16/07 22:58
05/16/07 22:58
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
i see, i appreciate your quick reply as well.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1