User prompt
add movement keys as buttoms on the ricth of the screen
User prompt
visible buttoms for kick, punch and range attack
User prompt
kick and punch dont consume energy
User prompt
enemy also can use range attack
User prompt
regen the bars one by one
User prompt
the energy bar is 3 little bars, every range attack consumes one
User prompt
energy regens slower and enemy can use it aswell
User prompt
range attack deals less damage and consumes more energy
User prompt
need to press Z to punch, X to kick and C for range attack
User prompt
cant move
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'var localPos = fighter.parent.toLocal(obj.position);' Line Number: 406
Code edit (1 edits merged)
Please save this source code
User prompt
Arena Warriors: Character Combat
Initial prompt
lest make a fighting game with character selection, every character with their own avilities, a character selection menu to chose a character for the player and one for the oponent, a single player mode(player vs a bot) , the basic move set of every character being kicks, punchs and block attacks, only 5 characters to chose, healtbars and energy bars , use a and d keys to move space bar to block attacks, z to kick and x for punch then a special range attack that consumes energy
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
transparent bubble. In-Game asset. 2d. High contrast. No shadows
shield
arm with a fist
band-aid
a little bit smaller image
hornless
whitte
whole gloves
fire
transparent kicking feet simbol. In-Game asset. 2d. High contrast. No shadows
red
2D
crouching with blue background
teeth close to bite
scratch attack
teeth
toothless open mouth
shark teeth. In-Game asset. 2d. High contrast. No shadows
simbolo transparente de bala. In-Game asset. 2d. High contrast. No shadows
transparent fist simbol. In-Game asset. 2d. High contrast. No shadows
transparent fire simbol. In-Game asset. 2d. High contrast. No shadows
right arrow. In-Game asset. 2d. High contrast. No shadows
add sand
building roof