image

Tommy Leung from Ourcade writes: "There is a vast ecosystem of beautifully styled and feature-packed CSS frameworks can be leveraged for UI in a Phaser game. In this article, we look at using Bulma, JSX, and the DOMElement to easily add buttons to your game. Phaser is a great HTML5 game framework that can leverage much of the ecosystem around developing web applications.

One of the core pieces of web apps is the UI and there is no shortage of UI frameworks you can use.

In this article, we will look at using Bulma to power buttons in a Phaser game.

JSX will be used to let us write HTML in our code. Doing so better matches how CSS frameworks are used and makes the HTML easier to reason about."

Read More