Code edit (1 edits merged)
Please save this source code
User prompt
Ricochet Zombie Shooter
Initial prompt
create a Design a 2D physics-based puzzle shooter game where the player controls a lone survivor during a zombie apocalypse. The hero is equipped with a limited number of bullets per level and must strategically eliminate all zombies on screen using ricocheting shots, explosive barrels, falling traps, and other environmental objects. Each level is a compact battlefield filled with obstacles, bounce surfaces, movable crates, and zombie formations. Zombies stand in creative, challenging positions — on ledges, stacked crates, or hiding behind barriers — requiring the player to think critically and aim precisely. Bullets bounce off walls, ceilings, and floors, encouraging creative, indirect shots to maximize damage with minimal ammo. Game features to include: Hundreds of levels with increasing difficulty Ammo-limited challenges (1–5 bullets max per level) Special bullet types (explosive, splitting, fire, etc.) Diverse zombie types (slow walkers, shielded zombies, explosive zombies) Chain reaction mechanics (e.g., shoot a plank that drops a barrel on zombies) Stylized cartoon graphics with smooth physics animations Optional star-rating system per level based on efficiency Background themes: Abandoned cities, underground bunkers, haunted carnivals, snowy towns Fun sound effects, ragdoll zombie deaths, and comedy-style visuals The vibe should be casual, humorous, and addictive — easy to pick up but tough to master. Visuals should feel light-hearted yet satisfying, similar to “Angry Birds meets Zombies.”
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});