more transparent blood
This commit is contained in:
parent
5b29d4f36e
commit
ece13bc12f
@ -389,7 +389,7 @@ INTERNAL PHYS_COLLISION_CALLBACK_FUNC_DEF(on_collision, array)
|
|||||||
struct xform xf = XFORM_TRS(.t = point);
|
struct xform xf = XFORM_TRS(.t = point);
|
||||||
struct entity *decal = entity_alloc(root);
|
struct entity *decal = entity_alloc(root);
|
||||||
decal->sprite = sprite_tag_from_path(STR("res/graphics/blood.ase"));
|
decal->sprite = sprite_tag_from_path(STR("res/graphics/blood.ase"));
|
||||||
decal->sprite_tint = RGBA_32_F(1, 1, 1, 0.5f);
|
decal->sprite_tint = RGBA_32_F(1, 1, 1, 0.25f);
|
||||||
entity_set_xform(decal, xf);
|
entity_set_xform(decal, xf);
|
||||||
|
|
||||||
f32 angular_velocity_range = 5;
|
f32 angular_velocity_range = 5;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user