Skip to content

tiirwaa/worm_game

Repository files navigation

🐍 Worm 3D

Read this in Spanish

An exciting 3D snake game developed with Three.js, where you control a futuristic worm moving through a three-dimensional plane. Eat food to grow, avoid colliding with yourself or the boundaries marked by red laser rays, and enjoy immersive visual and sound effects in this 3D experience.

Worm 3D Game Image image

🎮 How to Play

  • Press space or touch the screen to start the game.
  • Use arrow keys (arrows or WASD) to move the worm.
  • On touch devices, use the on-screen buttons to control direction.
  • Eat the red food to grow, score points, and trigger special effects.
  • Avoid colliding with yourself or the boundaries marked by laser rays, or all balls will explode in a shower of particles.

🚀 Features

  • Advanced 3D Graphics: Movement and rendering in 3D with Three.js, including shadows and dynamic lighting.
  • Animated Background: Procedural neon floor texture that scrolls with the worm's movement.
  • Visual Effects:
    • Worm with bright head and body alternating colors (blue and orange).
    • Animated eyes that follow the direction of movement.
    • Particles when eating food.
    • Red and blue laser rays emanating from food when consumed.
    • Flashing red border rays indicating the playable area boundaries.
    • Explosion of all worm balls into red particles when hitting boundaries or itself.
  • Procedural Audio: Arcade background music generated procedurally and sound effects for movements, eating, and game over, using WebAudio API.
  • Audio Controls: Separate sliders to adjust music and effects volume, with music toggle. Settings saved in browser.
  • Adaptive Controls: Full support for keyboard and touch devices, with on-screen buttons for mobiles.
  • Interactive UI: Start and game over overlays with logo, audio controls, and easy restart.
  • Responsive: Adaptive design with rotation overlay for mobile devices in portrait orientation.
  • Real-Time Score: Displays updated score.
  • Persistence: Audio settings saved locally.

🛠️ Technologies Used

  • Three.js: For 3D graphics and rendering.
  • WebAudio API: For procedural audio synthesis.
  • HTML5 Canvas: For generating dynamic textures.
  • JavaScript ES6+: Game logic and animations.
  • CSS: Styles and responsive overlays.
  • LocalStorage: Settings persistence.

🎮 Play Now

https://agsoft.co.cr/juegos/gusano3d/gusano.html

A&G Logo
Author: Andrey Rodríguez Araya Created by A&G Programación y Desarrollo de Sistemas Informáticos S.A.

About

An exciting 3D snake game developed with Three.js, where you control a futuristic worm moving through a three-dimensional plane. Eat food to grow, avoid colliding with yourself or the boundaries marked by red laser rays, and enjoy immersive visual and sound effects in this 3D experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors