rich

Weekly Phaser Coding Tips email

Recommended Posts

So you've downloaded Phaser and had a play, but now what?

 

Why not sign-up for our free weekly Phaser Coding Tips email?

 

It's a short, focused blast in your inbox once a week. Typical contents include things such as:

 

  • Mini coding tutorials
  • Code snippets
  • Lunch-break game dev: Games you can make in under an hour
  • Phaser news and links
  • New Phaser release details

 

http://phaser.io/coding-tips.php

 

Past Issues

  1. Part 1 of Tanks
  2. Part 2 of Tanks
  3. Platformers - Moving Platforms
  4. Platformers - Cloud Platforms
  5. Move it like Pacman

Share this post


Link to post
Share on other sites

I've signed up, and it sounds cool, but the more you say it's free *free* free free FREE FREE FREE FREE FREE FREE – the more it sounds like it's going to be useless marketing babble. Just my (free) 2 cents ;)

Share this post


Link to post
Share on other sites

Because this game uses pixel art we're going to use a rounded canvas renderer:

this.game.renderer.renderSession.roundPixels = true;

 

Just because of this it was worth signing up for me!

Share this post


Link to post
Share on other sites

I really am enjoying these - very useful. The edgeTime trick in #3 is really nice - had thought about it, but never implemented it before.

 

A couple things that would be nice to know about platforms: How do you make 1 way platforms (ie. jump through the bottom)? For this I know you can set which sides to check collision from. And how can you fall through special kinds of platforms, for example by pressing down when standing on one?

Share this post


Link to post
Share on other sites

I'll be covering those soon :) Next week will be platforms that follow set (tweened) paths, and how to lock the player onto them - this is actually far more complex than it sounds, but leads to some great results :)

 

I will cover n-way and collapsing platforms after this. Oh and ladders and grappling hooks. Because who doesn't like grappling hooks? :)

Share this post


Link to post
Share on other sites

Another great tutorial. The power of the framework is really showing. Did you know that in Mario, the clouds and the bushes are the same sprite? 

 

A request: add mobile controls to these, so that we can check them out on a tablet or phone.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.