Scenes Transition with static HUD

Hello

I am new to coco2d-x dev, and I am creating a dungeon game like Zelda 1.
I have a transition between 2 secenes, BUT I need a static “HUD” which won’t move.

Check out the image in attach.

Does anyone have an idea how to do this ?

Regards


issue.png (1.7 KB)

You can use move action to move the layer1 and layer2 below HUD at the same time, when move finished, use a callback and invoke removeFromParent() to remove layer1.

Thanks Liu, I will try that :slight_smile: