1 registered members (TipmyPip),
18,618
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: about media again *-*
[Re: Lion_Ts]
#102027
12/14/06 12:16
12/14/06 12:16
|
Joined: Nov 2006
Posts: 47
viva
OP
Newbie
|
OP
Newbie
Joined: Nov 2006
Posts: 47
|
|
|
|
Re: about media again *-*
[Re: viva]
#102029
12/15/06 02:48
12/15/06 02:48
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
Serious User
|
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
yes, you got it. but viva, you HAVE TO put any your code in a function (main or any other), don't place commands (except declarations) outside functions! It's possible with old syntax, but this is 'unwelcome' style  next step, after you learn more about snd_... and media_... is to write a sound manager function for your project (function or group of functions to control sound in your game. this manager can check some vars and skills and plays needed sound with fading, etc. That vars (skills) you assign in other place in your code). this is the common technique - splitting project for a manageable blocks.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|