Advertisement
NovaYoshi

level format json maybe

Sep 9th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. {
  2. "Meta":{
  3. "Name": "level 1",
  4. "Comment": "demo",
  5. "Width": 256,
  6. "Height": 15,
  7. "Version": 1,
  8. "GridWidth": 16,
  9. "GridHeight: 15,
  10. },
  11.  
  12. "Header":{
  13. "Music": "ATHLETIC",
  14. "StartX": 5,
  15. "StartY": 5,
  16. "SpriteGFX": [
  17. "SP_WALKER",
  18. "SP_CANNON",
  19. "SP_FIRE",
  20. "SP_KING"
  21. ],
  22. "GFXUpload": [
  23. "PAL_GRASSY",
  24. "BG_COMMON",
  25. "BG_GRASSY"
  26. ],
  27. "BGColor": 49,
  28. },
  29.  
  30. "Layers": [
  31. { "Type": "Rectangles",
  32. "Data": [
  33. {"Id": "GROUND", "X", 0, "Y", 13, "W", 20, "H", 2},
  34. {"Id": "SIGNPOST", "X", 5, "Y", 12, "W", 1, "H", 1},
  35. {"Id": "GROUND_CLIMB_L", "X", 0, "Y", 13, "W", 1, "H", 1},
  36. {"Id": "FALLTHROUGH_LEDGE", "X", 8, "Y", 2, "W", 15, "H", 1},
  37. {"Id": "COIN", "X", 6, "Y", 2, "W", 20, "H", 20}
  38. ]
  39. },
  40. { "Type": "Sprite",
  41. "Data": [
  42. {"Id": "GOOMBA", "Left": true, "X":17, "Y":7},
  43. {"Id": "GOOMBA", "Left": true, "X":37, "Y":11},
  44. {"Id": "OWL", "Left": true, "X":56, "Y":12},
  45. {"Id": "OWL", "Left": true, "X":66, "Y":8},
  46. {"Id": "GOOMBA", "Left": true, "X":89, "Y":9},
  47. {"Id": "OWL", "Left": true, "X":114,"Y":9},
  48. {"Id": "OWL", "Left": true, "X":143,"Y":9},
  49. {"Id": "GOOMBA", "Left": true, "X":157,"Y":5},
  50. ]
  51. }
  52. ],
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement