Balamurugan Posted May 26, 2018 Share Posted May 26, 2018 I Make chips based games. When chips low i need to show pop-up message. Message need to dynamic. Pop-up need to close Automatically . What can i do in phaser 3. i surf lots of times, still cant get any solution for this. Please help us. Thank you Link to comment Share on other sites More sharing options...
samid737 Posted May 26, 2018 Share Posted May 26, 2018 You could add an extra camera for UI display and tween it to appear and dissapear afterwards by adjusting the ScrollY, but make sure the main camera ignores all objects that are not text, otherwise you will see duplicates of the same text: https://codepen.io/Samid737/pen/jxgqOe you could achieve the same result using A UI scene,. If you only have one UI object (one text message) throughout the entire game, then you could try to tween A single text object. The takeaway is to seperate UI (messages, buttons) display from the game. Link to comment Share on other sites More sharing options...
Recommended Posts