added grenade sprite
This commit is contained in:
1 parent
cf080b6088
commit
8ba2c94cdf
6 files changed
+49
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://wt8o0uyqblsv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dn8v5sbqg05v3" path="res://scripts/brown_box.gd" id="1_g34fy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dickh4ulsdmhi" path="res://assets/graphics/crate/small_crate.png" id="2_g748q"]
|
||||
[ext_resource type="Texture2D" uid="uid://dickh4ulsdmhi" path="res://assets/graphics/objects/small_crate.png" id="2_g748q"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o3qty"]
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene format=3 uid="uid://cncmlpntwxxx5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bwjaypkvgpb6t" path="res://scripts/grenade.gd" id="1_cvyik"]
|
||||
[ext_resource type="Texture2D" uid="uid://6vtsx7rnpd7w" path="res://assets/graphics/objects/grenade.png" id="2_wxtds"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_1xt3t"]
|
||||
radius = 5.0
|
||||
@@ -15,4 +16,8 @@ metadata/_edit_group_ = true
|
||||
shape = SubResource("CircleShape2D_1xt3t")
|
||||
debug_color = Color(0.8627451, 0.03137255, 0.20392157, 0.41960785)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1803673568]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("2_wxtds")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in new issue
Block a user