FXGL icon indicating copy to clipboard operation
FXGL copied to clipboard

How to use AnimatedTexture in SubScene

Open xiaomoxiong opened this issue 2 years ago • 4 comments

Describe the bug How to use AnimatedTexture in SubScene

image

xiaomoxiong avatar Jun 13 '23 05:06 xiaomoxiong

You can add it via an entity:

var e = Entity()
e.viewComponent.addChild(at)

gameWorld.addEntity(e);

AlmasB avatar Jun 14 '23 07:06 AlmasB

It works well, thank you!

xiaomoxiong avatar Jun 15 '23 14:06 xiaomoxiong

I have encountered another issue. In the main scene, when I click and press the close button in the top right corner that does not pop up, the game will pause. When it pops up, I move the mouse away but keep it in the application window, making the close button ineffective. At this point, the game will not close, but the animation will play quickly

I can't record the screen, I can't start the image, I'm sorry

xiaomoxiong avatar Jun 15 '23 14:06 xiaomoxiong

Sorry, is there a way you can demonstrate this behaviour, as I am not sure what needs to happen and what is not happening, in order to reproduce this issue. Thanks.

AlmasB avatar Jun 20 '23 17:06 AlmasB