User prompt
Please fix the bug: 'ReferenceError: is_level3 is not defined' in or related to this line: 'if (is_level3) {' Line Number: 2166
Code edit (1 edits merged)
Please save this source code
User prompt
in room4() if room4state.is_dollkey_found == false, instantiate the dollkey at dollkeyx and dollkeyy
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'krampusHalfB.destroy();' Line Number: 2282
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'krampusHalfB.destroy();' Line Number: 2282
User prompt
Please fix the bug: 'Uncaught TypeError: krampusHalfB.destroy is not a function' in or related to this line: 'krampusHalfB.destroy();' Line Number: 2282
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'destroy')' in or related to this line: 'self.destroy();' Line Number: 2278
Code edit (3 edits merged)
Please save this source code
User prompt
make sure that dollkey is being destroyed once it is clicked
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
after destroying the lighter, instantiate the dollkey at room4state.dollkeyX and room4state.dollkeyY
Code edit (4 edits merged)
Please save this source code
User prompt
in the update function, if is_room4 ==true if the candle2, candle3, candle4 and candle5 are lit then destroy the lighter
Code edit (1 edits merged)
Please save this source code
User prompt
make the movement of the flameabovecandle2 faster and a smaller distance
Code edit (5 edits merged)
Please save this source code
User prompt
make flameabovecandle2 move up and down
User prompt
in room4() instantiate bg_flame above candle2
Code edit (2 edits merged)
Please save this source code
User prompt
before the call to the gameover function in enemy, prevent the user from clicking on the enemy
Code edit (2 edits merged)
Please save this source code
User prompt
in the enemy class, when the enemy is pressed, play s_dolldeath01 or s_dollDeath02 at random
===================================================================
--- original.js
+++ change.js
@@ -277,21 +277,21 @@
var room5State = {};
var room4State = {
is_key_found: false,
is_possible_pick_up: false,
- is_candle1_lit: true,
+ // is_candle1_lit: true,
is_candle2_lit: false,
is_candle3_lit: false,
is_candle4_lit: false,
is_candle5_lit: false,
arrowLeftX: 200,
arrowLeftY: 2732 / 2,
//candles position
- candle1_x: 2048 / 2,
- //center candle --good
- candle1_y: 2732 / 2 + 650,
+ // candle1_x: 2048 / 2,
+ // //center candle --good
+ // candle1_y: 2732 / 2 + 650,
//center candle
- candle2_x: 2048 / 2,
+ candle2_x: 2048 / 2 + 50,
candle2_y: 2732 / 2 + 900,
candle3_x: 2048 / 2 + 400,
candle3_y: 2732 / 2 + 600,
candle4_x: 2048 / 2 - 400,
@@ -1799,18 +1799,18 @@
};
levelObjs.push(arrowLeft);
fadeInObj(arrowLeft, 3000);
// Instantiate 5 candles using coordinates from room4State
- var candle1 = LK.getAsset('bg_Candle', {
- anchorX: 0.5,
- anchorY: 0.5,
- x: room4State.candle1_x,
- y: room4State.candle1_y,
- alpha: 0
- });
- game.addChild(candle1);
- levelObjs.push(candle1);
- fadeInObj(candle1, 3000);
+ // var candle1 = LK.getAsset('bg_Candle', {
+ // anchorX: 0.5,
+ // anchorY: 0.5,
+ // x: room4State.candle1_x,
+ // y: room4State.candle1_y,
+ // alpha: 0
+ // });
+ // game.addChild(candle1);
+ // levelObjs.push(candle1);
+ // fadeInObj(candle1, 3000);
var candle2 = LK.getAsset('bg_Candle', {
anchorX: 0.5,
anchorY: 0.5,
x: room4State.candle2_x,
@@ -1819,8 +1819,19 @@
});
game.addChild(candle2);
levelObjs.push(candle2);
fadeInObj(candle2, 3000);
+ var flameAboveCandle2 = LK.getAsset('bg_Flame', {
+ anchorX: 0.5,
+ anchorY: 0.5,
+ x: room4State.candle2_x,
+ y: room4State.candle2_y - 150,
+ // Position flame above the candle
+ alpha: 0
+ });
+ game.addChild(flameAboveCandle2);
+ levelObjs.push(flameAboveCandle2);
+ fadeInObj(flameAboveCandle2, 3000);
var candle3 = LK.getAsset('bg_Candle', {
anchorX: 0.5,
anchorY: 0.5,
x: room4State.candle3_x,
Eerie Christmas-inspired toy shop The only text on screen should be the title "Krampus Lockdown" centered on the image.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a single cartoon snowflake. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple eerie christmas blank dirty ripped paper. Use christmas colors. Do not put text, just the dirty ripped paper so i can fill it myself with text. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. No text.
A heavily grainy screen filled with analog noise, washed-out colors, subtle scratches on the film, and a worn, nostalgic texture.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
horizontal scan lines, slightly distorted colors, subtle static noise, and faint glow around edges.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bloody christmas elf glove tapping at screen clipart. Just the glove. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
the number 13 written in black. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
black gothic frame with a question mark inside silhouette. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple dirty, dark and eerie Christmas clown key. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
the number 28 written in black, make the numbers eerie. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
the number 7 written in black, make the numbers eerie. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
the number 0 written in black, make the numbers eerie. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired room similar to a resident evil room Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired bathroom similar to a resident evil room Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a cartoon envelope with an toy elf on it holding a questionmark. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple dirty, dark and eerie Christmas bathroom key. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired krampus lock with a resident evil style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired button as an arrow pointing right that says SKIP in a creepy font png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired garage similar to a resident evil room Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple fuse inspired from a resident evil puzzle graphics Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
an eerie wall fusebox Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired hallway similar to a resident evil room Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie creepy old rusty key with krampus face embossed on it png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple dirty, dark and eerie Christmas bathroom key. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired mistletoe lock with a resident evil style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired tree lock with a resident evil style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple dirty, dark and eerie Christmas light key. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired christmas light lock with a resident evil style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
eerie christmas inspired lump of coal with a resident evil style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie flame similar to a resident evil asset, realistic Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired krampus statuette similar to a resident evil asset Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple eerie christmas blank dirty letter envelope. Use christmas colors. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. No text.
Eerie Christmas-inspired crypt room similar to a resident evil room Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a simple dark red cartoon christmas hat Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. No text.
cartoon mulled wine. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon christmas inspired question mark Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
krampus with a christmas hat coin embossed on it png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
mulled wine coin embossed on it png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Eerie Christmas-inspired krampus doll sitting similar to a resident evil Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
old safe png grey with four buttons on the side. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
s_KrampusLaugh01
Sound effect
s_SplashScreen
Sound effect
s_KrampusLaugh02
Sound effect
s_WomanScream01
Sound effect
s_ManScream01
Sound effect
s_ManScream02
Sound effect
s_WomanScream02
Sound effect
s_LightBuzz
Sound effect
s_ShutdownSound
Sound effect
s_CrumpledPaper
Sound effect
s_Bathroom
Sound effect
s_GameOver
Sound effect
s_CartoonRun
Sound effect
s_GetItem
Sound effect
s_KrampusScream
Sound effect
s_UnlockSound
Sound effect
s_WindBlow
Sound effect
s_FuseBoxOn
Sound effect
s_GeneratorSound
Sound effect
s_Locked
Sound effect
s_Interior
Sound effect
s_DollDeath
Sound effect
s_Footsteps
Sound effect
s_DollLaugh01
Sound effect
s_DollLaugh02
Sound effect
s_DollDeath01
Sound effect
s_DollDeath02
Sound effect
s_EncounterMusic
Sound effect
s_FirstDollMusic
Sound effect
s_ChristmasMusic
Sound effect
s_BreakingSound
Sound effect
s_Collected
Sound effect
s_Extinguished
Sound effect
s_Appear
Sound effect
s_MulledWine
Sound effect
s_Slurping
Sound effect
s_SafeUnlocked
Sound effect
s_LockedSafe
Sound effect