User prompt
the joystick does not move smoothly
User prompt
Fix Bug: 'TypeError: joystick.containsPoint is not a function' in this line: 'if (!joystick.containsPoint(pos)) {' Line Number: 190
User prompt
make it so you can press anywhere ,except for the joystickbase and joystickstick, to shoot purplebullets
User prompt
if you try moving the hero by using the joystick, it shoots a purplebullet. It should not do this
User prompt
change instructions to: Use joystick to move. Tap anywhere to shoot
User prompt
make it so you can press anywhere to shoot purplebullets
User prompt
make the enemy move left and right faster as the game progresses
User prompt
make the enemy movement more random as the game progresses
User prompt
make the enemies get faster as the game progresses
User prompt
make there be less enemies as the game progresses
User prompt
add an instruction2. Put it under the bullet counter and make it say "shoot the bullets to get 5 bullets"
User prompt
make the bulletpack move left and right very fast
User prompt
make the bulletpack appear more rare
User prompt
make a new asset that will be a +5 bullets if you shoot it
User prompt
as the game progresses, make the enemies move left and right and go faster
User prompt
the bullet counter should say 3 instead of 5
User prompt
make the enemies initially stay still but through progression they move faster and faster
User prompt
bullet counter starts at 5 when it should start at 3
User prompt
make the enemy move left and right to make it harder
User prompt
make the bullet limit 3
User prompt
bullets start at 5 when they are suppose to start at 3
User prompt
the game isn't hard enough
User prompt
make the game get progressively harder
User prompt
make the joystick only move left and right
User prompt
change score count font size to 50
===================================================================
--- original.js
+++ change.js
@@ -183,8 +183,16 @@
game.addChild(joystick);
// Handle hero dragging
var dragNode = null;
// Global event listener for shooting bullets
+game.on('down', function (obj) {
+ var event = obj.event;
+ var pos = event.getLocalPosition(game);
+ if (!joystick.containsPoint(pos)) {
+ hero.shoot();
+ }
+});
+// Global event listener for shooting bullets
// Game tick event
LK.on('tick', function () {
// Update character
hero.update();
android. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
letter X png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
space background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. High quality
space background.. High contrast