-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathREADME
More file actions
47 lines (30 loc) · 1.14 KB
/
Copy pathREADME
File metadata and controls
47 lines (30 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
CONTENTS OF THIS FILE
---------------------
* Introduction
* Important Files
* Licence
INTRODUCTION
------------
This is an example of a basic tile-based, 2D game using
Android's Canvas. It can be used as a base for your own games.
This code provides a simple way to build maps based on your own
tiles, player movement / tracking and detection of collisions
with any number of different tile types.
This code is used in the Android game Radius:
https://market.android.com/details?id=org.ruscoe.radius
Author: Dan Ruscoe (dan@ruscoe.org).
IMPORTANT FILES
-------------
src/org/ruscoe/example/tilegame/data/GameDAO.java
This file populates the games database with tile and map data.
It contains an example of how to define custom tiles and how
to use those tiles to build custom maps for your game's levels.
src/org/ruscoe/example/tilegame/GameView.java
This generates the game view and handles all game logic and
user input.
The function parseGameLevelData shows how the tile and map
data in the database is translated into a playable game level.
LICENCE
-------
Released under the The MIT License.
http://www.opensource.org/licenses/mit-license.php