dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

Playlist
Goto page Previous  1, 2
 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
bubu
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 23 Mar 2004
Posts: 3223
Location: Riga

PostPosted: Fri Sep 11, 2009 9:19 am    Post subject:

Iesaku tev kārtīgi palasīt dokumentācijā ko dara setSoundStopEventReceiver metode un kam domāta ISoundStopEventReceiver klase ar OnSoundStopped callbacku. Patlaban tu tur galīgi neizsauc nākamās skaņas atskaņošanu.

Var arī katrai skaņai netaisīt to MySoundEndReceiver klases instanci. Pietiek ar vienu, kuru padot kā SoundStopEvent receiveri visām skaņām ar attiecīgo norādi uz nākamo skaņu, kuru spēlēt, kad patreizējā beidzās.

Un kāpēc tas nesakrīt ar manu pseidokodu? Imho ļoti sakrīt. onSongHasEnded = OnSoundStopped, atliek tikai tajā izsaukt playNextSong analogu.
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /home/gamedev/www/dev.gamez.lv/htdocs/db/mysqli.php on line 88