mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Added the new Timer, TimerEvent and Time methods to the TypeScript definitions files.
This commit is contained in:
@@ -33,7 +33,8 @@ function create() {
|
||||
sprite.body.bounce.setTo(0.8, 0.8);
|
||||
|
||||
//sprite.body.drag.setTo(0, -20);
|
||||
sprite.body.drag.setTo(10, 10);
|
||||
// sprite.body.drag.setTo(10, 10);
|
||||
sprite.body.friction = 0.1;
|
||||
|
||||
// sprite.body.sleepMin.setTo(-50, -20);
|
||||
// sprite.body.sleepMax.setTo(50, 20);
|
||||
|
||||
Reference in New Issue
Block a user