camera preview + start templating
This commit is contained in:
parent
8486b56d12
commit
0969ef4ec4
12 changed files with 215 additions and 24 deletions
11
entities/timeManager/timeManager.gd
Normal file
11
entities/timeManager/timeManager.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends Node
|
||||
class_name TimeManager
|
||||
|
||||
var time := 0.0
|
||||
var started := true
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if !started: return
|
||||
|
||||
time += delta
|
||||
|
1
entities/timeManager/timeManager.gd.uid
Normal file
1
entities/timeManager/timeManager.gd.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://dgnhvkjpmcohs
|
6
entities/timeManager/timeManager.tscn
Normal file
6
entities/timeManager/timeManager.tscn
Normal file
|
@ -0,0 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://mkchrw0fla7r"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dgnhvkjpmcohs" path="res://entities/timeManager/timeManager.gd" id="1_5yljf"]
|
||||
|
||||
[node name="TimeManager" type="Node"]
|
||||
script = ExtResource("1_5yljf")
|
Loading…
Add table
Add a link
Reference in a new issue