User prompt
"Reduce the zombies' health by half." "Double the number of bullets in a single magazine and reduce the zombie damage by half."
User prompt
"Reduce the speed of the zombies and remove the money system from the game. Zombies should come continuously, and the wave system should also be removed."
User prompt
The score doesn't reset until death, and the coins are collected automatically
User prompt
When a zombie is killed, there is a chance it drops a loot box on the ground. Loot boxes do not open automatically—the player must shoot the box to open it. Once opened, the box releases a random reward, such as: 💊 Medkit: Restores a portion of the player's HP. 🔫 Ammo: Refills part of the magazine or reserve bullets. 💵 Money: Increases the player’s score. All rewards are automatically collected once the box is opened. In addition to box rewards, each zombie kill still grants $50 automatically as score.
Code edit (1 edits merged)
Please save this source code
User prompt
Zombie Siege: Stationary Survival
Initial prompt
Elbette! İşte tüm verdiğin bilgileri içeren, güncel, temiz ve geliştiriciye veya yapay zekaya doğrudan verilebilecek şekilde yazılmış **tek parça İngilizce oyun tasarım promptu**: --- **🧠 Prompt: Side-View Zombie Survival Shooter Game Design** I want to design a **2D side-view zombie survival shooter game** where the player is **stationary behind cover** on the **left side of the screen** and shoots at zombies that approach from the **right side**. The player can only **aim and shoot using the mouse**—there are no movement controls. --- ### 🎮 Core Gameplay * The player is placed behind cover and **cannot move**. * The player aims with the **mouse** and shoots zombies approaching from the right. * **Zombies walk from right to left** toward the player. * The player starts with **100 health (HP)**. * Each zombie attack deals **10 damage** if they reach the player. * The game ends when the player’s HP reaches 0. * The player earns **\$50 per zombie kill**. This money is used purely as a **score system**. * The goal is to **survive as long as possible** and achieve the **highest score**. --- ### 🧟 Zombie System * Zombies spawn in waves and slowly walk toward the player. * **Zombie health starts at 15 HP** and increases by **+5 HP per level**: * Level 1: 15 HP * Level 2: 20 HP * Level 3: 25 HP * etc. * The **number of zombies starts at 5 in Level 1** and **increases by +1 with each level**: * Level 1: 5 zombies * Level 2: 6 zombies * Level 3: 7 zombies * etc. * This scaling system increases difficulty steadily while keeping the 2D side-view manageable. --- ### 🎁 Loot and Reward System * When a zombie is killed, there is a chance for a **loot box** to drop. * Loot boxes may contain: * 💊 **Medkits**: Restore a portion of the player’s HP. * 🔫 **Ammo**: Refill bullets. * 💵 **Money**: Adds to the player’s score. * **Ammo management** is important. Players must reload when the magazine is empty. --- ### 🔫 Weapon Progression System The player starts with a basic weapon and gains new weapons every **5 levels**. Each weapon has different damage and magazine size: 1. **Levels 1–4** * Weapon: Pistol * Damage per bullet: 5 * Magazine: 30 bullets 2. **Levels 5–9** * Weapon: Dual Pistols * Damage: 5 * Magazine: 60 bullets 3. **Levels 10–14** * Weapon: SMG * Damage: 7 * Magazine: 40 bullets 4. **Levels 15–19** * Weapon: Faster SMG (different look) * Damage: 8 * Magazine: 50 bullets 5. **Levels 20–24** * Weapon: Shotgun * Fires: 4 pellets per shot (area damage) * Damage per pellet: 3 * Magazine: 20 shells 6. **Levels 25–29** * Weapon: Advanced Shotgun * Fires: 5 pellets per shot * Damage per pellet: 4 * Magazine: 30 shells 7. **Levels 30–34** * Weapon: M16 Assault Rifle * Damage: 30 per bullet * Magazine: 30 bullets 8. **Levels 35+** * Weapon: AK-47 * Damage: 35 per bullet * Magazine: 30 bullets --- ### 🎯 Summary * **Genre**: 2D Side-View Survival Shooter * **Perspective**: Player is visible on-screen, stationary, on the left side * **Mechanics**: Mouse-only aiming and shooting * **Enemy Behavior**: Zombies walk from right to left * **Progression**: Increasing zombie health and quantity per wave * **Goal**: Stay alive, manage ammo and HP, kill zombies, and achieve the highest score ---
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});