phaser icon indicating copy to clipboard operation
phaser copied to clipboard

can't add particle to container

Open RollinSafary opened this issue 8 years ago • 2 comments

Phaser 3.9.0 I'm creating particle via this.add.particles(key, frame) when i'm trying to add particle to my container (for depth sorting inside container) I'm getting this error

ContainerWebGLRenderer.js:59 Uncaught TypeError: child.setScrollFactor is not a function
    at SkinUnlockPopup.ContainerWebGLRenderer [as renderWebGL] (ContainerWebGLRenderer.js:59)
    at WebGLRenderer.render (WebGLRenderer.js:1563)
    at CameraManager.render (CameraManager.js:409)
    at Systems.render (Systems.js:298)
    at SceneManager.render (SceneManager.js:587)
    at UnikittyGame.step (Game.js:450)
    at TimeStep.step (TimeStep.js:553)
    at step (RequestAnimationFrame.js:102)

if it's not expected to add particle object to container, please make that ability, thanks for attention

RollinSafary avatar Jun 11 '18 09:06 RollinSafary

This is already fixed in the current version. fix

TadejZupancic avatar Jun 11 '18 09:06 TadejZupancic

@TadejZupancic thanks, will wait for release :D

RollinSafary avatar Jun 11 '18 09:06 RollinSafary