User prompt
Please fix the bug: 'Timeout.tick error: tween is not defined' in or related to this line: 'tween(textObject, {' Line Number: 980 ↪💡 Consider importing and using the following plugins: @upit/tween.v1
Code edit (12 edits merged)
Please save this source code
User prompt
increase the speed of the scaling up of the enemies
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
in room2, if room2state.ismedallionb instantiate se_medallionb
User prompt
if room2STATE.is_medalliona ==true, instantiate se_madalliona at room2state.medallionaX and medallionay
Code edit (3 edits merged)
Please save this source code
User prompt
in room2, instantiate krampusframe at room2state.medallionplaquex and medallionplaquey
Code edit (3 edits merged)
Please save this source code
User prompt
on inventory full, do not destroy the asset
Code edit (1 edits merged)
Please save this source code
User prompt
set max alpha for medallionA to 75
Code edit (16 edits merged)
Please save this source code
User prompt
in room3() if room3state.is_medallion_found == false, instantiate the se_medallionA on click it should be added to inventory
Code edit (1 edits merged)
Please save this source code
User prompt
in room2 add s_breaking sound to breakable breaking
User prompt
change collectible found text to white
Code edit (1 edits merged)
Please save this source code
User prompt
put an outline in white around the collectible found text
User prompt
collectible found text should be in red
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'setText')' in or related to this line: 'collectibleCounterText.setText(collectibleCounter + "/" + maxCollectibles);' Line Number: 319
User prompt
in the default collectible down function add that the text "Collectible found!" shows at the place of the collectible and disappears after 2 seconds
User prompt
remove the collectibletext that displays how many colectibles have been found
===================================================================
--- original.js
+++ change.js
@@ -452,8 +452,16 @@
is_key_found: false,
is_safe_unlocked: false,
is_first_entry: true,
is_breakable_down: false,
+ is_medallionA: true,
+ is_medallionB: true,
+ medallionAX: 2048 / 2 + 350,
+ medallionAY: 2732 / 2 - 500,
+ medallionBX: 2048 / 2 + 150,
+ medallionBY: 2732 / 2 - 500,
+ medallionPlaqueX: 2048 / 2 + 250,
+ medallionPlaqueY: 2732 / 2 - 500,
fuseX: 100,
fuseY: 2150,
fuseboxX: 600,
fuseboxY: 1100,
@@ -1681,8 +1689,20 @@
room3();
};
}
if (!room2State.is_key_found) {
+ // Instantiate krampusframe at specified coordinates
+ var krampusFrame = LK.getAsset('s_KrampusFrame', {
+ anchorX: 0.5,
+ // Center the anchor point
+ anchorY: 0.5,
+ // Center the anchor point
+ x: room2State.medallionPlaqueX,
+ // Use the x-coordinate from room2State
+ y: room2State.medallionPlaqueY // Use the y-coordinate from room2State
+ });
+ game.addChild(krampusFrame);
+ levelObjs.push(krampusFrame);
var lighter = LK.getAsset('bg_Lighter', {
anchorX: 0.5,
anchorY: 0.5,
x: room2State.keyX,
@@ -2036,13 +2056,15 @@
}
addCollidableObjects(krampusHalfA, 'bg_KrampusHalfKey_A');
// Add interaction to krampusHalfA
krampusHalfA.down = function (x, y, obj) {
- krampusHalfA.destroy(); // Destroy krampusHalfA
- addItemToInventory('bg_KrampusHalfKey_A'); // Add to inventory
- room5State.is_key_found = true; // Update room5state
- LK.getSound('s_GetItem').play(); // Play sound
- bringForwardVCR();
+ if (addItemToInventory('bg_KrampusHalfKey_A')) {
+ krampusHalfA.destroy(); // Destroy krampusHalfA
+ // Add to inventory
+ room5State.is_key_found = true; // Update room5state
+ LK.getSound('s_GetItem').play(); // Play sound
+ bringForwardVCR();
+ }
};
}, 8000);
}
//ensure that if we are entering the room after the attack but the key was not picked up then it can be taken.
@@ -2060,12 +2082,13 @@
fadeInObj(krampusHalfA, 1000);
addCollidableObjects(krampusHalfA, 'bg_KrampusHalfKey_A');
// Add interaction to krampusHalfA
krampusHalfA.down = function (x, y, obj) {
- krampusHalfA.destroy(); // Destroy krampusHalfA
- addItemToInventory('bg_KrampusHalfKey_A'); // Add to inventory
- room5State.is_key_found = true; // Update room5state
- LK.getSound('s_GetItem').play(); // Play sound
+ if (addItemToInventory('bg_KrampusHalfKey_A')) {
+ krampusHalfA.destroy(); // Destroy krampusHalfA
+ room5State.is_key_found = true; // Update room5state
+ LK.getSound('s_GetItem').play(); // Play sound
+ }
};
}
// Instantiate arrowRight at room5state.arrowRightX and room5state.arrowRightY
var arrowRight = LK.getAsset('bg_ArrowRight', {
@@ -2302,12 +2325,13 @@
game.addChild(dollKey);
levelObjs.push(dollKey);
fadeInObj(dollKey, 1000);
dollKey.down = function (x, y, obj) {
- dollKey.destroy();
- room4State.is_dollKey_found = true;
- LK.getSound('s_GetItem').play();
- addItemToInventory('bg_DollKeyItem');
+ if (addItemToInventory('bg_DollKeyItem')) {
+ dollKey.destroy();
+ room4State.is_dollKey_found = true;
+ LK.getSound('s_GetItem').play();
+ }
};
}
if (room4State.is_possible_pick_up && room4State.is_key_found && room4State.is_candle2_lit && room4State.is_candle3_lit && room4State.is_candle4_lit && room4State.is_candle5_lit) {
var krampushalfB = LK.getAsset('bg_KrampusHalfKey_B', {
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