TiltGame

A browser-based interactive game controlled using device tilt instead of traditional keyboard or touch inputs. The game uses motion sensor data to create a more natural and immersive gameplay experience.


📌 Overview

TiltGame is an experimental project built to explore how device motion sensors can be used in web applications. Instead of pressing buttons, players control movement by physically tilting their device.

This project focuses on real-time input handling and motion-based interaction using modern browser APIs.


📸 Screenshots



✨ Features

  • Tilt-based movement control
  • Real-time motion response
  • Lightweight browser game
  • Mobile device support
  • Smooth animation updates
  • Simple and minimal UI

⚙️ How It Works

The game reads device orientation data using browser motion APIs. Tilt values are mapped to player movement and continuously updated using animation frames to ensure smooth gameplay.

Movement direction depends on device angle:

  • Tilt left/right → horizontal movement
  • Tilt forward/back → vertical movement

🧰 Tech Stack

  • HTML5
  • CSS3
  • JavaScript
  • Device Orientation API

▶️ Download

Download Project:

👉 TiltGame v2.0 APK


💻 GitHub Repository

Source code available here:

👉 https://github.com/assishmoncs/TiltGame

Comments