diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/characters/base_character/BaseCharacter.tscn | 27 | ||||
-rw-r--r-- | assets/characters/base_character/enemy_material.tres | 4 | ||||
-rw-r--r-- | assets/characters/base_character/friendly_material.tres | 4 |
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 ) |