User prompt
put the life counter on the bottom right hand corner of the screen - put the countdown time beneath the Level counter/ indicator
User prompt
Please fix the bug: 'Timeout.tick error: timerTxt.style is undefined' in or related to this line: 'timerTxt.style.fill = 0xFFFFFF;' Line Number: 171
User prompt
show countdown timer and number of lives. number of lives should be shown as life icons
User prompt
use a separate sound for each instrument when hit (create new sound assets)
User prompt
add bomb and xylophone to random instruments. lose one life when bomb is hit
Code edit (1 edits merged)
Please save this source code
User prompt
Guitar Hunter
Initial prompt
A shooting game where the player tries to shoot a guitar. He needs to shoot as many guitars as possible within 30 seconds. Counter counts the time down to zero. At the beginning, player's gun is at the bottom of the screen and can only shoot straight up. Player opens their mouth to shoot a bullet. Player turns head right to move right and turns head left to move left. At the top of the screen, the guitar slides from left to right. Guitar is destroyed when player's bullet hit it. Other random instruments also appear and disappear at random at various positions on the screen. Shooting any instruments other than a guitar (e.g drum, flute, piano, saxophone) earns the user 1 point. Shooting the guitar earns 5 points. If the player can shoot up to 3 guitars, he goes to a new level and the counter resets with a faster moving guitar and more random instruments spawned.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
vertical bullet. In-Game asset. 2d. High contrast. No shadows
drum. In-Game asset. 2d. High contrast. No shadows
Guitar. In-Game asset. 2d. High contrast. No shadows
futuristic space cannon gun vertical top view. In-Game asset. 2d. High contrast. No shadows
piano. In-Game asset. 2d. High contrast. No shadows
saxophone. In-Game asset. 2d. High contrast. No shadows
red bomb. In-Game asset. 2d. High contrast. No shadows
xylophone. In-Game asset. 2d. High contrast. No shadows
gold musical note. In-Game asset. 3d. High contrast. No shadows
red musical note. In-Game asset. 3d. High contrast. No shadows
flute. In-Game asset. 3d. High contrast. No shadows
harp. In-Game asset. 3d. High contrast. No shadows
tuba. In-Game asset. 3d. High contrast. No shadows
Triple vertical bullet. In-Game asset. 3d. High contrast. No shadows
Music maestro monster head . 3d.. In-Game asset. High contrast. No shadows
Dark space background with stars
Bright green glowing musical note. In-Game asset. 3d. High contrast. No shadows