Just Tanks - Tank Platform Shooting Game

Seele01-Flash
By
Just Tanks is an innovative platform game that combines tank driving with physics-based shooting mechanics. Use colorful paint gun recoil to propel your tank through challenging levels and obstacles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Just Tanks". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2.5D Side-Scrolling Platformer with a **Pixel Art Aesthetic**. Use `OrthographicCamera` to maintain a flat, retro look while using 3D depth for parallax backgrounds. * **Tank Model**: Construct the tank using primitive shapes (BoxGeometry) but texture them with pixel-art patterns (grid-like textures). The tank must consist of two distinct parts: a **Chassis** (body) and a **Turret** (which must rotate independently). * Add a whimsical "Pink Character" sprite or simple geometry popping out of the turret, similar to the reference image. * **Environment**: * **Foreground**: Blocky, voxel-style terrain (Green top, brown soil sides) with clear collision boxes. * **Background**: Parallax layers featuring blue silhouette pine trees and a gradient sky (Cyan to Blue) to match the cheerful atmosphere. * **VFX**: * **Projectiles**: White spheres or pixelated blobs representing "paint". * **Particles**: Simple white circular puffs (SpriteMaterial) when shooting and upon projectile impact. * **Performance**: Use instanced rendering for terrain blocks if possible. Keep geometry low-poly. Texture resolution should be low (e.g., 64x64) with `magFilter = THREE.NearestFilter` to preserve the crisp pixel look. ### 2. Audio Requirements * **BGM**: Upbeat, cheerful **8-bit Chiptune** track that loops. It should feel arcade-like and energetic. * **Sound Effects**: * **Shoot**: A "Pop" or compressed "Pew" sound (toy-like, not realistic war sounds). * **Impact**: A "Splat" sound when paint hits walls. * **Engine**: A low, rhythmic chugging sound that changes pitch slightly based on movement speed. * **Jump/Recoil**: A "Whoosh" air sound when the tank is propelled by recoil. ### 3. Gameplay Loop * **Core Mechanic**: **Physics-based Recoil Movement**. The tank does *not* drive with standard controls. Instead, the player must shoot the cannon to propel the tank in the opposite direction (Newton's Third Law). * Shooting **Down** launches the tank **Up** (Jumping). * Shooting **Left** pushes the tank **Right**. * **Objective**: Navigate through a level filled with platforms, gaps, and ramps to reach a "Finish Flag." * **Physics**: Implement 2D physics (using Cannon.js or custom velocity vectors). Gravity should be strong enough to make the tank feel heavy, but the gun recoil impulse must be powerful enough to overcome it. * **Fail State**: Falling off the bottom of the screen resets the level. ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** only. * **Touch Input Scheme**: * **Aiming**: The turret should rotate to face the current touch position on the screen relative to the tank. * **Firing**: **Tap and Hold** anywhere on the screen to rapid-fire projectiles. The longer the player holds, the more continuous recoil propulsion they generate (like a jetpack). * **UI/UX**: * Add an on-screen "Reset" button (top-right corner, min 44x44px) in case the player gets stuck. * **Camera Tracking**: The camera must smoothly follow the player's tank with a slight "look-ahead" offset in the direction of movement. * **Feedback**: * **Screen Shake**: A subtle camera shake effect when firing to emphasize the power of the recoil. * **Haptic**: Trigger a short vibration (if supported) on every shot. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Just Tanks is a unique physics-based platform game that puts you in control of various colorful tanks in a pixelated world. This innovative game combines traditional platform mechanics with creative tank shooting, where your weapon becomes your means of locomotion. Navigate through diverse levels using paint gun recoil to propel yourself forward, making each movement strategic and fun.

Core Features

Innovative Physics Mechanics

The game's standout feature is its recoil-based movement system. Every shot from your tank's paint gun creates backward force that propels your tank forward, turning shooting into both combat and navigation. This unique mechanic makes every level a physics puzzle where timing and aim determine your success.

Colorful Pixel Art Style

Featuring charming 16-bit inspired graphics, Just Tanks delivers a nostalgic visual experience with modern gameplay innovation. The bright, colorful palette and smooth animations create an engaging atmosphere that appeals to players of all ages.

Multiple Tank Varieties

Experience different tank types, each with unique characteristics and abilities. From lightweight speedsters to heavy-duty powerhouses, every tank offers a different gameplay experience and strategy approach.

Challenging Platform Levels

Navigate through carefully designed levels filled with platforms, obstacles, and environmental challenges. Each stage requires strategic thinking to use the terrain to your advantage while reaching your destination.

Gameplay Mechanics

The core gameplay revolves around mastering the recoil system. Players must carefully aim their shots to create the right amount of propulsion while avoiding obstacles and navigating platforms. The physics engine ensures that every shot matters, creating a satisfying skill-based progression system.

Strategic Movement

Success depends on understanding how different shot angles and timing affect your tank's trajectory. Players develop skills in: - Calculating recoil force for optimal movement - Using environmental elements as launching points - Timing shots for maximum efficiency - Balancing speed with precision

Controls and Operation

Just Tanks features intuitive controls designed for both desktop and mobile play:

  • Click and Hold : Charge and fire your paint gun
  • Any Keyboard Key : Alternative shooting method for desktop
  • Touch Controls : Optimized mobile interface for smartphones and tablets

The simple control scheme makes the game accessible to newcomers while providing depth for experienced players to master advanced techniques.

Platform Compatibility

Just Tanks is designed as a cross-platform browser game, ensuring accessibility across all devices:

  • Desktop Computers : Full keyboard and mouse support
  • Mobile Phones : Touch-optimized controls and interface
  • Tablets : Adapted UI for larger touch screens
  • Web Browsers : No download required, instant play

Why Play Just Tanks

Unique Gaming Experience

Just Tanks offers a fresh take on both platform and tank games. The recoil-based movement system creates gameplay unlike any other title, providing a unique challenge that keeps players engaged and thinking creatively.

Perfect for All Skill Levels

While easy to understand, the game offers enough depth to challenge experienced gamers. The physics-based mechanics reward both quick reflexes and strategic thinking, making it suitable for casual and hardcore players alike.

Free and Accessible

Completely free to play with no downloads required. Simply open your browser and start playing immediately, whether you're at home, work, or on the go.

Great for Short Sessions

The level-based structure makes Just Tanks perfect for quick gaming sessions. Each level can be completed in just a few minutes, making it ideal for breaks or commute entertainment.

Community and Replayability

With multiple approaches to completing each level and various tank types to master, Just Tanks offers significant replay value. Players often return to improve their completion times and explore different strategies.

Frequently Asked Questions (FAQ)