summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2022-07-17 04:58:29 -0400
committerMalfurious <m@lfurio.us>2022-07-17 04:58:29 -0400
commit1f9526627d00c6b9c0b673544d3384f3b7f8665e (patch)
tree1ab2e7ff3e4525f33fcb7e3742b5fe6a9ed07e0d
parent6afed30af4d61c55093e379d294430dcbba9449f (diff)
downloadproject-s-1f9526627d00c6b9c0b673544d3384f3b7f8665e.tar.gz
project-s-1f9526627d00c6b9c0b673544d3384f3b7f8665e.zip
Add placeholder character object
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r--assets/characters/base_character/BaseCharacter.tscn27
-rw-r--r--assets/characters/base_character/enemy_material.tres4
-rw-r--r--assets/characters/base_character/friendly_material.tres4
3 files changed, 35 insertions, 0 deletions
diff --git a/assets/characters/base_character/BaseCharacter.tscn b/assets/characters/base_character/BaseCharacter.tscn
new file mode 100644
index 0000000..191e581
--- /dev/null
+++ b/assets/characters/base_character/BaseCharacter.tscn
@@ -0,0 +1,27 @@
+[gd_scene load_steps=5 format=2]
+
+[ext_resource path="res://assets/weapons/goo_gun/GooGun.tscn" type="PackedScene" id=1]
+[ext_resource path="res://assets/characters/base_character/friendly_material.tres" type="Material" id=2]
+
+[sub_resource type="CapsuleMesh" id=1]
+material = ExtResource( 2 )
+radius = 0.3
+mid_height = 0.9
+
+[sub_resource type="CapsuleShape" id=2]
+radius = 0.3
+height = 0.9
+
+[node name="BaseCharacter" type="KinematicBody"]
+
+[node name="Body" type="MeshInstance" parent="."]
+transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
+mesh = SubResource( 1 )
+material/0 = null
+
+[node name="GooGun" parent="." instance=ExtResource( 1 )]
+transform = Transform( -0.3, 0, -2.62268e-08, 0, 0.3, 0, 2.62268e-08, 0, -0.3, 0.425, 0.125, -0.1 )
+
+[node name="CollisionShape" type="CollisionShape" parent="."]
+transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
+shape = SubResource( 2 )
diff --git a/assets/characters/base_character/enemy_material.tres b/assets/characters/base_character/enemy_material.tres
new file mode 100644
index 0000000..2e2d6ed
--- /dev/null
+++ b/assets/characters/base_character/enemy_material.tres
@@ -0,0 +1,4 @@
+[gd_resource type="SpatialMaterial" format=2]
+
+[resource]
+albedo_color = Color( 0.960784, 0.294118, 0.294118, 1 )
diff --git a/assets/characters/base_character/friendly_material.tres b/assets/characters/base_character/friendly_material.tres
new file mode 100644
index 0000000..3f2d91f
--- /dev/null
+++ b/assets/characters/base_character/friendly_material.tres
@@ -0,0 +1,4 @@
+[gd_resource type="SpatialMaterial" format=2]
+
+[resource]
+albedo_color = Color( 0.203922, 0.713726, 0.952941, 1 )