phaserjs / phaser-ce-examples

Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework.

Home Page:http://phaser.io/examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

platformer material example is not working correctly

g-dormoy opened this issue · comments

Originaly post as an issue on the phaser repository :
phaserjs/phaser#1072

http://examples.phaser.io/_site/view_full.html?d=p2%20physics&f=platformer+material.js&t=platformer%20material

It seems that each time the player object collides, it gets accelerated more, making this >demo unuseable.

I thinks the issue is on the line 63 the stiffness is too high, setting it to 1e3 solve the problem.