User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in or related to this line: 'var halfW = player.children[0].width / 2;' Line Number: 152
User prompt
enemys not spawm on mans spawm place
User prompt
when enemy touch man he will lose
User prompt
bro we can drag without touching when we can move mouse on finger player tho move
User prompt
make when mouse on screen player can move but without dragging and when players finger on screen he can move chacchter
User prompt
create a asset for background
User prompt
make we can drag tho when we holding background
User prompt
when we tocuh background its can move th
User prompt
its not work
User prompt
make we can control the charachrer
Code edit (1 edits merged)
Please save this source code
User prompt
Cube Survival: Dodge the Enemies
Initial prompt
there have 5 cubes. 4 cubes ae enemy. and one cube is we. enemys walking on random;. when we touch or when enemys touch we. then we lose and the score will up every second we live. make background white tho
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});