A tutorial and source code for converting the classic sokoban game from Phaser 2 to Phaser 3.

Article by Richard Davey. Posted on 23rd Feb 2018.   @photonstorm

image

Emanuele Feronato released this tutorial a short while ago, about porting his Sokoban game from Phaser 2 to Phaser 3:

"With Phaser 3 release due for next week, while I will keep focusing on Phaser 2 too, since it’s widely used and it will continue to be used for a lot of months – that’s why I updated by first Phaser 2 book – it’s time to start to see what changed from Phaser 2 to Phaser 3 and how to build games with the new version.

Phaser 2 games won’t work on Phaser 3, so we need to rewrite most of the code.

The good news is it wont’ take a lot once you get used to the new syntax.

So I am showing you a Sokoban prototype controlled with swipes:"

Read More