-var FireObjectClass = function(stage, args){
+var FireObjectClass = function(stage, args){
FireObjectClass.base.apply(this, arguments);
this.fireVelocity = new Point2D(600, 100);
this.origin.x = ownerObj.origin.x - 32;
}
this.movingSpeed.x = fvx;
+ this.movingSpeed.y = -this.fireVelocity.y
ownerObj.ownerStage.addStageObject(this);
},
this.size.x = 32;
this.size.y = 64;
- this.movingVelocity = 195;
+ this.movingVelocity = 200;
this.ownerUID = stage.manager.userID;
stage.userControlledCharacter = this;
f.maxBoundCount = 1;
f.size.x = 32;
f.size.y = 32;
- f.fire(this);
+ f.fireVelocity = new Point2D(1500, 0);
+ f.antigravity = 700 / this.ownerStage.manager.tickPerSecond;
+ f.fire(this);
+
+
this.lastFireTick = this.ownerStage.manager.tickCount;
+
}
},
});
this.size.x = 32;
this.size.y = 64;
- this.movingVelocity = 210;
-
this.ownerUID = stage.manager.userID;
+ this.jumpPower = 120;
+ this.movingVelocity = 250;
+ this.max_HP = 50;
+ this.HP = this.max_HP;
stage.userControlledCharacter = this;
stage.addStageObject(this, true);
}.extend(MainCharacterClass, {
this.antigravity = 600 / stage.manager.tickPerSecond;
this.jumpPower = 42;
-
+ this.max_HP = 80;
+ this.HP = this.max_HP;
stage.userControlledCharacter = this;
stage.addStageObject(this, true);
}.extend(MainCharacterClass, {
this.jumpPower_tickCountBase = 15;
this.jumpPower_tickCountAtLeast = 2;
this.jumpPower_tickCount = 0;
- this.jumpPower = 100;
+ this.jumpPower = 110;
this.jumpSound = createAudio("jump12.mp3");
this.collisionMargin.top = 2;
this.collisionMargin.left = 10;