adds start of camera

This commit is contained in:
Rosia E Evans 2024-08-16 22:14:21 +01:00
parent f06fcde55b
commit d58afe6434
2 changed files with 19 additions and 0 deletions

6
scenes/camera_scene.tscn Normal file
View file

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://co3ndgp2x5amw"]
[ext_resource type="Script" path="res://scripts/camera_scene.gd" id="1_c1cfk"]
[node name="CameraScene" type="Camera3D"]
script = ExtResource("1_c1cfk")

13
scripts/camera_scene.gd Normal file
View file

@ -0,0 +1,13 @@
extends Camera3D
@export var subject: Node
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass