mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 13:32:23 +02:00
Traps updated, Live and Collactables added
This commit is contained in:
26
src/Objects/Slime/Slime.tscn
Normal file
26
src/Objects/Slime/Slime.tscn
Normal file
@@ -0,0 +1,26 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://testSprites/slime.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 16, 16 )
|
||||
|
||||
[node name="Slime" type="Node2D"]
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="Hurtbox" parent="." instance=ExtResource( 2 )]
|
||||
position = Vector2( 19.1136, -7.76083 )
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
slowdown_value = 80
|
||||
|
||||
[node name="CollisionShape2D" parent="Hurtbox" index="0"]
|
||||
position = Vector2( -19.0825, 7.65191 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
|
||||
|
||||
[editable path="Hurtbox"]
|
||||
Reference in New Issue
Block a user