Add initial resource and presenter classes for game entities and effects
This commit is contained in:
28
Objects/player.tscn
Normal file
28
Objects/player.tscn
Normal file
@@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c576jiewfs5gj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://hkiny1ftv4r7" path="res://Code/Presenters/CharacterBody3DPresenter.cs" id="2_3y5cq"]
|
||||
[ext_resource type="Script" uid="uid://crx03e8buoni3" path="res://Code/Presenters/CameraPresenterComponent.cs" id="3_2i4gt"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_y0qk3"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_3y5cq"]
|
||||
|
||||
[node name="Player" type="CharacterBody3D"]
|
||||
script = ExtResource("2_3y5cq")
|
||||
metadata/_custom_type_script = "uid://hkiny1ftv4r7"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0028362, 0)
|
||||
shape = SubResource("CapsuleShape3D_y0qk3")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0028362, 0)
|
||||
visible = false
|
||||
mesh = SubResource("CapsuleMesh_3y5cq")
|
||||
skeleton = NodePath("")
|
||||
|
||||
[node name="CameraPivot" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5901337, 0)
|
||||
script = ExtResource("3_2i4gt")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="CameraPivot"]
|
||||
Reference in New Issue
Block a user