mirror of
https://github.com/Relintai/rsc_rpg.git
synced 2025-04-22 05:51:17 +02:00
Removed the old character scene.
This commit is contained in:
parent
44d7dc46ad
commit
9a97e49d42
@ -1,74 +0,0 @@
|
|||||||
[gd_scene load_steps=10 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://player/CharacterSkeleton2DGD.gd" type="Script" id=1]
|
|
||||||
[ext_resource path="res://characters/CharacterSideModel.tscn" type="PackedScene" id=2]
|
|
||||||
[ext_resource path="res://characters/CharacterFrontModel.tscn" type="PackedScene" id=3]
|
|
||||||
[ext_resource path="res://scripts/item_visuals/CharacterAtlas2D.gd" type="Script" id=4]
|
|
||||||
[ext_resource path="res://scripts/item_visuals/CharacterAtlasEntry2D.gd" type="Script" id=5]
|
|
||||||
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=6]
|
|
||||||
|
|
||||||
[sub_resource type="CharacterAtlasEntry" id=1]
|
|
||||||
script = ExtResource( 5 )
|
|
||||||
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( 5 )
|
|
||||||
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( 4 )
|
|
||||||
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( 6 )
|
|
||||||
slots = [ null, SubResource( 1 ), null, null, null, null, null, null, null, null, null, null, null, null, SubResource( 2 ), null ]
|
|
||||||
|
|
||||||
[node name="Character" type="CharacterSkeleton2D"]
|
|
||||||
entity_type = 1
|
|
||||||
attach_point_paths/0_left_hand = NodePath("")
|
|
||||||
attach_point_paths/1_right_hand = NodePath("")
|
|
||||||
attach_point_paths/2_torso = NodePath("")
|
|
||||||
attach_point_paths/3_root = NodePath("")
|
|
||||||
attach_point_paths/4_right_hip = NodePath("")
|
|
||||||
attach_point_paths/5_left_hip = NodePath("")
|
|
||||||
attach_point_paths/6_spine_2 = NodePath("")
|
|
||||||
attach_point_paths/7_weapon_left = NodePath("")
|
|
||||||
attach_point_paths/8_weapon_right = NodePath("")
|
|
||||||
attach_point_paths/9_weapon_left_back = NodePath("")
|
|
||||||
attach_point_paths/10_weapon_right_back = NodePath("")
|
|
||||||
attach_point_paths/11_weapon_shield_left = NodePath("")
|
|
||||||
script = ExtResource( 1 )
|
|
||||||
front_node_path = NodePath("CharacterFrontModel")
|
|
||||||
front_animation_player_path = NodePath("../Character/CharacterFrontModel/AnimationPlayer")
|
|
||||||
front_animation_tree_path = NodePath("../Character/CharacterFrontModel/AnimationTree")
|
|
||||||
side_node_path = NodePath("CharacterSideModel")
|
|
||||||
side_animation_player_path = NodePath("../Character/CharacterSideModel/AnimationPlayer")
|
|
||||||
side_animation_tree_path = NodePath("../Character/CharacterSideModel/AnimationTree")
|
|
||||||
character_atlas = SubResource( 3 )
|
|
||||||
|
|
||||||
[node name="CharacterFrontModel" parent="." instance=ExtResource( 3 )]
|
|
||||||
visible = false
|
|
||||||
|
|
||||||
[node name="CharacterSideModel" parent="." instance=ExtResource( 2 )]
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,109 +0,0 @@
|
|||||||
[gd_scene load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=1]
|
|
||||||
|
|
||||||
|
|
||||||
[node name="CharacterTest1" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="model" type="Sprite" parent="."]
|
|
||||||
visible = false
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -15.5 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 49, 21, 13, 37 )
|
|
||||||
|
|
||||||
[node name="Shadow" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -0.5, 0 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 27, 57, 14, 6 )
|
|
||||||
|
|
||||||
[node name="RightUpperHand" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -3.5, -25.5 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 3 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 1, 11, 4, 9 )
|
|
||||||
|
|
||||||
[node name="RightLowerHand" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -3.47278, -19.9516 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 3 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 1, 23, 4, 8 )
|
|
||||||
|
|
||||||
[node name="Torso" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 0, -16 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -5 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 8, 13, 9, 12 )
|
|
||||||
|
|
||||||
[node name="LeftShoulderGuard" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -2.5, -25 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( -1, -1 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 0.39, 5.79, 6.91, 4.67 )
|
|
||||||
|
|
||||||
[node name="Head" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 0, -26 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -4 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 9, 0, 7, 8 )
|
|
||||||
|
|
||||||
[node name="LeftUpperArm" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 4, -24 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 2.5 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 20, 11, 3, 9 )
|
|
||||||
|
|
||||||
[node name="RightShoulderGuard" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 4, -25.5 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -0.5 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 17.23, 5.56, 6.41, 4.89 )
|
|
||||||
|
|
||||||
[node name="RightUpperLeg" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -2, -13 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 3 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 5, 36, 5, 8 )
|
|
||||||
|
|
||||||
[node name="RightLowerLeg" type="Sprite" parent="."]
|
|
||||||
position = Vector2( -3, -8 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 4 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 3, 48, 7, 10 )
|
|
||||||
|
|
||||||
[node name="LeftUpperLeg" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 2, -12.5 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 3 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 14, 36, 5, 9 )
|
|
||||||
|
|
||||||
[node name="LeftLowerLeg" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 2, -8 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 4 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 14, 48, 5, 10 )
|
|
||||||
|
|
||||||
[node name="Hip" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 0, -14 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 8, 32, 7, 2 )
|
|
||||||
|
|
||||||
[node name="LeftLowerArm" type="Sprite" parent="."]
|
|
||||||
position = Vector2( 4, -18 )
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, 2 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 20, 24, 3, 6 )
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/char_t1_outline_split - Copy.png-88d6d74e7874948f07096fd2e5e6ae3a.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://characters/char_t1_outline_split - Copy.png"
|
|
||||||
dest_files=[ "res://.import/char_t1_outline_split - Copy.png-88d6d74e7874948f07096fd2e5e6ae3a.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=false
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=false
|
|
||||||
svg/scale=1.0
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
@ -1,34 +0,0 @@
|
|||||||
[remap]
|
|
||||||
|
|
||||||
importer="texture"
|
|
||||||
type="StreamTexture"
|
|
||||||
path="res://.import/char_t1_outline_split.png-9c3f609f043903cf305339bc84929b57.stex"
|
|
||||||
metadata={
|
|
||||||
"vram_texture": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://characters/char_t1_outline_split.png"
|
|
||||||
dest_files=[ "res://.import/char_t1_outline_split.png-9c3f609f043903cf305339bc84929b57.stex" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
compress/mode=0
|
|
||||||
compress/lossy_quality=0.7
|
|
||||||
compress/hdr_mode=0
|
|
||||||
compress/bptc_ldr=0
|
|
||||||
compress/normal_map=0
|
|
||||||
flags/repeat=0
|
|
||||||
flags/filter=false
|
|
||||||
flags/mipmaps=false
|
|
||||||
flags/anisotropic=false
|
|
||||||
flags/srgb=2
|
|
||||||
process/fix_alpha_border=true
|
|
||||||
process/premult_alpha=false
|
|
||||||
process/HDR_as_SRGB=false
|
|
||||||
process/invert_color=false
|
|
||||||
stream=false
|
|
||||||
size_limit=0
|
|
||||||
detect_3d=false
|
|
||||||
svg/scale=1.0
|
|
@ -1,10 +1,13 @@
|
|||||||
[gd_scene load_steps=5 format=2]
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=1]
|
[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]
|
[ext_resource path="res://player/Mob.gd" type="Script" id=3]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=1]
|
[sub_resource type="EntityResourceHealth" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="EntityResourceSpeed" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=3]
|
||||||
radius = 20.0
|
radius = 20.0
|
||||||
|
|
||||||
[node name="Mob" type="Entity" groups=[
|
[node name="Mob" type="Entity" groups=[
|
||||||
@ -12,6 +15,7 @@ radius = 20.0
|
|||||||
]]
|
]]
|
||||||
body_path = NodePath("KinematicBody2D")
|
body_path = NodePath("KinematicBody2D")
|
||||||
character_skeleton_path = NodePath("KinematicBody2D/Character")
|
character_skeleton_path = NodePath("KinematicBody2D/Character")
|
||||||
|
sresources = [ SubResource( 1 ), SubResource( 2 ) ]
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="NamePlate" parent="." instance=ExtResource( 1 )]
|
[node name="NamePlate" parent="." instance=ExtResource( 1 )]
|
||||||
@ -19,6 +23,4 @@ script = ExtResource( 3 )
|
|||||||
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
|
[node name="KinematicBody2D" type="KinematicBody2D" parent="."]
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
[node name="Character" parent="KinematicBody2D" instance=ExtResource( 2 )]
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
[gd_scene load_steps=7 format=2]
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://player/NetworkedPlayer.gd" type="Script" id=1]
|
[ext_resource path="res://player/NetworkedPlayer.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://ui/nameplates/NamePlate.tscn" type="PackedScene" id=2]
|
||||||
[ext_resource path="res://characters/Character.tscn" type="PackedScene" id=3]
|
|
||||||
|
|
||||||
[sub_resource type="EntityResourceHealth" id=1]
|
[sub_resource type="EntityResourceHealth" id=1]
|
||||||
|
|
||||||
@ -23,5 +22,3 @@ script = ExtResource( 1 )
|
|||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"]
|
||||||
shape = SubResource( 3 )
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
[node name="Character" parent="KinematicBody2D" instance=ExtResource( 3 )]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user