CS 184 Final Project - Sample .pac file


Sample .pac file

* This is not exactly the input file we used in the project *

C 27 30
#S 1 (0, 0, 0)
S 1 (0, 0, 0.2)
F 1 (0, 0, 0)
P (13.5, 6.5) (-1, 0)
#P (0.5, 1) (0, 1)
#ghosts
OG 4 >1, 0, 1< <1, 0, 0> 9 ghost1.ppm ghost2.ppm ghost3.ppm ghost4.ppm
ghost5.ppm ghost6.ppm ghost7.ppm ghost8.ppm ghost9.ppm
ghost-happy.ppm ghost-sad.ppm
I (12, 15.5) (1, 1) <1, 0, 0>
I (13, 15.5) (0, 1) <1, 0.6, 0.6>
I (14, 15.5) (-1, 1) <0.4, 1, 1>
I (13, 18.5) (1, 0) <1, 0.6, 0>
#power pills
OP 4 >1, 0, 1< <0, 0, 0> 2 pp1.ppm
pp2.ppm
I (0.5, 6.5)
I (0.5, 26.5)
I (25.5, 6.5)
I (25.5, 26.5)
#dots
OD 241 >1, 0, 1< <0, 0, 0> 1 dot.ppm
I (0.5, 0.5)
I (1.5, 0.5)
I (2.5, 0.5)
I (3.5, 0.5)
I (4.5, 0.5)
I (5.5, 0.5)
I (6.5, 0.5)
I (7.5, 0.5)
I (8.5, 0.5)
I (9.5, 0.5)
#outer wall
M 1 (0, 0.204, 0.443) text2.ppm
[(0, 0), (26, 0)]
[(0, 0), (0, 4)]
[(0, 4), (2, 4)]
[(2, 4), (2, 6)]
[(2, 6), (0, 6)]
[(0, 6), (0, 10)]
[(0, 10), (5, 10)]
[(21, 24), (25, 24)]
[(25, 24), (25, 22)]
[(25, 22), (21, 22)]
[(21, 22), (21, 24)]
#spawning box
[(9, 13), (9, 18)]
[(9, 18), (12, 18)]
[(12, 18), (12, 16)]
[(12, 16), (11, 16)]
[(11, 16), (11, 15)]
[(11, 15), (15, 15)]
[(15, 15), (15, 16)]
[(15, 16), (14, 16)]
[(14, 16), (14, 18)]
[(14, 18), (17, 18)]
[(17, 18), (17, 13)]
[(17, 13), (9, 13)]
M 0.5 (0.173, 0.514, 0.776)
# text3.ppm
#[(12, 17), (14, 17)]