31 lines
979 B
Plaintext
31 lines
979 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Assets/smalltable.png" type="Texture" id=1]
|
|
[ext_resource path="res://Objects/movable.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 11.9863, 7.80658 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 16.5, 13.25 )
|
|
|
|
[node name="Small Table" type="KinematicBody2D"]
|
|
position = Vector2( 254, 113 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 0.667419, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2( 0.75, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="_on_player_entered"]
|
|
[connection signal="body_exited" from="Area2D" to="." method="_on_player_exited"]
|