Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/24/26 01:52
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,375 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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 | 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