ios updates.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user