Jump to content

Tutorial: In-depth Pong Remake with HTML5 + Phaser


zeke_chan
 Share

Recommended Posts

Hi everyone,


 


I just wrote a tutorial on how to remake the classic Pong game in HTML5 and Phaser. It's composed of 7-parts and I try to go as in-depth as possible to explain every single line of code I use.


 


Tutorial Outline


  1. Project Setup
  2. Loading Assets & Adding Sprites
  3. Moving the Ball
  4. Adding the Game Mode
  5. Moving the Paddles & Adding Collisions
  6. Scoring and Resetting
  7. Adding Sounds and Wrapping Up

 


Link to tutorial


http://www.zekechan.net/getting-started-html5-game-development-pong1/


 


Source files


https://github.com/zekechan/phaser-html5-tutorial-pong


 


I'm also planning to write similar game tutorials on other classic games like:


  • Breakout
  • Space invaders
  • Asteroids

If you enjoy the tutorial and would like more I would love to hear your thoughts. Feel free to reply, send me a message, leave a comment on my blog =)


Link to comment
Share on other sites

Nice tutorial overall! I like the idea of explaining everything instead of just telling people what to copy and paste, although maybe the detail is a bit to much. Also, if the target audience is complete beginners, and introduction explaining HTML5 and Phaser might be helpful. Otherwise, great job!

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...