ios updates.
This commit is contained in:
@@ -7,6 +7,12 @@ PROGRAMMING
|
|||||||
+ try to have dialogue for every wrong interaction
|
+ try to have dialogue for every wrong interaction
|
||||||
+ preload all sounds
|
+ preload all sounds
|
||||||
|
|
||||||
|
IOS
|
||||||
|
+ all mp3s
|
||||||
|
+ particle effects slowdown?
|
||||||
|
+ pngcrush breaks colors
|
||||||
|
+ renable pickup sound once it's been replaced
|
||||||
|
|
||||||
AUDIO
|
AUDIO
|
||||||
+ Walking
|
+ Walking
|
||||||
+ blink
|
+ blink
|
||||||
|
|||||||
@@ -533,7 +533,7 @@
|
|||||||
(defn give [entities item]
|
(defn give [entities item]
|
||||||
(run-action entities
|
(run-action entities
|
||||||
(begin [this screen 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
|
(-> entities
|
||||||
(update-in [:state :inventory] #(conj % item))
|
(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.foundation.*;
|
||||||
import org.robovm.apple.uikit.*;
|
import org.robovm.apple.uikit.*;
|
||||||
|
import org.robovm.apple.glkit.GLKViewDrawableColorFormat;
|
||||||
|
import org.robovm.apple.glkit.GLKViewDrawableDepthFormat;
|
||||||
|
|
||||||
public class IOSLauncher extends IOSApplication.Delegate {
|
public class IOSLauncher extends IOSApplication.Delegate {
|
||||||
protected IOSApplication createApplication() {
|
protected IOSApplication createApplication() {
|
||||||
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
|
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"));
|
RT.var("clojure.core", "require").invoke(Symbol.intern("advent.core"));
|
||||||
try {
|
try {
|
||||||
Game game = (Game) RT.var("advent.core", "advent").deref();
|
Game game = (Game) RT.var("advent.core", "advent").deref();
|
||||||
|
|||||||
Reference in New Issue
Block a user