Skip to content

masayukig/tiltmazes

Repository files navigation

TiltMazes - A logical puzzle game for the Android platform

A ball sits in a flat tray containing one or more squares (goals).
The challenge is to guide the ball around the tray and collect all the squares.
Tilt the phone to start the ball rolling.
The ball rolls in a straight line until it hits a wall, you can then tilt again.

Based on the 2D tilt-maze collection at http://www.clickmazes.com
Maze designs used with permission.
Maze concepts and designs © Andrea Gilbert <andrea@clickmazes.com>.

See the source code at http://code.google.com/p/tiltmazes

For Android developers:
This project demonstrates how to do the following:
- start a sub-activity (SelectMazeActivity) that returns a result
- display an Alert Dialog (see GameEngine)
- display a custom (About) Dialog
- pass messages to the UI thread
- add application menu items
- use built-in icons
- schedule animation on a separate thread
- draw using Shader objects
- move and scale graphics with Matrix objects
- handle a simple SQLite database
- connect a SQLite database table to a ListView