initial commit
This commit is contained in:
commit
35bb9bb38f
46 changed files with 1243 additions and 0 deletions
24
Medpack.tscn
Normal file
24
Medpack.tscn
Normal file
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/sprite-sheet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Medpack.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 7.13723, 6.22526 )
|
||||
|
||||
[node name="Medpack" type="Node2D" groups=[
|
||||
"medpack",
|
||||
]]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Graphic" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 48, 16, 16, 16 )
|
||||
|
||||
[node name="Pickup" type="Area2D" parent="."]
|
||||
|
||||
[node name="PickupCollider" type="CollisionShape2D" parent="Pickup"]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="body_entered" from="Pickup" to="." method="_on_Pickup_body_entered"]
|
Loading…
Add table
Add a link
Reference in a new issue