Advertisement
alestane

Tiles with physical properties

Mar 28th, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. { "height":10,
  2.  "layers":[
  3.         {
  4.          "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
  5.          "height":10,
  6.          "name":"Tile Layer 1",
  7.          "opacity":1,
  8.          "type":"tilelayer",
  9.          "visible":true,
  10.          "width":15,
  11.          "x":0,
  12.          "y":0
  13.         }],
  14.  "orientation":"orthogonal",
  15.  "properties":
  16.     {
  17.  
  18.     },
  19.  "tileheight":32,
  20.  "tilesets":[
  21.         {
  22.          "firstgid":1,
  23.          "image":"Tilesets\/tileset.png",
  24.          "imageheight":128,
  25.          "imagewidth":224,
  26.          "margin":0,
  27.          "name":"tileset",
  28.          "properties":
  29.             {
  30.  
  31.             },
  32.          "spacing":0,
  33.          "tileheight":32,
  34.          "tilewidth":32,
  35.         "tileproperties":
  36.             {
  37.              "2":
  38.                 {
  39.                  "bodyType":"static",
  40.                  "physics:bounce":"0",
  41.                  "physics:enabled":"true"
  42.                 },
  43.             }
  44.         }],
  45.  "tilewidth":32,
  46.  "version":1,
  47.  "width":15
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement