Merge branch 'main' of https://git.mrdanielsnider.com/snider/project-dung
This commit is contained in:
commit
e16d192ba0
15 files changed
+2211
-7
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user