Add: HintBubble
Fix: chocoball color Fix: history, ranking DB
This commit is contained in:
@@ -41,28 +41,20 @@ God.prototype.setScale = function(size) {
|
||||
}
|
||||
|
||||
|
||||
God.prototype.animateHappy = function(type) {
|
||||
God.prototype.animateHappy = function() {
|
||||
this.loadTexture('god_happy');
|
||||
// this.mainGame.speechBubble.showSpeechBubble(type);
|
||||
|
||||
var tween = game.add.tween(this.scale);
|
||||
tween.to({x:0.6, y:0.6}, 500, Phaser.Easing.Quadratic.Out, true, 0);
|
||||
// tween.to({x:0.7, y:0.7}, 1000, Phaser.Easing.Elastic.InOut, true, 0, 2, true);
|
||||
// tween.to({x:0.7, y:0.7}, 1000, Phaser.Easing.Linear.None, true, 0);
|
||||
tween.to({y:0.52}, 500, Phaser.Easing.Quadratic.Out, true, 0);
|
||||
tween.onComplete.add(this.smileAgain, this);
|
||||
tween.start();
|
||||
}
|
||||
|
||||
God.prototype.animateAngry = function(type) {
|
||||
God.prototype.animateAngry = function() {
|
||||
this.loadTexture('god_angry');
|
||||
// this.mainGame.speechBubble.showSpeechBubble(type);
|
||||
|
||||
var tween = game.add.tween(this.scale);
|
||||
// tween.to({x:0.7}, 1000, Phaser.Easing.Quadratic.In, true, 0);
|
||||
tween.to({x:0.6}, 1000, Phaser.Easing.Bounce.Out, true, 0);
|
||||
|
||||
// tween.to({x:0.7, y:0.7}, 1000, Phaser.Easing.Elastic.InOut, true, 0, 2, true);
|
||||
// tween.to({x:0.7, y:0.7}, 1000, Phaser.Easing.Linear.None, true, 0);
|
||||
tween.to({x:0.55}, 500, Phaser.Easing.Bounce.Out, true, 0);
|
||||
tween.onComplete.add(this.smileAgain, this);
|
||||
tween.start();
|
||||
}
|
||||
@@ -80,5 +72,5 @@ God.loadResources = function() {
|
||||
|
||||
}
|
||||
|
||||
God.POSITION_X = 840;
|
||||
God.POSITION_Y = 645;
|
||||
God.POSITION_X = 800;
|
||||
God.POSITION_Y = 560;
|
||||
Reference in New Issue
Block a user