3DSawnikku
Relic Team
Pro Coder,Rigger,Animator,GIMP-er,Etc
Posts: 647
|
Post by 3DSawnikku on May 5, 2012 15:00:19 GMT -5
Thanks ill try it.
|
|
r543
Relic Team
Posts: 408
|
Post by r543 on May 6, 2012 10:48:49 GMT -5
the game just doesn't check it correctly, idk why
|
|
3DSawnikku
Relic Team
Pro Coder,Rigger,Animator,GIMP-er,Etc
Posts: 647
|
Post by 3DSawnikku on May 6, 2012 11:28:54 GMT -5
i know it still plays the song when starting up.
|
|
r543
Relic Team
Posts: 408
|
Post by r543 on May 6, 2012 13:05:05 GMT -5
If (ChannelPlaying(ChnMusic)=False) Then ChnMusic = PlaySound (Music) EndIf i use that but the engine spams the sounds
|
|
r543
Relic Team
Posts: 408
|
Post by r543 on May 6, 2012 13:11:48 GMT -5
please make an example how to use the code correctly ; ========================================================================================================= ; Player_Action_Divefast ; ========================================================================================================= Function Player_Action_Divefast(p.tPlayer, d.tDeltaTime) p\Motion\Speed\y# = -5
If (p\Motion\Ground = True) Then p\Action = ACTION_COMMON PlaySound(Sound_Land)
If (Not Input\hold\ActionB) Then p\Action = ACTION_DIVE End Function it should play the sound_skydive wich is in game_resources_sounds.bb Global Sound_skydive = LoadSound("Sounds/skydive.wav") Global Channel_skydive = 0
|
|
|
Post by 06hypersonic60 on Jun 6, 2012 6:41:13 GMT -5
I had problems with sounds before. Only cuz I didn't notice that I didn't make a channel for the sound so I can control it
|
|