This website uses cookies.Before continuing to use our website, you agree and accept Privacy policy.Accept

Vampire Survivors like game made with AI


Drag white ball to move.
Score: 0

PC - Smartphone



DESCRIPTION

An action game where your character constantly attacks, similar to Vampire Survivors. By collecting power items, you can use stronger weapons for a limited time.

HOW TO MAKE/PROMPT

Created using Claude sonnet. The prompt was as follows:
make a vampire survivors like HTML game
#structure
- html,js,css in 1 file
- 512x512 canvas. max-window:100%

#script
##variable
health: 3, number of lives
gunspeed: 0.25, firing interval of the gun

##init
- The background is black.
- The player character and enemies are represented by emojis.
- The player is positioned at the center.
- The score is displayed at the top.
- A reset button is displayed at the bottom.

##gameloop
- The player can move up, down, left, and right while pressing the arrow keys. avoid scrolling with arrow keys.
- The player constantly fires every gunspeed seconds, with each shot rotating 45 degrees.
- When the player picks up a power-up item represented by a star icon, gunspeed becomes 0.1 for 5 seconds, and the player can shoot in four directions at once.
- One enemy appears every 5 seconds, and it moves towards the player.
- If the player collides with an enemy, health decreases by 1.
- When health reaches 0, the game is over.

What if there is an error?




<< menu

On-site search