nathancy/Metal-Slug ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Metal Slug style 2D side scrolling shooter in Java.

I want the player to move around a scrolling map, jump, crouch, and attack with a knife, bullets, and grenades. Please include basic keyboard controls, a score display, pause and resume, and victory style end of level animations. The enemies should feel varied, with several different enemy types like ground units and flying units, each with their own projectile behavior, sounds, and death animations.

Make it playable as a small arcade game, with collision, projectile handling, reload animations, and a few different attack directions like shooting while jumping or crouching. If you need to look up current docs online for the graphics or sound library, go ahead. Keep the code organized and make it easy to run from the main project.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab