Hi Everyone.
Recently, I have been working on a written tutorial series that shows how to recreate the classic game Solitaire with Phaser 3. The series is written in TypeScript, and I tried to keep it as beginner friendly as possible. The tutorial is split into 6 parts, and throughout the series we see how we can use the following Phaser 3 features to build the game:
- Using the Zone game object for handling player interaction events
- Using drag events on game objects to move objects in the scene
- Using the Drop Zones for checking when game objects are dropped on Zones
- Using drop events on game objects to handle object overlaps without physics
- Using the data manager for storing and retrieving data on the game objects
- Using containers for grouping and positioning game objects
- Using built in scene transitions
- Loading sprite sheets, images, and displaying these as game objects in our game
If you are interested in checking out the tutorial series, you can read the tutorial series here on my blog: Phaser 3 Solitaire Tutorial Series - Part 1
You can find a playable demo of the game that we will build here: https://devshareacademy.github.io/phaser-3-solitaire-tutorial/
For anyone interested in the source code, it is available on GitHub here: GitHub - devshareacademy/phaser-3-solitaire-tutorial
I’m more than happy to help anyone out if they have questions, suggestions, or just general feedback!
Here are direct links to each of the parts: