Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
snd_create #285386
08/18/09 10:57
08/18/09 10:57
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
i updated my gs version and now snd_create doesnt work anymore

this is a part of the code

SOUND* snd_to_play;

...
snd_to_play = snd_create("Gitaar_Muziek.ogg");
shandle = snd_play(snd_to_play, 100,0);

the sound file is located inside the work folder
and it have been working the last time


"empty"
Re: snd_create [Re: flits] #285403
08/18/09 12:17
08/18/09 12:17
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i dunno what manual you read..

but...
Code:
SOUND* snd_to_play = snd_create("Gitaar_Muziek.ogg");
[...]
snd_play(snd_to_play, 100,0);


Should do it... (tested)

Last edited by Espér; 08/18/09 12:30.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: snd_create [Re: Espér] #285442
08/18/09 14:54
08/18/09 14:54
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
doesnt work either

this does work but the sound doesnt seem to be created by snd_create

Code:
SOUND* snd_to_play = "Gitaar_Muziek.ogg";

//snd_to_play = snd_create("Gitaar_Muziek.ogg");
shandle = snd_play(snd_to_play, 100,0);



Last edited by flits; 08/18/09 15:03. Reason: wrong copied );

"empty"
Re: snd_create [Re: flits] #285444
08/18/09 15:01
08/18/09 15:01
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
mayby because of the double ";;"?

Re: snd_create [Re: Rei_Ayanami] #285445
08/18/09 15:02
08/18/09 15:02
Joined: Jul 2007
Posts: 959
nl
F
flits Offline OP
User
flits  Offline OP
User
F

Joined: Jul 2007
Posts: 959
nl
ow soory i just did a wrong copie but its not the problem

thx anyway


"empty"

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