User prompt
make it so that if the player goes out the obstacle bottom and obstacle top that the game over screen will be played
User prompt
make it so that the player jumps a little higher
User prompt
make the player bigger and make the hitbox as big as the player
User prompt
make it so that if the player falls that the game over screen will start
Initial prompt
flappy bird
===================================================================
--- original.js
+++ change.js
@@ -23,9 +23,11 @@
var Player = Container.expand(function () {
var self = Container.call(this);
var playerGraphics = self.attachAsset('player', {
anchorX: 0.5,
- anchorY: 0.5
+ anchorY: 0.5,
+ scaleX: 2,
+ scaleY: 2
});
self.velocityY = 0;
self.gravity = 0.25;
self.lift = -6;