Jump to content

Phaser 2.0.1 Ready for Testing


rich
 Share

Recommended Posts

Also in the console when the phaser game starts there are no hearts, but some strange characters.

 

Thanks for the particles emitter catch, I've fixed that.

 

The above happens if you don't have a UTF8 charset meta tag in your html file (which you pretty much always should have). I find it amusing no-one has spotted the easter egg in the hearts yet either :)

Link to comment
Share on other sites

Isn't the phaser.min.js in the build folder already "build"?

 

Build it with bower, y=0 seems to have been solved, but still I can't get collision to work

s = game.add.tileSprite(0, game.world.height - 128, 1024, 128, 'ground');game.physics.enable(s, Phaser.Physics.ARCADE);s.body.immovable = true;player = game.add.sprite(150, game.world.height - 350, 'raven');game.physics.enable(player, Phaser.Physics.ARCADE);function update() {	var _player = player;	var _s = s;    var result = game.physics.arcade.collide(_s, _player, collisionHandler, null, this);    var _result = game.physics.arcade.overlap(_s, _player, collisionHandler, null, this);    window.console.log(result,_result);}
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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