User prompt
makeitsothattheplayersscorecantgointothenegivesandifitwouldmakeitcancelbothaffectsofthebutton
User prompt
Update the hero's move method to follow the cursor
User prompt
Please fix the bug: 'ReferenceError: WeakerMonster is not defined' in or related to this line: 'var monster = new WeakerMonster();' Line Number: 200
User prompt
remove the monster walsing animations and the strong monster
User prompt
Please fix the bug: 'ReferenceError: wall2 is not defined' in or related to this line: 'if (!self.intersects(wall1) && !self.intersects(wall2)) {' Line Number: 183
User prompt
place the wall into the center of the screen
User prompt
lets make some walls the player and the monster cant walk through
User prompt
Please fix the bug: 'ReferenceError: monster is not defined' in or related to this line: 'self.speed = 3 * monster.speed;' Line Number: 37
User prompt
limit the heroright and heroleft cursor following movement to 3 times the speed of the mnster
User prompt
Please fix the bug: 'TypeError: hero.shoot is not a function' in or related to this line: 'bullets.push(hero.shoot());' Line Number: 268
User prompt
Please fix the bug: 'TypeError: hero.update is not a function' in or related to this line: 'hero.update();' Line Number: 276
User prompt
Please fix the bug: 'ReferenceError: HeroRight is not defined' in or related to this line: 'if (!(hero instanceof HeroRight)) {' Line Number: 248
User prompt
Please fix the bug: 'ReferenceError: heroright is not defined' in or related to this line: 'heroright.update();' Line Number: 276
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'expand')' in or related to this line: 'var HeroLeft = Hero.expand(function () {' Line Number: 21
User prompt
FIX THE SHITY GAME YOU FUCKING PIECE OF SHIT
User prompt
fix it than
User prompt
show the button
User prompt
move the new button to the lower left corner
User prompt
Add a new button class is on the bottom left corner of the screen that when clicked, subtracts 100 points from the score how ever if the score is negative make sure that the button doesn't do anything. when the button is successfully clicked reduce the bullet cool-down by 0.5 seconds for both 'heroleft' and 'heroright' classes
User prompt
load the button so I can see it
User prompt
make it so I can see and click the button
User prompt
put the level up button in the lower left corner of the screen
User prompt
sho the level up button
User prompt
fix the level up button
User prompt
make it so that every time I click it fires a bullet
===================================================================
--- original.js
+++ change.js
@@ -84,8 +84,9 @@
hero.shootCooldown = Math.max(0, hero.shootCooldown - 30); // 0.5 seconds at 60FPS
}
}
});
+ self.interactive = true;
});
var StrongerMonster = Container.expand(function () {
var self = Container.call(this);
var monsterGraphics = self.attachAsset('strongMonster', {
@@ -188,10 +189,10 @@
****/
// Add CooldownButton to the game
// Joystick for hero movement
var levelUpButton = game.addChild(new Button());
-levelUpButton.x = 100;
-levelUpButton.y = 2732 - 100;
+levelUpButton.x = 50;
+levelUpButton.y = 2732 - 50;
var joystick = new Container();
var joystickBase = joystick.attachAsset('button', {
anchorX: 0.5,
anchorY: 0.5,
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.