Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tilt To Move App

Author: Evan Cheng

Description

"Tilt to Move" is a simple and interactive mobile game developed using React Native and Expo. The game leverages the phone's accelerometer to move an on-screen object based on the tilt of the device. The goal of the game is to control the movement of the object by tilting the phone and achieve a high score by keeping the object within the screen boundaries.

Features

Tilt-Based Movement

  • Utilizes the phone's accelerometer to track the tilt and translate it into the movement of the on-screen object.

Responsive Gameplay

  • Real-time movement of the object based on the player's physical actions, providing an engaging and intuitive experience.

Scoring System

  • A simple scoring mechanism that increases the score as the player successfully moves the object.

High Fidelity UI

  • A clean and minimalist design with smooth animations for a pleasant user experience.

Customization Options

  • Future enhancements could include allowing players to choose different shapes and colors for the moving object.

Technology Stack

  • React Native: For building the mobile application.
  • Expo: To streamline development and access native device features.
  • Expo Sensors: To utilize the phone's accelerometer for detecting tilt.

Installation and Setup

Clone the Repository

git clone https://github.com/your-username/tilt-to-move.git
cd tilt-to-move

Install Dependencies

npm install

Run the Application

npx expo start

Scan the QR code displayed in the terminal using the Expo Go app on your mobile device.


How to Play

  1. Open the app on your mobile device.
  2. Tilt your phone to move the on-screen object.
  3. Try to keep the object within the screen boundaries to increase your score.
  4. The score will be displayed at the top of the screen.

Future Enhancements

• Add different shapes and colors for the object. • Implement levels with increasing difficulty. • Add sound effects and background music for a more immersive experience.


"Tilt to Move" offers a simple yet engaging way to interact with your phone's sensors, providing a fun and educational experience for users of all ages.

Proof of Life

img img

About

Tilt To Move App

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages