Open main menu

CDOT Wiki β

Changes

10th Floor

657 bytes added, 11:36, 28 March 2011
Ryan Wang
2,0|1,0|2,0|1,0|2,0;
0,1|3,0|3,0|3,0|3,0
 
=== Collision Detection Against Walls ===
 
[[File:CollisionDetectionAgainstWalls.jpg|800px]]
Collision detection with the map structure is simplified by the use of simple int array that holds the tile type data. Considering the fact that the total number of Box objects created easily exceeds 1000 (when loading a 20 by 20 map), we thought it will be more efficient to compare the integer tile type codes than actually comparing floating point coordinates. To add more efficiency, as described in the image above, update() module selectively retrieves only the necessary tile data from the tile array and determines whether the character can proceed or not.
=== Interactive Game Environment ===
'''Responsibility: ''' Stage/levels design
<ul>
[[File:TenthCeilingCollapse.jpg|200px|thumbnail|right|Fig.R1. Ceiling collapsing collapse effect]]
[[File:TenthUserDialog.jpg|200px|thumbnail|right|Fig.R2. Dialog Box UI Design]]
1
edit