Advertisement
eliasdaler

slime.json

Nov 3rd, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.94 KB | None | 0 0
  1. {
  2.  
  3. "slime" : {
  4.     "ai" : {
  5.         "type" : "chaser",
  6.         "viewRadius" : 60,
  7.         "viewAngle" : 90
  8.     },
  9.     "animation" : { },
  10.     "collision" : { "boundingBox" : [ 6, 4 ] },
  11.     "damage" : {
  12.         "amount" : 1,
  13.         "type" : "physical"
  14.     },
  15.     "graphics" : {
  16.         "spriteOrigin" : [ 8, 10 ],
  17.         "overlays" : {
  18.             "paint" : "slime_overlay"
  19.         }
  20.     },
  21.     "health" : { "maxHealth" : 2 },
  22.     "movement" : {
  23.         "moveSpeed" : [ 15.0, 15.0 ],
  24.         "mass" : 0.5
  25.     },
  26.     "sound" : {
  27.         "sounds" : {
  28.             "hit" : { "file" : "enemy_hit" },
  29.             "die" : { "file" : "enemy_die" }
  30.         }
  31.     },
  32.     "stateMachine" : {
  33.         "main" : {
  34.             "initialState" : "IdleState",
  35.             "transitionTable" : "hero"
  36.         },
  37.         "ai" : {
  38.             "initialState" : "AIPatrolState",
  39.             "transitionTable" : "ai_slime"
  40.         }
  41.     }
  42. }
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement