aprilGame/character_body_2d.tscn

19 lines
694 B
Plaintext

[gd_scene format=3 uid="uid://cd5y08qaxwfny"]
[ext_resource type="Script" uid="uid://f42eg5a0cckl" path="res://scripts/player_guy.gd" id="1_f50pn"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_80nbo"]
[node name="CharacterBody2D" type="CharacterBody2D" unique_id=199789825]
script = ExtResource("1_f50pn")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1058155484]
shape = SubResource("CapsuleShape2D_80nbo")
[node name="rightcast" type="RayCast2D" parent="." unique_id=1229058621]
target_position = Vector2(55, 0)
[node name="leftcast" type="RayCast2D" parent="." unique_id=1093993947]
target_position = Vector2(-43, 0)