working on items and inventory
This commit is contained in:
21
PickupableObjects/NailGun/NailShot.tscn
Normal file
21
PickupableObjects/NailGun/NailShot.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://brs78nmhyom78"]
|
||||
|
||||
[ext_resource type="Script" path="res://PickupableObjects/NailGun/NailShot.gd" id="1_ul31y"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgtkkroa583fo" path="res://TileSets/Stuff.png" id="2_4fssh"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dsxgv"]
|
||||
size = Vector2(11, 15)
|
||||
|
||||
[node name="NailShot" type="RigidBody2D"]
|
||||
script = ExtResource("1_ul31y")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_4fssh")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 98, 15, 15)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0.5, -0.5)
|
||||
shape = SubResource("RectangleShape2D_dsxgv")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
Reference in New Issue
Block a user