while(someCondition) (new Sound("file.ogg")).play();
Yes, that's what I meant because doing Code: (javascript) [Select]while(someCondition) (new Sound("file.ogg")).play();isn't very effective
function SoundEffect(filename){ this.queue = [LoadSound(filename)]; this.name = filename;}SoundEffect.prototype.play = function(){ if(this.queue[this.queue.length-1].isPlaying()==false) { this.queue.unshift(this.queue.pop()); this.queue[0].stop(); } else { this.queue.unshift(LoadSound(this.name)); } this.queue[0].play();}
Thanks, that looks like a bug. Sphere 1.x uses the blend mode passed in as a parameter:https://github.com/sphere-group/sphere/blob/master/sphere/source/engine/script.cpp#L12878-L12882Wheres miniSphere incorrectly uses the blend mode set using .setBlendMode() instead:https://github.com/fatcerberus/minisphere/blob/v4.5.11/src/minisphere/vanilla.c#L4277-L4280
Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: minisphere : Depends: liballegro-acodec5.0 (>= 2:5.0.6) but it is not installable Depends: liballegro-audio5.0 (>= 2:5.0.6) but it is not installable Depends: liballegro-dialog5.0 (>= 2:5.0.9) but it is not installable Depends: liballegro-image5.0 (>= 2:5.0.6) but it is not installable Depends: liballegro5.0 (>= 2:5.0.7) but it is not installableE: Unable to correct problems, you have held broken packages.