mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
60 lines
2.0 KiB
Plaintext
60 lines
2.0 KiB
Plaintext
|
[gd_scene load_steps=10 format=2]
|
||
|
|
||
|
[ext_resource path="res://characters/Character.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://scripts/item_visuals/CharacterAtlasEntry2D.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://scripts/item_visuals/CharacterAtlas2D.gd" type="Script" id=3]
|
||
|
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=5]
|
||
|
[ext_resource path="res://player/Body.gd" type="Script" id=6]
|
||
|
|
||
|
[sub_resource type="CharacterAtlasEntry" id=1]
|
||
|
script = ExtResource( 2 )
|
||
|
front_rect = Rect2( 101, 15, 9, 12 )
|
||
|
back_rect = Rect2( 74, 18, 9, 12 )
|
||
|
right_rect = Rect2( 8, 13, 9, 12 )
|
||
|
left_rect = Rect2( 8, 13, 9, 12 )
|
||
|
|
||
|
[sub_resource type="CharacterAtlasEntry" id=2]
|
||
|
script = ExtResource( 2 )
|
||
|
front_rect = Rect2( 102, 2, 7, 8 )
|
||
|
back_rect = Rect2( 75, 5, 7, 8 )
|
||
|
right_rect = Rect2( 9, 0, 7, 8 )
|
||
|
left_rect = Rect2( 9, 0, 7, 8 )
|
||
|
|
||
|
[sub_resource type="CharacterAtlas" id=3]
|
||
|
script = ExtResource( 3 )
|
||
|
comments = "HUMANOID_BONE_HIP = 0,
|
||
|
HUMANOID_BONE_TORSO = 1,
|
||
|
HUMANOID_BONE_LEG_R = 2,
|
||
|
HUMANOID_BONE_FOOT_R = 3,
|
||
|
HUMANOID_BONE_TOE_R = 4,
|
||
|
HUMANOID_BONE_LEG_L = 5,
|
||
|
HUMANOID_BONE_FOOT_L = 6,
|
||
|
HUMANOID_BONE_TOE_L = 7,
|
||
|
HUMANOID_BONE_ARM_R = 8,
|
||
|
#HUMANOID_BONE_SHOULDER_GUARD_R = 0,
|
||
|
HUMANOID_BONE_HAND_R = 9,
|
||
|
HUMANOID_BONE_FINGERS_R = 10,
|
||
|
HUMANOID_BONE_ARM_L = 11,
|
||
|
#HUMANOID_BONE_SHOULDER_GUARD_L = 0,
|
||
|
HUMANOID_BONE_HAND_L = 12,
|
||
|
HUMANOID_BONE_FINGERS_L = 13,
|
||
|
HUMANOID_BONE_HEAD = 14,
|
||
|
HUMANOID_BONE_HEAD_TOP = 15,
|
||
|
HUMANOID_BONES_MAX = 16,"
|
||
|
texture = ExtResource( 5 )
|
||
|
slots = [ null, SubResource( 1 ), null, null, null, null, null, null, null, null, null, null, null, null, SubResource( 2 ), null ]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=4]
|
||
|
radius = 8.0
|
||
|
|
||
|
[node name="Body" type="KinematicBody2D"]
|
||
|
script = ExtResource( 6 )
|
||
|
|
||
|
[node name="Character" parent="." instance=ExtResource( 1 )]
|
||
|
front_node_path = NodePath("../../Body/Character/CharacterFrontModel")
|
||
|
side_node_path = NodePath("../../Body/Character/CharacterSideModel")
|
||
|
character_atlas = SubResource( 3 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 4 )
|