Move body parts to outer folder

This commit is contained in:
karl 2020-02-01 12:14:28 +01:00
parent 1a0e09c1ba
commit c8acaf0988
12 changed files with 18 additions and 13 deletions

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://BodyConfig/BodyParts/Tesso.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyParts/Tesso.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyConfig/bodyBuildingScript.gd" type="Script" id=2]
[node name="Body Builder Menu" type="Spatial"]
script = ExtResource( 2 )
torsoPath = NodePath("Torso")

View File

@ -10,7 +10,7 @@ func _ready() -> void:
func action():
anim.play("ArmatureAction.001")
anim.play("ArmatureAction001")
func push(body):

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Ingame/BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
[ext_resource path="res://3D Input/untitled.glb" type="PackedScene" id=2]
[ext_resource path="res://Ingame/BodyParts/Arm.gd" type="Script" id=3]
[ext_resource path="res://BodyParts/Arm.gd" type="Script" id=3]
[sub_resource type="SphereShape" id=1]

View File

@ -1,6 +1,7 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Ingame/BodyBase/BodyBase.gd" type="Script" id=1]
[ext_resource path="res://BodyParts/BodyBase/BodyBase.gd" type="Script" id=1]
[sub_resource type="CapsuleMesh" id=1]

View File

@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Ingame/BodyParts/BodyPart.gd" type="Script" id=1]
[ext_resource path="res://BodyParts/BodyPart.gd" type="Script" id=1]
[node name="BodyPart" type="Spatial"]
script = ExtResource( 1 )

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Ingame/BodyParts/BodyPart.tscn" type="PackedScene" id=1]
[ext_resource path="res://Ingame/BodyParts/PushingBodyPart.gd" type="Script" id=2]
[ext_resource path="res://BodyParts/BodyPart.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyParts/PushingBodyPart.gd" type="Script" id=2]
[node name="PushingBodyPart" index="0" instance=ExtResource( 1 )]
script = ExtResource( 2 )

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Ingame/BodyParts/Arm.tscn" type="PackedScene" id=1]
[ext_resource path="res://Ingame/BodyBase/BodyBase.tscn" type="PackedScene" id=3]
[ext_resource path="res://BodyParts/Arm.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyParts/BodyBase/BodyBase.tscn" type="PackedScene" id=3]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 10, 10 )

View File

@ -12,17 +12,17 @@ _global_script_classes=[ {
"base": "Spatial",
"class": "BodyBase",
"language": "GDScript",
"path": "res://Ingame/BodyBase/BodyBase.gd"
"path": "res://BodyParts/BodyBase/BodyBase.gd"
}, {
"base": "Spatial",
"class": "BodyPart",
"language": "GDScript",
"path": "res://Ingame/BodyParts/BodyPart.gd"
"path": "res://BodyParts/BodyPart.gd"
}, {
"base": "BodyPart",
"class": "PushingBodyPart",
"language": "GDScript",
"path": "res://Ingame/BodyParts/PushingBodyPart.gd"
"path": "res://BodyParts/PushingBodyPart.gd"
} ]
_global_script_class_icons={
"BodyBase": "",