User prompt
only show the digit off the score text
User prompt
center the text
User prompt
Make the score text green and on the top center
User prompt
update the score text after launch base off the distance bewten the hand and the stone
User prompt
show the score
User prompt
increase the gravity after launch to 20 time
User prompt
increse the gravity off the launch by 5 time
User prompt
increse the power off the slowing off the stone after launch base on the gravity
User prompt
the launch have to be slighty reduce over time
User prompt
the launch have to stop base on gravity
User prompt
increse the gravity of the stone by 10 time
User prompt
the launch have to have gravity applied
User prompt
apply the gravity off the stone only after launch
User prompt
aplay gravity on the launch
User prompt
reduce the power off the launch by 5 time
User prompt
the bounce is moving up with the same power as the launch
User prompt
the first bounce alway apai
User prompt
bounce as half the power off the launch
User prompt
the chance off bounce have to be 90 percent
User prompt
the chance of ricochet have to be 90 percent
User prompt
the bounce have to apain only upward
User prompt
the chance of bounce have to be 80 percent and have to be split in half after each bounce
User prompt
Reduce the power of the launch 10 time
User prompt
Reduce the power off the launch by 10
User prompt
Double the chance off bounce
===================================================================
--- original.js
+++ change.js
@@ -258,9 +258,9 @@
stone.move(lake);
if (stone.isLaunched) {
var distance = Math.sqrt(Math.pow(stone.x - hand.x, 2) + Math.pow(stone.y - hand.y, 2));
LK.setScore(Math.floor(distance));
- self.scoreTxt.setText('Score: ' + LK.getScore());
+ self.scoreTxt.setText(LK.getScore().toString());
}
});
var clickCount = 0;
stage.on('down', function (obj) {
A nice lake Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A hand Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A small stone Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A power bar Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A power bar Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A restart button Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.