Add whitebox level and main scene

This commit is contained in:
snider committed 2022-08-14 16:23:13 -07:00
1 parent b437727461
commit f1cb0ba83c
12 files changed
+1140 -6

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
extends KinematicBody
const EPSILON = 0.0001
const SPEED = 3.0
const SPEED = 10.0
export var inventory = { "ore" : 0 }
var health: int = 4 setget set_health
+7
View File
@@ -0,0 +1,7 @@
extends Camera
export var target: NodePath
onready var target_node: Spatial = get_node(target)
func _process(delta):
global_transform = global_transform.looking_at(target_node.global_transform.origin, Vector3.UP)