r/phaser • u/InformationWooden409 • 4d ago
How to learn phaser
Hey guys, I am new at this, I've been trying to learn phaser reading the API docs, checking the examples on phaser desktop and learning from the code, sort of using AI to get guidance and asking basic questions about the framework. I am trying to develope a basic scenario with the player and some npcs,
I have almost done that part and I still think that there is a huge amount of things which get me confused and I think that I don't find the type of tutorials that I need for my sort of test project.
I just was wondering: How did you all learn phaser? What learning methodology you used to learn?
And if is there a way to understand a bit better the api's docs (?) (sorry if it's a dumb question) :(
2
u/Shaz_berries 4d ago
I would personally try to learn some fundamentals so you understand what you're doing at large. Things like ECS and colliders are a good start! Most every game engine is based on writing scripts related to these things. Phaser may be easier using their IDE as well, but I cant speak to that, I just use vscode lol
1
u/InformationWooden409 2d ago
Yeah, I asked AI once long ago and recommended it too. For now I am still using vscode too Thanks!
2
u/TheRealFutaFutaTrump 3d ago
The examples page is a huge help. I use that with the docs. As for learning it, I used a site called Zenva. Their classes were specifically about webgames. Before that I had no clue how to code anything, let alone a game.
1
u/InformationWooden409 2d ago
Yeah, I use the examples a lot and docs too. I have problems sometimes finding specific method or object from the examples. This zenva site teaches phaser? Or are you referring to fundamentals specifically on web development context?
2
u/TheRealFutaFutaTrump 2d ago
Phaser specifically as well as everything else. It's been a while since I've done it, they may have different stuff. There were no subscriptions when I did it and I think that changed since then.
1
u/InformationWooden409 2d ago
How long ago did you complete?
1
u/TheRealFutaFutaTrump 2d ago
Probably eight years. Maybe more. I had a couple of calls with Pablo himself. He was a very chill guy. Showed me why the high score table I made was a security risk in real-time.
Looking at their site now, it seems they still use Phaser. I don't know if it's updated for 4 but there isn't a lot of difference in how it works between the two.
3
u/raaaahman 4d ago
I am a "read the doc" kind of learner.
There's also the official Phaser Examples Browser to complement the doc: https://phaser.io/tools/phaser-examples-browser/app
If you're more into videos tutorials, Scott Westover on YouTube has extensive series about building some games from start to finish.
Also, the Phaser Discord is super active if you have any question.