gdritter repos animaltransiro / 98d1f89
More map editing Getty Ritter 7 years ago
7 changed file(s) with 127 addition(s) and 48 deletion(s). Collapse all Expand all
88 height = 12,
99 tilewidth = 24,
1010 tileheight = 24,
11 nextobjectid = 2,
11 nextobjectid = 7,
1212 properties = {},
1313 tilesets = {
1414 {
254254 {
255255 id = 33,
256256 properties = {
257 ["behind"] = true,
257258 ["pass"] = true
258259 }
259260 },
10641065 {
10651066 id = 163,
10661067 properties = {
1067 ["pass"] = true
1068 ["pass"] = false
10681069 }
10691070 },
10701071 {
12381239 {
12391240 id = 192,
12401241 properties = {
1241 ["pass"] = true
1242 ["pass"] = false
12421243 }
12431244 },
12441245 {
12451246 id = 193,
12461247 properties = {
1247 ["pass"] = true
1248 ["pass"] = false
12481249 }
12491250 },
12501251 {
12511252 id = 194,
12521253 properties = {
1253 ["pass"] = true
1254 ["pass"] = false
12541255 }
12551256 },
12561257 {
12571258 id = 195,
12581259 properties = {
1259 ["pass"] = true
1260 ["pass"] = false
12601261 }
12611262 },
12621263 {
12631264 id = 196,
12641265 properties = {
1265 ["pass"] = true
1266 ["pass"] = false
12661267 }
12671268 },
12681269 {
12691270 id = 197,
12701271 properties = {
1271 ["pass"] = true
1272 ["pass"] = false
12721273 }
12731274 },
12741275 {
16261627 {
16271628 id = 256,
16281629 properties = {
1629 ["pass"] = true
1630 ["pass"] = false
16301631 }
16311632 },
16321633 {
16331634 id = 257,
16341635 properties = {
1635 ["pass"] = true
1636 ["action"] = "showMessage",
1637 ["pass"] = false
16361638 }
16371639 },
16381640 {
16391641 id = 258,
16401642 properties = {
1641 ["pass"] = true
1643 ["action"] = "showMessage",
1644 ["pass"] = false
16421645 }
16431646 },
16441647 {
18181821 {
18191822 id = 288,
18201823 properties = {
1821 ["pass"] = true
1824 ["action"] = "showMessage",
1825 ["pass"] = false
18221826 }
18231827 },
18241828 {
62526256 data = {
62536257 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024,
62546258 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024,
6255 1024, 1024, 1024, 1024, 1024, 161, 161, 161, 161, 161, 161, 161, 1024, 1024, 1024, 1024,
6259 1024, 1024, 1024, 1024, 1024, 162, 163, 162, 163, 162, 163, 162, 1024, 1024, 1024, 1024,
62566260 1024, 1024, 1024, 1024, 1024, 161, 161, 161, 161, 161, 161, 161, 1024, 1024, 1024, 1024,
62576261 1024, 1024, 1024, 1024, 1024, 161, 161, 161, 161, 161, 161, 161, 1024, 1024, 1024, 1024,
62586262 1024, 1024, 1024, 1024, 1024, 161, 161, 161, 161, 161, 161, 161, 1024, 1024, 1024, 1024,
62806284 data = {
62816285 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
62826286 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6283 0, 0, 0, 0, 0, 162, 163, 162, 162, 162, 163, 162, 0, 0, 0, 0,
6284 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6285 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6286 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6287 0, 0, 0, 0, 0, 0, 0, 0, 0, 257, 0, 0, 0, 0, 0, 0,
6288 0, 0, 0, 0, 0, 195, 193, 164, 197, 289, 258, 259, 0, 0, 0, 0,
6289 0, 0, 0, 0, 0, 194, 0, 0, 0, 0, 0, 226, 0, 0, 0, 0,
6290 0, 0, 0, 0, 0, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
62876291 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 227, 0, 0, 0, 0, 0,
62886292 0, 0, 0, 0, 0, 229, 0, 0, 0, 229, 225, 228, 0, 0, 0, 0,
62896293 0, 0, 0, 0, 0, 229, 0, 0, 0, 0, 226, 0, 0, 0, 0, 0,
63186322 ["targetX"] = 9,
63196323 ["targetY"] = 3
63206324 }
6325 },
6326 {
6327 id = 2,
6328 name = "",
6329 type = "",
6330 shape = "rectangle",
6331 x = 240,
6332 y = 72,
6333 width = 24,
6334 height = 24,
6335 rotation = 0,
6336 visible = true,
6337 properties = {
6338 ["signText"] = " A sheaf of scattered papers."
6339 }
6340 },
6341 {
6342 id = 3,
6343 name = "",
6344 type = "",
6345 shape = "rectangle",
6346 x = 264,
6347 y = 72,
6348 width = 24,
6349 height = 24,
6350 rotation = 0,
6351 visible = true,
6352 properties = {
6353 ["signText"] = " A laptop is opened to some kind of awful\n blue web site with a bird icon.\n\n It appears to collect the worst opinions\n you've ever seen in your life."
6354 }
6355 },
6356 {
6357 id = 5,
6358 name = "",
6359 type = "",
6360 shape = "rectangle",
6361 x = 216,
6362 y = 72,
6363 width = 24,
6364 height = 24,
6365 rotation = 0,
6366 visible = true,
6367 properties = {
6368 ["signText"] = " You rummage through the fridge, but\n nothing looks good."
6369 }
63216370 }
63226371 }
63236372 }
11 <?xml version="1.0" encoding="UTF-8"?>
2 <map version="1.0.0" orientation="orthogonal" renderorder="right-down" width="16" height="12" tilewidth="24" tileheight="24" nextobjectid="2">
2 <map version="1.0.0" orientation="orthogonal" renderorder="right-down" width="16" height="12" tilewidth="24" tileheight="24" nextobjectid="7">
33 <tileset firstgid="1" source="../../../pictures/tiles/animaltransiro.tsx"/>
44 <layer name="tiles" width="16" height="12">
55 <data encoding="csv">
66 1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,
77 1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,1024,
8 1024,1024,1024,1024,1024,161,161,161,161,161,161,161,1024,1024,1024,1024,
8 1024,1024,1024,1024,1024,162,163,162,163,162,163,162,1024,1024,1024,1024,
99 1024,1024,1024,1024,1024,161,161,161,161,161,161,161,1024,1024,1024,1024,
1010 1024,1024,1024,1024,1024,161,161,161,161,161,161,161,1024,1024,1024,1024,
1111 1024,1024,1024,1024,1024,161,161,161,161,161,161,161,1024,1024,1024,1024,
2121 <data encoding="csv">
2222 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
2323 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
24 0,0,0,0,0,162,163,162,162,162,163,162,0,0,0,0,
25 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
26 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
27 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
24 0,0,0,0,0,0,0,0,0,257,0,0,0,0,0,0,
25 0,0,0,0,0,195,193,164,197,289,258,259,0,0,0,0,
26 0,0,0,0,0,194,0,0,0,0,0,226,0,0,0,0,
27 0,0,0,0,0,198,0,0,0,0,0,0,0,0,0,0,
2828 0,0,0,0,0,0,0,0,0,0,227,0,0,0,0,0,
2929 0,0,0,0,0,229,0,0,0,229,225,228,0,0,0,0,
3030 0,0,0,0,0,229,0,0,0,0,226,0,0,0,0,0,
4141 <property name="targetY" type="int" value="3"/>
4242 </properties>
4343 </object>
44 <object id="2" x="240" y="72" width="24" height="24">
45 <properties>
46 <property name="signText" value=" A sheaf of scattered papers."/>
47 </properties>
48 </object>
49 <object id="3" x="264" y="72" width="24" height="24">
50 <properties>
51 <property name="signText"> A laptop is opened to some kind of awful
52 blue web site with a bird icon.
53
54 It appears to collect the worst opinions
55 you've ever seen in your life.</property>
56 </properties>
57 </object>
58 <object id="5" x="216" y="72" width="24" height="24">
59 <properties>
60 <property name="signText"> You rummage through the fridge, but
61 nothing looks good.</property>
62 </properties>
63 </object>
4464 </objectgroup>
4565 </map>
254254 {
255255 id = 33,
256256 properties = {
257 ["behind"] = true,
257258 ["pass"] = true
258259 }
259260 },
10521053 {
10531054 id = 161,
10541055 properties = {
1055 ["pass"] = true
1056 ["pass"] = false
10561057 }
10571058 },
10581059 {
10591060 id = 162,
10601061 properties = {
1061 ["pass"] = true
1062 ["pass"] = false
10621063 }
10631064 },
10641065 {
10651066 id = 163,
10661067 properties = {
1067 ["pass"] = true
1068 ["pass"] = false
10681069 }
10691070 },
10701071 {
12381239 {
12391240 id = 192,
12401241 properties = {
1241 ["pass"] = true
1242 ["pass"] = false
12421243 }
12431244 },
12441245 {
12451246 id = 193,
12461247 properties = {
1247 ["pass"] = true
1248 ["pass"] = false
12481249 }
12491250 },
12501251 {
12511252 id = 194,
12521253 properties = {
1253 ["pass"] = true
1254 ["pass"] = false
12541255 }
12551256 },
12561257 {
12571258 id = 195,
12581259 properties = {
1259 ["pass"] = true
1260 ["pass"] = false
12601261 }
12611262 },
12621263 {
12631264 id = 196,
12641265 properties = {
1265 ["pass"] = true
1266 ["pass"] = false
12661267 }
12671268 },
12681269 {
12691270 id = 197,
12701271 properties = {
1271 ["pass"] = true
1272 ["pass"] = false
12721273 }
12731274 },
12741275 {
14301431 {
14311432 id = 224,
14321433 properties = {
1433 ["pass"] = true
1434 ["pass"] = false
14341435 }
14351436 },
14361437 {
14371438 id = 225,
14381439 properties = {
1440 ["behind"] = "true",
14391441 ["pass"] = true
14401442 }
14411443 },
14421444 {
14431445 id = 226,
14441446 properties = {
1447 ["behind"] = "true",
14451448 ["pass"] = true
14461449 }
14471450 },
14481451 {
14491452 id = 227,
14501453 properties = {
1454 ["behind"] = "true",
14511455 ["pass"] = true
14521456 }
14531457 },
14541458 {
14551459 id = 228,
14561460 properties = {
1461 ["behind"] = "true",
14571462 ["pass"] = true
14581463 }
14591464 },
16221627 {
16231628 id = 256,
16241629 properties = {
1625 ["pass"] = true
1630 ["pass"] = false
16261631 }
16271632 },
16281633 {
16291634 id = 257,
16301635 properties = {
1631 ["pass"] = true
1636 ["action"] = "showMessage",
1637 ["pass"] = false
16321638 }
16331639 },
16341640 {
16351641 id = 258,
16361642 properties = {
1637 ["pass"] = true
1643 ["action"] = "showMessage",
1644 ["pass"] = false
16381645 }
16391646 },
16401647 {
18141821 {
18151822 id = 288,
18161823 properties = {
1817 ["pass"] = true
1824 ["action"] = "showMessage",
1825 ["pass"] = false
18181826 }
18191827 },
18201828 {
62766284 data = {
62776285 0, 26, 27, 28, 29, 0, 0, 5, 30, 31, 32, 0, 0, 0, 0, 0,
62786286 0, 58, 59, 60, 61, 0, 0, 37, 62, 63, 64, 0, 0, 0, 0, 0,
6279 5, 90, 91, 92, 93, 0, 0, 0, 94, 95, 96, 0, 0, 0, 0, 0,
6287 5, 90, 91, 92, 93, 0, 0, 0, 94, 95, 96, 34, 0, 0, 0, 0,
62806288 37, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0,
62816289 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 35, 0, 0, 0,
62826290 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 37, 0, 0, 0, 0,
62836291 0, 0, 0, 0, 0, 0, 0, 35, 0, 0, 0, 0, 4, 0, 69, 0,
6284 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 101, 0,
6285 0, 3, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0,
6286 0, 35, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6287 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
6292 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 101, 0,
6293 0, 3, 0, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 5, 0,
6294 0, 35, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 34, 0, 37, 0,
6295 0, 0, 0, 0, 101, 0, 0, 0, 34, 0, 0, 0, 0, 0, 0, 0,
62886296 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
62896297 }
62906298 },
2121 <data encoding="csv">
2222 0,26,27,28,29,0,0,5,30,31,32,0,0,0,0,0,
2323 0,58,59,60,61,0,0,37,62,63,64,0,0,0,0,0,
24 5,90,91,92,93,0,0,0,94,95,96,0,0,0,0,0,
24 5,90,91,92,93,0,0,0,94,95,96,34,0,0,0,0,
2525 37,0,0,0,4,0,0,0,0,0,0,0,3,0,0,0,
2626 0,0,0,0,0,0,0,0,0,0,0,5,35,0,0,0,
2727 0,0,0,0,0,0,0,3,0,0,0,37,0,0,0,0,
2828 0,0,0,0,0,0,0,35,0,0,0,0,4,0,69,0,
29 0,0,0,0,0,0,0,0,0,5,0,0,0,0,101,0,
30 0,3,0,0,0,0,0,0,0,37,0,0,0,0,0,0,
31 0,35,0,0,69,0,0,0,0,0,0,0,0,0,0,0,
32 0,0,0,0,101,0,0,0,0,0,0,0,0,0,0,0,
29 0,0,0,0,0,0,0,0,0,0,0,0,0,5,101,0,
30 0,3,0,34,0,0,0,0,0,0,0,0,0,37,5,0,
31 0,35,0,0,69,0,0,0,0,0,0,0,34,0,37,0,
32 0,0,0,0,101,0,0,0,34,0,0,0,0,0,0,0,
3333 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3434 </data>
3535 </layer>
4545 -- if we've got dialogue up, then show that, too
4646 -- XXX: factor this out!
4747 if state.message then
48 love.graphics.setColor(255, 255, 255)
4948 local w = consts.boardWidth * consts.tileSize
5049 local h = consts.boardHeight * consts.tileSize / 2
50 love.graphics.setColor(0, 0, 0)
51 love.graphics.rectangle('fill', 6, 6 + h, w - 12, h - 12)
52 love.graphics.setColor(255, 255, 255)
5153 love.graphics.rectangle('fill', 8, 8 + h, w - 16, h - 16)
5254 love.graphics.setColor(0, 0, 0)
5355 love.graphics.print(state.message, 12, h + 12)
Binary diff not shown
Binary diff not shown