home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Action
/
Notrium
/
Notrium13.exe
/
polygons.dat
< prev
next >
Wrap
Text File
|
2004-08-13
|
2KB
|
76 lines
triangle;//name---------------------------------------
0;//identifier
start_points;
-0.5;//x
-0.5;//y
0.0;//x
0.37;//y
0.5;//x
-0.5;//y
-0.5;//x
-0.5;//y
end_points;
rectangle;//name---------------------------------------
1;//identifier
start_points;
-0.5;//x
-0.5;//y
0.5;//x
-0.5;//y
0.5;//x
0.5;//y
-0.5;//x
0.5;//y
-0.5;//x
-0.5;//y
end_points;
wall;//name---------------------------------------
2;//identifier
start_points;
-0.19;//x
-0.5;//y
0.19;//x
-0.5;//y
0.19;//x
0.5;//y
-0.19;//x
0.5;//y
-0.19;//x
-0.5;//y
end_points;
door open;//name---------------------------------------
4;//identifier
start_points;
-0.6;//x
0.5;//y
-0.15;//x
0.5;//y
-0.15;//x
-0.5;//y
-0.6;//x
-0.5;//y
-0.6;//x
0.5;//y
end_points;
door closed;//name---------------------------------------
5;//identifier
start_points;
-0.5;//x
0.6;//y
0.5;//x
0.6;//y
0.5;//x
0.15;//y
-0.5;//x
0.15;//y
-0.5;//x
0.6;//y
end_points;
end_of_file;
This file is used for defining collision detection polygons.
The polygons are defined as a series of points, where the last point
of each line defines the starting point for next. The more points you
define, the slower the collision detection. Points are relative to the
center of the object. Avoid concave polygons.