azriel91

yaml-data

Jun 14th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.38 KB | None | 0 0
  1. ---
  2. type: 0
  3. header:
  4.   sprites:
  5.   - path: "assets/joe/joe_0.png"
  6.     width: 79
  7.     height: 79
  8.     rows: 7
  9.     columns: 10
  10.     border: 1
  11.   move-speeds:
  12.     walk-x: 3.2
  13.     walk-z: 1.3
  14.     run-x: 5.0
  15.     run-z: 1.1
  16. sequences:
  17. # breathing
  18. - id: 0
  19.   next: 999
  20.   state: 1
  21.   frames:
  22.   - wait: 4
  23.     pic:
  24.       id: 0
  25.       x: 40
  26.       y: 79
  27.   - wait: 6
  28.     pic:
  29.       id: 1
  30.       x: 40
  31.       y: 79
  32.   - wait: 8
  33.     pic:
  34.       id: 2
  35.       x: 40
  36.       y: 79
  37.   - wait: 6
  38.     pic:
  39.       id: 3
  40.       x: 40
  41.       y: 79
  42.  
  43. # walking
  44. - id: 1
  45.   next: 1
  46.   state: 1
  47.   frames:
  48.   - wait: 5
  49.     pic:
  50.       id: 4
  51.       x: 40
  52.       y: 79
  53.   - wait: 5
  54.     pic:
  55.       id: 5
  56.       x: 40
  57.       y: 79
  58.   - wait: 5
  59.     pic:
  60.       id: 6
  61.       x: 40
  62.       y: 79
  63.   - wait: 5
  64.     pic:
  65.       id: 7
  66.       x: 40
  67.       y: 79
  68.   - wait: 5
  69.     pic:
  70.       id: 6
  71.       x: 40
  72.       y: 79
  73.   - wait: 5
  74.     pic:
  75.       id: 5
  76.       x: 40
  77.       y: 79
  78.  
  79. # running
  80. - id: 2
  81.   next: 2
  82.   state: 2
  83.   frames:
  84.   - wait: 6
  85.     pic:
  86.       id: 20
  87.       x: 40
  88.       y: 79
  89.   - wait: 6
  90.     pic:
  91.       id: 21
  92.       x: 40
  93.       y: 79
  94.   - wait: 6
  95.     pic:
  96.       id: 22
  97.       x: 40
  98.       y: 79
  99.   - wait: 6
  100.     pic:
  101.       id: 21
  102.       x: 40
  103.       y: 79
  104.  
  105. # stop running
  106. - id: 3
  107.   next: 999
  108.   state: 0
  109.   frames:
  110.   - wait: 8
  111.     pic:
  112.       id: 17
  113.       x: 40
  114.       y: 79
  115. ...
Advertisement
Add Comment
Please, Sign In to add comment