User prompt
Make arrows twice as tall
User prompt
Make block_obstacle move faster and faster as it falls
User prompt
Extend arrows to be as tall as the screen
User prompt
Extend arrow size higher
User prompt
Make arrows complete cover the screen
User prompt
Make arrows take up half of the screen each against the sides
User prompt
Delete right_arrow and left_arrow assets
User prompt
Undo arrow movement
User prompt
Fix Bug: 'TypeError: LK.requestAnimationFrame is not a function. (In 'LK.requestAnimationFrame(movePlayerRight)', 'LK.requestAnimationFrame' is undefined)' in this line: 'LK.requestAnimationFrame(movePlayerRight);' Line Number: 98
User prompt
Make arrows control player movement by tap and hold
User prompt
Make arrows transparent
User prompt
Make arrow display against the sides of the screen
User prompt
Make arrows take of half of the screen each
User prompt
Hold arrows instead of tap
User prompt
Add arrows on either side to control movement
User prompt
Delete joystick
User prompt
Add joysticks to control player movement
User prompt
If either side of the screen is tapped or held on, move the player left or right
User prompt
Make player move when holding
User prompt
Make player move when either side of the screen is held
User prompt
Change Tap control to Hold
===================================================================
--- original.js
+++ change.js
@@ -82,8 +82,10 @@
var stopwatch = game.addChild(new Stopwatch());
// Touch event handlers
var rightArrow = game.addChild(LK.getAsset('right_arrow', 'Right arrow control', 1, 0.5));
+rightArrow.width = 1024; // Set width to half of the screen
+rightArrow.height = game.height; // Set height to full screen
rightArrow.x = 2048 - rightArrow.width / 2;
rightArrow.y = game.height / 2;
rightArrow.on('move', function (obj) {
var event = obj.event;
@@ -92,8 +94,10 @@
player.moveRight();
}
});
var leftArrow = game.addChild(LK.getAsset('left_arrow', 'Left arrow control', 0, 0.5));
+leftArrow.width = 1024; // Set width to half of the screen
+leftArrow.height = game.height; // Set height to full screen
leftArrow.x = leftArrow.width / 2;
leftArrow.y = game.height / 2;
leftArrow.on('move', function (obj) {
var event = obj.event;