I’m developing a project in which I have a scene, this scene contains up to him when two layers, (New Layer, Layer base (in that order)) in each layer I have added a picture when I run the application in web mode, run prefectamente, but when I add a new element either the new layer or base coat, and again test the application for web, this only goes to charge 56% or 60%, if I delete the newly added element, the scene runs smoothly, Does anyone have any idea what is happening ?, thank you for taking the time to read the post. : D
Hi,
Can you open the developer console of your webbrowser and tell us what’s written inside (probably an error message) ?
(Ctrl+Shift+K on Firefox)
“Pixi.js 3.0.8 - WebGL - pixijs.com/” pixi.js:7:2660
TypeError: this.pixiTexture is undefined
gdjs.SpriteAnimationFrame()
spriteruntimeobject.js:45
gdjs.SpriteAnimation/Direction/<()
spriteruntimeobject.js:118
gdjs.iterateOverArray()
gd.js:100
gdjs.SpriteAnimation/Direction()
spriteruntimeobject.js:114
gdjs.SpriteAnimation/<()
spriteruntimeobject.js:134
gdjs.iterateOverArray()
gd.js:100
gdjs.SpriteAnimation()
spriteruntimeobject.js:130
gdjs.SpriteRuntimeObject/<()
spriteruntimeobject.js:173
gdjs.iterateOverArray()
gd.js:100
gdjs.SpriteRuntimeObject()
spriteruntimeobject.js:169
gdjs.RuntimeScene.prototype.createObject()
runtimescene.js:454
gdjs.RuntimeScene.prototype.createObjectsFrom/<()
runtimescene.js:162
gdjs.iterateOverArray()
gd.js:100
gdjs.RuntimeScene.prototype.createObjectsFrom()
runtimescene.js:160
gdjs.RuntimeScene.prototype.loadFromScene()
runtimescene.js:117
gdjs.SceneStack.prototype.push()
scenestack.js:55
gdjs.RuntimeGame.prototype.startStandardGameLoop()
runtimegame.js:452
onAssetsLoaded()
localhost:2828:86
gdjs.RuntimeGame.prototype.loadAllAssets/</<()
runtimegame.js:435
gdjs.SoundManager.prototype.preloadAudio()
soundmanager.js:261
gdjs.RuntimeGame.prototype.loadAllAssets/<()
runtimegame.js:430
gdjs.ImageManager.prototype.loadTextures/<()
imagemanager.js:114
[10]</n.prototype.emit()
pixi.js:2
[13]</i.prototype._onComplete()
pixi.js:2
[13]</i.prototype._onLoad/<()
pixi.js:2
<anónimo>
self-hosted:789
[12]</</</s.eachSeries/n/<()
pixi.js:2
[117]</e.exports/<()
pixi.js:9
[13]</i.prototype._runMiddleware/<()
pixi.js:2
[12]</</</s.eachSeries/n()
pixi.js:2
[12]</</</s.eachSeries/n/<()
pixi.js:2
[120]</e.exports/<()
pixi.js:9
[13]</i.prototype._runMiddleware/<()
pixi.js:2
[12]</</</s.eachSeries/n()
pixi.js:2
[12]</</</s.eachSeries/n/<()
pixi.js:2
[121]</e.exports/<()
pixi.js:9
[13]</i.prototype._runMiddleware/<()
pixi.js:2
[12]</</</s.eachSeries/n()
pixi.js:2
[12]</</</s.eachSeries/n/<()
pixi.js:2
[18]</e.exports/<()
pixi.js:2
[13]</i.prototype._runMiddleware/<()
pixi.js:2
[12]</</</s.eachSeries/n()
pixi.js:2
[12]</</</s.eachSeries()
pixi.js:2
[13]</i.prototype._runMiddleware()
pixi.js:2
[13]</i.prototype._onLoad()
pixi.js:2
<anónimo>
self-hosted:751
[10]</n.prototype.emit()
pixi.js:2
[14]</i.prototype.complete()
pixi.js:2
<anónimo>
self-hosted:751
Can you send us your game (project file + resources) here or by private message ?
You project is “Nivel_1.gdg”, right ? If so, all the images paths are invalid because the images are in the project file’s path (or in its sub folders) but the paths configured in your project begins with “…/” (meaning “parent folder”).