20 lines
598 B
Text
20 lines
598 B
Text
[gd_scene load_steps=3 format=3 uid="uid://fighter"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/gameplay/Fighter.gd" id="1"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1"]
|
|
radius = 10.0
|
|
height = 20.0
|
|
|
|
[node name="Fighter" type="CharacterBody2D"]
|
|
script = ExtResource("1")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.5, 0.5)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CapsuleShape2D_1")
|
|
|
|
[node name="AttackRange" type="Area2D" parent="."]
|
|
|
|
[node name="RangeShape" type="CollisionShape2D" parent="AttackRange"]
|