User prompt
make the player 3 times faster
User prompt
limit the players movement speed so that it is slightly faster than the minster
User prompt
make the hero fallow the cursor
User prompt
make the player move faster
User prompt
show the joystick
User prompt
show the joystick in the center of the screen
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'draggable')' in or related to this line: 'joystickKnob.draggable = true;' Line Number: 186
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'attachAsset')' in or related to this line: 'var joystickKnob = joystick.attachAsset('button', {' Line Number: 185
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'var joystickBase = joystick.attachAsset('button', {' Line Number: 183
User prompt
can we make the player the center of the joystick
User prompt
make the player move faster
User prompt
okay so now make the joystick move the hero
User prompt
aculty it would be best in the center
User prompt
move it to the right side of the screen
User prompt
can you make a joystick for hero movement
User prompt
remove unnecessary code that doesn't work anymore
User prompt
something is wrong it increeced the spawn rate before the button was activated
User prompt
Increase monster spawn rate to one every 4 seconds when the cooldown button is successfully activated
User prompt
Increase monster spawn rate to one every 5 seconds when the cool-down button is successfully activated
User prompt
cool can we increece the monster spawn rate one the player successfully activates to cooldown button so the game remains challenging
User prompt
make it so that the cool down button subtracts 0.5 seconds from the cool down
User prompt
make it so that the player cant get a negative score
User prompt
Please fix the bug: 'Uncaught ReferenceError: CooldownButton is not defined' in or related to this line: 'var cooldownButton = game.addChild(new CooldownButton());' Line Number: 179
Code edit (1 edits merged)
Please save this source code
User prompt
make it so that the the button dosent work if the players score is under 100
===================================================================
--- original.js
+++ change.js
@@ -173,10 +173,10 @@
});
var joystickKnob = joystick.attachAsset('button', {
anchorX: 0.5,
anchorY: 0.5,
- x: 2048 / 2,
- y: 2732 / 2
+ x: joystickBase.x,
+ y: joystickBase.y
});
joystickKnob.draggable = true;
joystick.on('move', function (obj) {
var pos = obj.event.getLocalPosition(game);
wooden door thats round at the top 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
wisard 8 bit from the top down. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tentacle monster 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8 bit tentacle monster. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8 bit stone brick dungeon floor with a tiny amount of moss with tinny little bricks and very low contrast make it darker to. Single Game Texture. In-Game asset. 2d. Blank background.. No shadows.
8 bit fireball with a flame trail that goes down. Single Game Texture. In-Game asset. 2d. Blank background.. No shadows.
just move the tentacles a tinny litle bit
make the monster move
green button 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.