RPGH_Engine/ingame/humanoid/humanoid.tscn
2021-05-19 16:22:05 +02:00

33 lines
986 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://addons/rpgh_engine/ingame/humanoid/humanoid.gd" type="Script" id=1]
[ext_resource path="res://addons/rpgh_engine/assets/graphics/template_humanoid.png" type="Texture" id=2]
[ext_resource path="res://addons/rpgh_engine/ingame/humanoid/animation_handler.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
[node name="Humanoid" type="YSort"]
script = ExtResource( 1 )
[node name="Texture" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
offset = Vector2( 0, -14 )
hframes = 15
vframes = 8
frame = 60
[node name="AnimationHandler" type="Node" parent="Texture"]
script = ExtResource( 3 )
[node name="CameraFocus" type="Position2D" parent="Texture"]
position = Vector2( 12, 8 )
[node name="Body" type="KinematicBody2D" parent="."]
collision_layer = 0
collision_mask = 2
[node name="Collision" type="CollisionShape2D" parent="Body"]
position = Vector2( 12, 12 )
shape = SubResource( 1 )