"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."
<p data-height="298" data-theme-id="1147" data-slug-hash="bNLgaX" data-default-tab="result" data-user="netgfx" class='codepen'>See the Pen <a href='http://codepen.io/netgfx/pen/bNLgaX/'>Phaser Modals</a> by Michael Dobekidis (<a href='http://codepen.io/netgfx'>@netgfx</a>) on <a href='http://codepen.io'>CodePen</a>.</p> <script async src="//assets.codepen.io/assets/embed/ei.js"></script>