User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'NaN')' in or related to this line: 'var type = world[x][y];' Line Number: 408
User prompt
i canet see player
User prompt
make player otto attak
User prompt
fix game pls
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'NaN')' in or related to this line: 'var type = world[x][y];' Line Number: 392
User prompt
Please fix the bug: 'ReferenceError: zombies is not defined' in or related to this line: 'for (var i = 0; i < zombies.length; i++) {' Line Number: 772
User prompt
Please fix the bug: 'Player is not defined' in or related to this line: 'var player = new Player();' Line Number: 218
User prompt
add enemys zombes
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading '22.65000000000009')' in or related to this line: 'if (world[nx][ny] === BLOCK_AIR) {' Line Number: 83
User prompt
make mous controles
User prompt
Please fix the bug: 'updatePlayerPos is not defined' in or related to this line: 'updatePlayerPos();' Line Number: 795
User prompt
make proper player
Code edit (1 edits merged)
Please save this source code
User prompt
BlockCraft 2D
Initial prompt
make 2d minecraft
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});