Some basic animations working but the loop in bad.
This commit is contained in:
parent
c33f370572
commit
0930b05fc5
5 changed files with 40 additions and 20 deletions
|
|
@ -111,12 +111,22 @@
|
|||
},
|
||||
"test_boss": {
|
||||
"_type": "Animation",
|
||||
"easing": 3,
|
||||
"easing": 1,
|
||||
"ease_rate": 0.5,
|
||||
"scale": 0.4,
|
||||
"simple": true,
|
||||
"frames": 1,
|
||||
"speed": 0.02,
|
||||
"stationary": true
|
||||
},
|
||||
"rat_king_boss": {
|
||||
"_type": "Animation",
|
||||
"easing": 1,
|
||||
"ease_rate": 0.5,
|
||||
"scale": 0.4,
|
||||
"simple": false,
|
||||
"frames": 2,
|
||||
"speed": 0.02,
|
||||
"stationary": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,23 +2,23 @@
|
|||
"RAT_KING": {
|
||||
"components": [
|
||||
{"_type": "BossFight",
|
||||
"background": "test_background",
|
||||
"floor": "test_floor",
|
||||
"floor_pos": "floor2",
|
||||
"background": "boss_fight_background",
|
||||
"floor": "devils_fingers_background",
|
||||
"floor_pos": "floor1",
|
||||
"player": {
|
||||
"sprite": "test_player",
|
||||
"sprite": "peasant_girl_rear_view",
|
||||
"start_pos": "player2",
|
||||
"scale": 0.5,
|
||||
"mid_cell": false
|
||||
},
|
||||
"boss": {
|
||||
"start_pos": "boss3",
|
||||
"start_pos": "boss2",
|
||||
"scale": 0.7,
|
||||
"mid_cell": true
|
||||
}
|
||||
},
|
||||
{"_type": "Combat", "hp": 20, "max_hp": 20, "damage": 20, "dead": false},
|
||||
{"_type": "Sprite", "name": "test_boss", "width": 720, "height": 720, "scale": 0.8, "stationary": false},
|
||||
{"_type": "Sprite", "name": "rat_king_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