Sprite is now a component we can place on anything to render it.
This commit is contained in:
parent
9c37960283
commit
6bca6d021e
8 changed files with 50 additions and 26 deletions
|
@ -9,7 +9,8 @@
|
|||
{"_type": "Tile", "display": "\u0f08",
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [230,120, 120]
|
||||
}
|
||||
},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
]
|
||||
},
|
||||
"SWORD_RUSTY": {
|
||||
|
@ -22,7 +23,8 @@
|
|||
{"_type": "Tile", "display": "\u1e37",
|
||||
"foreground": [24, 120, 189],
|
||||
"background": [24, 120, 189]
|
||||
}
|
||||
},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
]
|
||||
},
|
||||
"SWORD_LIGHT_AND_FLAME": {
|
||||
|
@ -36,7 +38,8 @@
|
|||
"foreground": [24, 205, 210],
|
||||
"background": [24, 205, 210]
|
||||
},
|
||||
{"_type": "Weapon", "damage": 30}
|
||||
{"_type": "Weapon", "damage": 30},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
]
|
||||
},
|
||||
"CHEST_SMALL": {
|
||||
|
@ -48,7 +51,8 @@
|
|||
"foreground": [150, 100, 189],
|
||||
"background": [150, 100, 189]
|
||||
},
|
||||
{"_type": "Loot", "amount": 10}
|
||||
{"_type": "Loot", "amount": 10},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
],
|
||||
"inventory_count": 1
|
||||
},
|
||||
|
@ -62,7 +66,8 @@
|
|||
"foreground": [24, 205, 210],
|
||||
"background": [24, 205, 210]
|
||||
},
|
||||
{"_type": "LightSource", "strength": 60, "radius": 1.8}
|
||||
{"_type": "LightSource", "strength": 60, "radius": 1.8},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
]
|
||||
},
|
||||
"POTION_HEALING_SMALL": {
|
||||
|
@ -75,7 +80,8 @@
|
|||
"foreground": [255, 205, 189],
|
||||
"background": [255, 205, 189]
|
||||
},
|
||||
{"_type": "Curative", "hp": 20}
|
||||
{"_type": "Curative", "hp": 20},
|
||||
{"_type": "Sprite", "name": "barrel"}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue