Roughly reorganized UI into canvas layers in the game scene for Jennie.
This commit is contained in:
parent
f8fdeff2d6
commit
7939e77dff
11 changed files with 187 additions and 31 deletions
|
|
@ -1,4 +1,13 @@
|
|||
extends Area3D
|
||||
extends CharacterBody3D
|
||||
|
||||
var speed: int = 100
|
||||
var clumsiness: int = 0
|
||||
var speed: int = 10
|
||||
var clumsiness: int = 0
|
||||
|
||||
|
||||
func start(xform):
|
||||
transform = xform
|
||||
velocity = (-xform.basis.z * speed).rotated(Vector3.UP, randf_range(-PI/4, PI/4))
|
||||
|
||||
func _physics_process(delta):
|
||||
velocity.z -= 10 * delta
|
||||
move_and_slide()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue