Lukas Haring
Lukas Haring
By looking at the cache, `Audio` and `SpriteAudio` are stored the same way. I suggest to add a flag to know what type of element is inserted. That should make...
It seems that this line does always set to 0 the duration https://github.com/photonstorm/phaser/blob/d67c93646cbfe8ba5997954f8af29a8f3f9e8e91/src/tweens/tween/TweenData.js#L61
Reproduced ``` var Main = pc.createScript('main'); // initialize code called once per entity Main.prototype.initialize = function() { this._box = this.app.assets.find("Box", "template").resource.instantiate(); }; Main.prototype.postInitialize = function(){ this.box1 = this._box.clone(); this.app.root.addChild(this.box1); this.box1.setPosition(0,...
https://github.com/playcanvas/engine/blob/9083d81072c32d5dbb4394a72925e644fddc1c8a/src/sound/manager.js#L130-L132 Although the property `this._state` inside the AudioManager is private. When the app calles `onVisibilityChange`, and `isHidden` is `false`, then the value `this._state` is always "running" but `this.suspended` is true....