Jump to content

is Phaser 3 not for newbie?


NhatNM
 Share

Recommended Posts

Hi! I'm new comer to Phaser! I want start learn HTML5 with Phaser. At Phaser homepage I had picked Phaser 3 by its default. After go around and look verything, I see Phaser 3 had less tutorials for newbie like me. Many tutorials for Phaser 2 but they have too differ with Phaser 3, make me confuse.

I know C# and Unity, already completed Phaser 3 get start tutorial . So. I have some newbie questions:

- What editor can help me easy detect wrong/error line code?

- Have more tutorials for newbie? Many questions I need learn. Example how to make multi scenes, etc

- Should I remove Phaser 3 and back Phaser 2 for easy learn?

Thanks!

Link to comment
Share on other sites

Hello @NhatNM and welcome to the world of Phaser!

In fact, in contrast to Phaser 2, there are currently less available learning resources (tutorials, videos, examples, etc.). But if you want to develop HTML5 games, Phaser 3 is the right framework and I would stick to it and don't use Phaser 2 (personal opinion). Daily new learning resources are being published and Phaser 3 is constantly being optimized.

It is certainly an advantage that you already have programming experience. When developing games with Phaser 3 you will have to learn Javascript or TypeScript in parallel. I would recommend TypeScript, since it has some advantages (f.e. strong typing). But this is up to you if you prefer a strongly or weakly typed language. Currently there's a trend upwards for TypeScript, but no-one can tell how the future will look like. Javascript has been around for much longer and has a strong community.

Here are some resources to continue your journey with Phaser 3, if desired:

https://github.com/photonstorm/phaser3-examples (official examples)
https://github.com/digitsensitive/phaser3-typescript (game examples, cheatsheets, everything in TypeScript)
https://photonstorm.github.io/phaser3-docs/index.html (online docs
https://www.youtube.com/watch?v=T9kOFSFvgKc&t=1759s

Most importantly: Ask questions and do not stick around with a problem for days or weeks. We are also still learning to create games with Phaser 3!

Link to comment
Share on other sites

Many tutorials make me confused Phaser 2 with Phaser 3. Example this: 

 

Why they must must split boot -> preloader -> main menu -> game in multi files when they can store all in one file with  Phaser 3  (if I'm not mistaken)

If I try do same them then I'm doing  Phaser 2, not  Phaser 3. Is it right?

I hope  Phaser's deverlopers or comunity will make more tutorials with target is for newbie, the beginers having know nothing

Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
On 4/29/2018 at 8:28 PM, NhatNM said:

Why they must must split boot -> preloader -> main menu -> game in multi files when they can store all in one file with  Phaser 3  (if I'm not mistaken)

You don't have to split those scenes into different files but often the choice is made to do so because it's a good habit. As your games get larger keeping things in one file leads to very a confusing place where it's difficult to find the code you're looking for. Having them live in different files means that you can collect logically related code together and easy to locate when you need.

 

To your specific questions:

> What editor can help me easy detect wrong/error line code?

My current ideal setup for phaser development is: yarn, webpack, eslint, Typescript, VS Code. Getting all of that running is probably not worth the effort until you have started to get familiar with Phaser. This video covers a pretty solid basic setup https://www.youtube.com/watch?v=wDOym-mXxO4

 

> Have more tutorials for newbie? Many questions I need learn. Example how to make multi scenes, etc

@digitsensitive has a great list of tutorials above. In addition I'd say you should make sure to get hooked into the community so that you have a place to ask questions. The phaser community entails: this forum as well as the newsletter, slack, and discord. I find the real-time chat (discord + slack) to be particularly useful and suggest folks join one of those.

Additionally we've got a couple of FAQs on maintained by the discord community which specifically addresses the early stages of learning Phaser and a super helpful/broad one maintained by Samme.

 

> Should I remove Phaser 3 and back Phaser 2 for easy learn?

Nah, Phaser3 is the future, isn't harder to learn than v2, and has a good community to support it.

 

Anyway, welcome to the party ?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...