Animations are now being pulled correctly but I need to add a timing concept to animations instead of ticks.
This commit is contained in:
parent
517de91a5b
commit
c33f370572
10 changed files with 43 additions and 22 deletions
|
|
@ -108,5 +108,15 @@
|
|||
"frames": 10,
|
||||
"speed": 1.0,
|
||||
"stationary": false
|
||||
},
|
||||
"test_boss": {
|
||||
"_type": "Animation",
|
||||
"easing": 3,
|
||||
"ease_rate": 0.5,
|
||||
"scale": 0.4,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.02,
|
||||
"stationary": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,15 +18,6 @@
|
|||
}
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
|
||||
{"_type": "Animation",
|
||||
"easing": 3,
|
||||
"ease_rate": 0.2,
|
||||
"simple": false,
|
||||
"frames": 2,
|
||||
"speed": 0.02,
|
||||
"scale": 0.2,
|
||||
"stationary": false
|
||||
},
|
||||
{"_type": "Sprite", "name": "test_boss", "width": 720, "height": 720, "scale": 0.8, "stationary": false},
|
||||
{"_type": "Sound", "attack": "Marmot_Scream_1", "death": "Creature_Death_1"}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue