mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 13:32:23 +02:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
[gd_scene load_steps=6 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]
|
|
[ext_resource path="res://Overlap/Kind.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://Objects/Slime/Slime.gd" type="Script" id=4]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 16, 16 )
|
|
|
|
[node name="Slime" type="Node2D"]
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Kind" parent="." instance=ExtResource( 3 )]
|
|
general = 2
|
|
kind = 10
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 0, 1.90735e-06 )
|
|
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"]
|