Android-Tile-Based-Game-master
所属分类:android开发
开发工具:Java
文件大小:84KB
下载次数:9
上传日期:2013-05-24 03:51:07
上 传 者:
rotember
说明: android maze game
文件列表:
AndroidManifest.xml (1219, 2012-06-17)
assets (0, 2012-06-17)
assets\fonts (0, 2012-06-17)
assets\fonts\Molot.otf (11900, 2012-06-17)
res (0, 2012-06-17)
res\drawable-hdpi (0, 2012-06-17)
res\drawable-hdpi\canvas_bg_01.png (4979, 2012-06-17)
res\drawable-hdpi\ctrl_down_arrow.png (2950, 2012-06-17)
res\drawable-hdpi\ctrl_left_arrow.png (2954, 2012-06-17)
res\drawable-hdpi\ctrl_right_arrow.png (2933, 2012-06-17)
res\drawable-hdpi\ctrl_up_arrow.png (2789, 2012-06-17)
res\drawable-hdpi\icon.png (621, 2012-06-17)
res\drawable-hdpi\player_unit.png (2759, 2012-06-17)
res\drawable-hdpi\tile_01.png (1011, 2012-06-17)
res\drawable-hdpi\tile_02.png (516, 2012-06-17)
res\drawable-hdpi\tile_03.png (928, 2012-06-17)
res\drawable-hdpi\tile_04.png (866, 2012-06-17)
res\drawable-hdpi\tile_05.png (1270, 2012-06-17)
res\drawable-hdpi\tile_06.png (1671, 2012-06-17)
res\drawable-hdpi\tile_07.png (1070, 2012-06-17)
res\drawable-hdpi\tile_danger_01.png (3134, 2012-06-17)
res\drawable-hdpi\tile_exit.png (3327, 2012-06-17)
res\drawable-mdpi (0, 2012-06-17)
res\drawable-mdpi\canvas_bg_01.png (3701, 2012-06-17)
res\drawable-mdpi\ctrl_down_arrow.png (2167, 2012-06-17)
res\drawable-mdpi\ctrl_left_arrow.png (2237, 2012-06-17)
res\drawable-mdpi\ctrl_right_arrow.png (2208, 2012-06-17)
res\drawable-mdpi\ctrl_up_arrow.png (2143, 2012-06-17)
res\drawable-mdpi\icon.png (457, 2012-06-17)
res\drawable-mdpi\player_unit.png (1443, 2012-06-17)
res\drawable-mdpi\tile_01.png (697, 2012-06-17)
res\drawable-mdpi\tile_02.png (392, 2012-06-17)
res\drawable-mdpi\tile_03.png (593, 2012-06-17)
res\drawable-mdpi\tile_04.png (600, 2012-06-17)
res\drawable-mdpi\tile_05.png (882, 2012-06-17)
res\drawable-mdpi\tile_06.png (1114, 2012-06-17)
res\drawable-mdpi\tile_07.png (742, 2012-06-17)
res\drawable-mdpi\tile_danger_01.png (1749, 2012-06-17)
... ...
Android Tile-Based Game
=======================
Author: Dan Ruscoe (dan@ruscoe.org).
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:
ruscoe.org/android/#radius
Important Files
---------------
*src/org/ruscoe/example/tilegame/data/GameDAO.java*
This file populates the games database with tile and map data.
The file contains an example of custom tile definitions 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.
License
-------
Released under the The MIT License.
http://www.opensource.org/licenses/mit-license.php
近期下载者:
相关文件:
收藏者: