Rotate Box | Maze Puzzle HTML5 Game

Bluehost Shared Hosting

C6Al-KQ5E”> Video Demo

Rotate Box | Maze Puzzle HTML5 Game Rotate Box | Maze Puzzle HTML5 Game Rotate Box | Maze Puzzle HTML5 Game

Challenge your navigation and timing skills with Rotate Box, an engaging physics-based maze puzzle game. Rotate the labyrinth left and right to control the direction of gravity and guide a bouncing ball through winding corridors toward the glowing exit portal.

Each level introduces a unique maze layout, with increasingly complex paths and challenging turns. As you progress, dangerous red pits appear, and gravity becomes stronger in the final stages.

Built with HTML5 Canvas and the Matter.js physics engine, Gravity Labyrinth delivers physics-based ball movement, smooth maze rotation, and neon-inspired visuals.

  1. Features
  • - 20 Unique Levels: Explore 20 individually designed maze layouts.
  • - Physics-Based Gameplay: Realistic ball movement powered by Matter.js.
  • - Rotating Labyrinth: Tilt the maze left or right to guide the ball.
  • - Progressive Difficulty: Navigate increasingly complex maze structures.
  • - Dangerous Red Pits: Avoid traps in the later levels.
  • - Increasing Gravity: Experience stronger gravity in the final levels.
  • - Level Selection: Access unlocked levels from the selection screen.
  • - Progress Saving: Automatically saves completed and unlocked levels using localStorage.
  • - Score System: Earn scores by completing levels.
  • - Neon Visual Effects: Enjoy glowing walls, portals, pits, and ball trails.
  • - Responsive Canvas: Scales the game to fit the available screen.
  • - Keyboard Controls: Play using arrow keys or A and D.
  • - Touch Controls: Use on-screen buttons on mobile devices.
  • - Sound Effects: Procedurally generated audio for collisions, falls, clicks, and level completion.
  • - How to Play Screen: Includes instructions for new players.
  • - Lightweight Implementation: Uses HTML5 Canvas, JavaScript, and Matter.js.
  1. How to Play
  • 1. Start the game and select an available level.
  • 2. Use the LEFT and RIGHT controls to rotate the labyrinth.
  • 3. Let gravity guide the ball through the maze.
  • 4. Avoid dangerous red pits.
  • 5. Reach the glowing orange portal to complete the level.
  • 6. Unlock the next level and continue your journey.
  1. Controls

Desktop

  • - Left Arrow / A – Tilt left.
  • - Right Arrow / D – Tilt right.
  • - Space – Continue after completing a level.
Mobile
  • - Hold the left or right on-screen button to rotate the labyrinth.
  1. Technical Details
  • - Game Engine: Matter.js 0.19.0
  • - Rendering: HTML5 Canvas 2D
  • - Programming Language: JavaScript
  • - Physics: Matter.js
  • - Audio: Web Audio API
  • - Storage: Browser localStorage
  • - Animation: requestAnimationFrame
  • - Input: Keyboard, mouse, and touch
  • - Layout: Responsive canvas scaling
  1. Browser Compatibility

Designed for modern versions of:

  • - Google Chrome
  • - Mozilla Firefox
  • - Apple Safari
  • - Microsoft Edge

0 average based on 0 ratings.

k29solutions

k29solutions

Visit Author's Portfolio

View Portfolio
Last Update 2026-11-06
Created 2026-11-06
Sales 0
Discussion Comments
Compatible Browsers Firefox Safari Opera Chrome Edge
Software Version HTML5
High Resolution No
Files Included JavaScript JS HTML CSS Layered PNG
Video Preview Resolution