mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Added Game core loop stepping support. Super-useful for debugging, and helped me track down the issue with jittery physics collision. Double-win!
This commit is contained in:
@@ -15,6 +15,7 @@ var layer;
|
||||
var sprite;
|
||||
var sprite2;
|
||||
var balls;
|
||||
var cursors;
|
||||
|
||||
function create() {
|
||||
|
||||
@@ -30,7 +31,7 @@ function create() {
|
||||
|
||||
layer.debug = true;
|
||||
|
||||
game.physics.gravity.y = 150;
|
||||
// game.physics.gravity.y = 150;
|
||||
|
||||
/*
|
||||
balls = game.add.group();
|
||||
|
||||
Reference in New Issue
Block a user