Jump to content

My First game with Phaser using modern Javascript


Fernando Henriques
 Share

Recommended Posts

Hello, guys!

I'm new here and in the world of games in general, that is why i need the quality feedback from community.

I just finished my first game with Phaser, using a modern strucuture for the Javascript. The game is simple, but the organization of the code can serve as a reference for the community.

I used ES6 for writing javascript and divided the code according to CommonJS pattern, using Browserify + Babel for this. I still used a linter (JSHint) for syntax  tests and the Gulp for create and manage tasks like minify CSS, uglify JS, run the tests and do JS code via browserify (commonJS in client-side) + Babel (transpiler of ES5 for ES6).  

Ah, of course, all dependecies manages by NPM.

I think that, for less experienced developers in hard code and javascript in general, my code can serve like a guide/boilerplate. 

Please, have a look at the repository and use the code as you prefer: https://github.com/fernandohenriques/paw-patrol-game-for-kids

Read the README.md and talk to me, for any question.

On the other hand, how I'm new in the world of games, i need on your tips to enhance user experience and gameplay.

*******************************************************************************************************************************

Paw Patrol Game

Description: A simple 2D phase game with "Paw Patrol" theme, aimed at childrens. In total there are four stages and the player has to get all the bones of each phase before the time runs out.

Direct link for the game: http://fernandohenriques.com.br/paw-patrol-game/

Thanks!

screenshot-level02.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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