broken_seals_2d/game/player/Mob.tscn

25 lines
809 B
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=2]
2020-07-08 23:25:40 +02:00
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=1]
2022-02-27 01:12:12 +01:00
[ext_resource path="res://sprites/characters/Character.tscn" type="PackedScene" id=2]
2020-07-08 23:25:40 +02:00
[ext_resource path="res://player/Mob.gd" type="Script" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 20.0
[node name="Mob" type="Entity" groups=[
"mobs",
]]
2020-01-04 04:16:52 +01:00
body_path = NodePath("KinematicBody2D")
character_skeleton_path = NodePath("KinematicBody2D/Character")
2020-07-08 23:25:40 +02:00
script = ExtResource( 3 )
2020-07-08 23:25:40 +02:00
[node name="NamePlate" parent="." instance=ExtResource( 1 )]
2020-01-04 13:09:34 +01:00
2020-01-04 04:16:52 +01:00
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
2020-01-04 04:16:52 +01:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
shape = SubResource( 1 )
2020-01-04 04:16:52 +01:00
2020-07-08 23:25:40 +02:00
[node name="Character" parent="KinematicBody2D" instance=ExtResource( 2 )]