mirror of
https://github.com/wassname/phaser.git
synced 2026-07-16 01:20:13 +08:00
ScrollZone back in under the new renderer with new demos
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
function create() {
|
||||
atari = game.add.sprite(200, 300, 'atari');
|
||||
atari.texture.alpha = 0.5;
|
||||
//atari.scale.setTo(2, 2);
|
||||
//atari.scale.setTo(1.5, 1.5);
|
||||
atari.physics.shape.setSize(150, 50);
|
||||
atari.physics.shape.offset.setTo(250, 25);
|
||||
atari.physics.shape.offset.setTo(50, 25);
|
||||
//atari.physics.gravity.setTo(0, 2);
|
||||
atari.physics.bounce.setTo(0.7, 0.7);
|
||||
atari.physics.drag.setTo(10, 10);
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
atari = game.add.sprite(200, 300, 'atari');
|
||||
atari.texture.alpha = 0.5;
|
||||
//atari.scale.setTo(2, 2);
|
||||
//atari.scale.setTo(1.5, 1.5);
|
||||
|
||||
atari.physics.shape.setSize(150, 50);
|
||||
atari.physics.shape.offset.setTo(50, 25);
|
||||
|
||||
Reference in New Issue
Block a user