mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2024-11-14 10:57:19 +01:00
30 lines
950 B
Plaintext
30 lines
950 B
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://characters/Character.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://player/Mob.gd" type="Script" id=3]
|
|
|
|
[sub_resource type="EntityResourceHealth" id=1]
|
|
|
|
[sub_resource type="EntityResourceSpeed" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=3]
|
|
radius = 20.0
|
|
|
|
[node name="Mob" type="Entity" groups=[
|
|
"mobs",
|
|
]]
|
|
body_path = NodePath("KinematicBody2D")
|
|
character_skeleton_path = NodePath("KinematicBody2D/Character")
|
|
sresources = [ SubResource( 1 ), SubResource( 2 ) ]
|
|
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( 3 )
|
|
|
|
[node name="Character" parent="KinematicBody2D" instance=ExtResource( 2 )]
|