|
|
@ -30,7 +30,7 @@ Q.Sprite.extend("Player",{
|
|
|
|
// You can call the parent's constructor with this._super(..)
|
|
|
|
// You can call the parent's constructor with this._super(..)
|
|
|
|
this._super(p, {
|
|
|
|
this._super(p, {
|
|
|
|
sheet: "astronaut", // Setting a sprite sheet sets sprite width and height
|
|
|
|
sheet: "astronaut", // Setting a sprite sheet sets sprite width and height
|
|
|
|
x: 360, // You can also set additional properties that can
|
|
|
|
x: 320, // You can also set additional properties that can
|
|
|
|
y: 90 // be overridden on object creation
|
|
|
|
y: 90 // be overridden on object creation
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|