I have launched another game on codecanyon which uses Phaser.io at its core, it is an arcade game of sorts like lunar-lander but with a shark… and rockets… and traps and you must never touch the floor, ok its nothing like lunar-lander apart from the low-gravity…
Recently as I was building a new game, I realized that one of the most re-used elements across a variety of games is the “modal”, whether it is a countdown, a message modal or a game-over modal.
So I thought to create a little snippet that would make creating a modal an easier task, with the following script we can create a large combination of either text, bitmaptext or images.
So enough with the presentation, lets see how it looks, in this codepen I created six examples for all tastes.
See the Pen Phaser Modals by Michael Dobekidis (@netgfx) on CodePen.
So let’s see what this script can support.