User prompt
The minion object is not being shown where the deadbody is
User prompt
Fix Bug: 'ReferenceError: minions is not defined' in this line: 'minions.push(newMinion);' Line Number: 52
User prompt
When the player's bar fills up, create a new object of minion type where the deadbody object is
User prompt
Change global timeNeededNearDeadBody to be 1
User prompt
CHange the player timeSpentNearDeadBody to not use LK.ticks and just add 1/60 each for each update
User prompt
Modify the player's move function to only scale the meter bar when the player isn't moving but keep the meterBar shown until the distanceToDeadBody more than 200. The meter bar should keep it's current size and time until then
User prompt
If the player is still within the distance to the deadbody, the meterbar should still be shown and keep it's current scale.
User prompt
Make it so that the meter bar on the player can only scale when the player isn't moving
User prompt
change timeNeededNearDeadBody to be 0.5
User prompt
change timeNeededNearDeadBody to be 2
User prompt
change timeNeededNearDeadBody to be 1
User prompt
Use the variable timeNeededNearDeadBody as the time needed for the player to scale the meterbar
User prompt
Create a global variable for time needed to be spent near a dead body
User prompt
Make the time to scale x the meterBar to 2 shorter so that it reaches that value in 1 second
User prompt
Make the ticksText be the value of the timeSpentNearDeadBody
User prompt
Make timeSpentNearDeadBody the difference between the value of LK.ticks when player first gets within the distance to the deadBody and the current LK.ticks value
User prompt
Add a UI text element that shows the LK.ticks value
User prompt
Make the meterBar Background not scale with the bar over time so it's a fixed size
User prompt
Make the meterBar background slightly bigger than the meterBar itself
User prompt
Add a background image for the meterbar
User prompt
move the player's meterBar Y to be -430
User prompt
Make the player's meterBar height scale to be 0.2
User prompt
Make the player's meterBar X position to be -100
User prompt
The player's meterBar max scale is 2
User prompt
The player's meterBar max width is 300
===================================================================
--- original.js
+++ change.js
@@ -49,8 +49,9 @@
var newMinion = new Minion();
newMinion.x = deadBody.x;
newMinion.y = deadBody.y;
self.parent.minions.push(newMinion);
+ self.parent.addChild(newMinion);
self.removeChild(self.meterBar);
self.timeSpentNearDeadBody = 0;
self.meterBar.scale.x = 0;
}
A pixel art sprite in a Super Nintendo, Super Castlevania style where it looks a little gothic/vampire hunter like Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A pixel art large background in a Super Nintendo, Super Castlevania style with an open world like cemetery, 3/4 viewpoint Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. A pixel art sprite in a Super Nintendo, Super Castlevania style that looks like a small pile of bones
Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. A pixel art sprite in a Super Nintendo, Super Castlevania style that looks like a skeleton zombie that is haunched over
Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Pixel art in a SNES style that looks like something from castlevania. A ground explosion effect like something is coming out of the ground
Pixel art in SNES Castlevania style. Red goblin Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Pixel art in SNES Castlevania style. Red goblin