Tentative player
This commit is contained in:
parent
1511fbecbf
commit
ddbd53292c
5 changed files with 76 additions and 1 deletions
20
Scene/MainScene.tscn
Normal file
20
Scene/MainScene.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bvunk8qf230h4"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bvtebeu1wy2ak" path="res://Scene/player.tscn" id="1_kveqs"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_gom25"]
|
||||
size = Vector2(1156, 647)
|
||||
|
||||
[node name="MainScene" type="Node2D"]
|
||||
position = Vector2(49, 153)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2(527, 168.5)
|
||||
shape = SubResource("RectangleShape2D_gom25")
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_kveqs")]
|
||||
position = Vector2(111, -23)
|
||||
|
||||
[connection signal="body_exited" from="Area2D" to="Player" method="_on_area_2d_body_exited"]
|
Loading…
Add table
Add a link
Reference in a new issue