Craftnite.io - Online Survival Battle Arena

Seele01-Flash
By
Craftnite.io combines crafting, building, and intense PvP combat in a free online survival arena. Mine resources, construct bases, and fight other players with weapons while avoiding the deadly ocean edges.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Craftnite.io (Voxel FPS Survival)". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-contrast **Voxel / Low-poly aesthetic** similar to Minecraft. The world is composed of cubic blocks (1x1x1 units). * **World Generation**: A floating island layout. The terrain should include grass blocks (green top, dirt sides), stone blocks (grey), and voxel trees (brown trunk, green leaves). Surrounding the island is an endless blue water plane (y=0). * **Characters**: * **Player**: Represented by a camera (FPS view) holding a tool. * **Enemies**: Simple floating blocky heads or pill-shaped voxel characters with hooded textures (yellow/dark colors) that track the player. * **Weapons/Tools**: * **Pickaxe**: A blocky 3D model swinging animation for mining. * **Glock/Gun**: A simple blocky pistol model for ranged attacks. * **Mobile Optimization**: Use `THREE.InstancedMesh` for rendering terrain blocks to ensure 60FPS on mobile devices. Low polygon count for all entities. ### 2. Audio Requirements * **BGM**: Upbeat, competitive "IO game" style chiptune or fast-paced synth-wave track that loops. * **Sound Effects (SFX)**: * **Mining**: A crunchy "stone break" or "wood chop" sound when hitting blocks. * **Shooting**: A sharp, short "pew" or "bang" for the pistol. * **Movement**: Rhythm-based grass footsteps. * **Damage**: A classic "Oof" or retro impact sound when hit. ### 3. Gameplay Loop * **Core Mechanism**: The player spawns on a voxel island. They must switch between **Mining Mode** (Pickaxe) to destroy blocks/gather resources and **Combat Mode** (Gun) to fight enemies. * **Building**: Players can place harvested blocks (Grass/Stone) to build walls or ramps for cover (simplified Fortnite-style building). * **Combat**: Enemies (AI bots) spawn randomly and move towards the player. The player must aim and shoot them. * **Win/Loss**: * **Loss**: Health reaches 0 (due to enemy fire) or falling off the island into the water. * **Score**: Points are awarded for every enemy eliminated and block mined. ### 4. Mobile Controls & Interaction * **Movement (Left Hand)**: A static or floating **Virtual Joystick** in the bottom-left corner for WASD movement. * **Camera/Aiming (Right Hand)**: The entire right half of the screen functions as a touch-drag area to rotate the camera (look around). * **Action Buttons**: * **Fire/Mine Button**: A large circular button (bottom-right) to shoot or swing the pickaxe. * **Jump Button**: A medium button near the Fire button. * **Switch Weapon/Build**: A toggle button to cycle between Pickaxe, Gun, and Block Placement mode. * **Feedback**: Add simple screen shake when shooting and a red vignette flash when taking damage. * **Orientation**: Landscape mode only. Ensure UI elements are at least 44px size for touch accessibility. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Craftnite.io is an exciting free-to-play survival battle arena game that merges resource gathering, base building, and intense first-person shooter combat. With a stellar 4.0/5 rating from players, this browser-based game delivers non-stop action where you must craft, mine, and fight to survive against other players in a dangerous island environment.

In this thrilling io game, every match is a fight for survival where strategic thinking meets fast-paced combat. You'll start with nothing but a pickaxe and must quickly gather resources to build defenses while staying alert for enemy attacks.

Core Features

Complete Survival Experience

  • Resource Mining : Use your pickaxe to collect various materials scattered across the island
  • Base Building : Construct towers, walls, and defensive structures to protect yourself
  • Weapon Combat : Armed with firearms like Glocks, engage in intense PvP battles
  • Strategic Gameplay : Balance between gathering resources and defending your position

Unique Island Warfare

  • Dangerous Environment : Avoid falling off the island edges into the endless, inescapable ocean
  • Multiple Enemy Threats : Face other players who are equally determined to survive
  • Resource Scavenging : Search for ammunition and better materials to gain advantages
  • Dynamic Combat : First-person shooter mechanics combined with building strategy

Free Browser Gaming

  • No Download Required : Play instantly in any web browser
  • Cross-Platform Compatible : Works on PC, Mac, and mobile devices
  • Quick Matches : Jump into action-packed games within seconds
  • Completely Free : Full gameplay experience without any payment required

Gameplay Mechanics

Craftnite.io offers a unique blend of survival and combat mechanics. Players spawn on a floating island where they must quickly adapt to survive. The core gameplay loop involves mining resources with your pickaxe, using those materials to build protective structures, and engaging in combat with other players using firearms.

The game's tension comes from the constant threat of other players and the dangerous island edges. Fall into the ocean, and you're permanently out of the match with no way to return. This environmental hazard adds an extra layer of strategy to positioning and movement.

Operation Guide

Movement Controls

  • W, A, S, D Keys : Move your character forward, backward, left, and right
  • Space Bar : Jump over obstacles and gaps
  • Mouse Movement : Control camera and aiming direction

Combat Controls

  • Left Mouse Button : Fire your weapon at enemies
  • Right Mouse Button : Aim down sights for better accuracy
  • Mouse Wheel : Switch between available weapons and tools

Survival Strategy

  • Start by immediately mining nearby resources with your pickaxe
  • Build basic walls and cover before other players arrive
  • Scavenge for ammunition to keep your weapons loaded
  • Stay away from island edges to avoid falling into the ocean
  • Balance offensive and defensive play based on the situation

Why Play This Game

Craftnite.io delivers an addictive combination of creativity and competition that keeps players coming back. The game successfully merges the satisfaction of building and crafting with the adrenaline rush of survival combat. Each match feels unique due to the dynamic player interactions and resource distribution.

The free-to-play model means anyone can jump in and experience the full game without barriers. The browser-based format ensures you can play anywhere, anytime, making it perfect for quick gaming sessions or extended survival battles.

Whether you prefer strategic base building or aggressive combat, this game accommodates different playstyles while maintaining intense, fast-paced action that will test your survival skills to the limit.

Frequently Asked Questions (FAQ)