User prompt
spawn puzzle
User prompt
make four rooms with each different shape and size but combined together
User prompt
set floor5 as level
User prompt
rooms are horizontal
User prompt
add rooms to this level
User prompt
when I get out of the door move me to one floor down
User prompt
show floor in the upper middle
User prompt
name this level as floor 6
User prompt
open door when unlocked
User prompt
unlock door when puzzle solved
User prompt
remove the key asset
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'keyObj.destroy();' Line Number: 440
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'keyObj.destroy();' Line Number: 438
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'keyObj.destroy();' Line Number: 436
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'keyObj.destroy();' Line Number: 436
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'destroy')' in or related to this line: 'keyObj.destroy();' Line Number: 434
Code edit (1 edits merged)
Please save this source code
User prompt
Haunted Floors: Escape the House
Initial prompt
ı want to build a horror game that takes place in a house with multiple stories (floors) and we see the rooms from the top
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});