broken_seals_2ds/game/player/Mob.tscn

24 lines
729 B
Plaintext
Raw Normal View History

[gd_scene load_steps=6 format=2]
2022-01-30 23:20:50 +01:00
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=1]
[ext_resource path="res://player/Mob.gd" type="Script" id=3]
[sub_resource type="EntityResourceHealth" id=2]
[sub_resource type="EntityResourceSpeed" id=3]
2022-01-30 23:20:50 +01:00
[sub_resource type="CircleShape2D" id=1]
radius = 20.0
[node name="Mob" type="Entity" groups=["mobs"]]
2022-01-30 23:20:50 +01:00
body_path = NodePath("KinematicBody2D")
sresources = [ SubResource( 2 ), SubResource( 3 ) ]
2022-01-30 23:20:50 +01:00
script = ExtResource( 3 )
[node name="NamePlate" parent="." instance=ExtResource( 1 )]
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
shape = SubResource( 1 )