NhatNM Posted April 28, 2018 Share Posted April 28, 2018 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 More sharing options...
digitsensitive Posted April 28, 2018 Share Posted April 28, 2018 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! NhatNM 1 Link to comment Share on other sites More sharing options...
NhatNM Posted April 29, 2018 Author Share Posted April 29, 2018 Thanks! ? I wish they will show simple more than now Link to comment Share on other sites More sharing options...
NhatNM Posted April 30, 2018 Author Share Posted April 30, 2018 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 More sharing options...
EpicKingdom_ Posted September 28, 2018 Share Posted September 28, 2018 Trying to learn Phaser 3 has been a frustrating experience, Unity 3D might be easier to learn with all the Youtube videos and tutorials that are available. makis 1 Link to comment Share on other sites More sharing options...
makis Posted October 15, 2018 Share Posted October 15, 2018 That is true. Phaser boss has nothing to do with people that are not big developpers. We others are just nothing Link to comment Share on other sites More sharing options...
jdotr Posted October 16, 2018 Share Posted October 16, 2018 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 ? prob 1 Link to comment Share on other sites More sharing options...
Recommended Posts