The world of online gaming has evolved exponentially over the years, and with it, the need for game developers to showcase their skills has become more crucial than ever.
pwp is freely available on our GitHub.
The Plugin in Action
This Phaser 3 game provided below is a simple 2D platformer – based on Richard Davey’s Tutorial on Making a Game with Phaser 3 – where a player-controlled sprite moves across the screen in response to keyboard inputs (arrow keys).
The Plugin detects if a post or page contains the [pwp] shortcode, and if it does, it enqueues the required scripts – jQuery, Phaser 3, and the game script – and sets up a div element with the necessary attributes for embedding the game.