ios updates.

This commit is contained in:
Bryce Covert
2015-09-13 17:59:07 -07:00
parent c0c3bd8a91
commit bef8e519e6
3 changed files with 13 additions and 1 deletions

View File

@@ -7,6 +7,12 @@ PROGRAMMING
+ try to have dialogue for every wrong interaction
+ preload all sounds
IOS
+ all mp3s
+ particle effects slowdown?
+ pngcrush breaks colors
+ renable pickup sound once it's been replaced
AUDIO
+ Walking
+ blink

View File

@@ -533,7 +533,7 @@
(defn give [entities item]
(run-action entities
(begin [this screen entities]
(sound! (utils/load-sound "pickup.mp3") :play (utils/current-sound-volume))
#_(sound! (utils/load-sound "pickup.mp3") :play (utils/current-sound-volume))
(-> entities
(update-in [:state :inventory] #(conj % item))

View File

@@ -8,10 +8,16 @@ import com.badlogic.gdx.backends.iosrobovm.*;
import org.robovm.apple.foundation.*;
import org.robovm.apple.uikit.*;
import org.robovm.apple.glkit.GLKViewDrawableColorFormat;
import org.robovm.apple.glkit.GLKViewDrawableDepthFormat;
public class IOSLauncher extends IOSApplication.Delegate {
protected IOSApplication createApplication() {
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
config.colorFormat = GLKViewDrawableColorFormat.SRGBA8888;
config.depthFormat = GLKViewDrawableDepthFormat._24;
config.preferredFramesPerSecond = 30;
RT.var("clojure.core", "require").invoke(Symbol.intern("advent.core"));
try {
Game game = (Game) RT.var("advent.core", "advent").deref();