forked from team-sg/hero-mark-2
24 lines
741 B
Text
24 lines
741 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://graphics/particles/muzzle_flash.png" type="Texture" id=1]
|
|
[ext_resource path="res://objects/environment/blood/blood_spray.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 1.0
|
|
|
|
[node name="BloodSpray" type="RigidBody2D"]
|
|
contacts_reported = 4
|
|
contact_monitor = true
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
self_modulate = Color( 0.960784, 0.2, 0.258824, 1 )
|
|
scale = Vector2( 0.75, 0.5 )
|
|
texture = ExtResource( 1 )
|
|
offset = Vector2( 2, 0 )
|
|
flip_h = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|