Roughly reorganized UI into canvas layers in the game scene for Jennie.

This commit is contained in:
Henry 2026-05-09 11:47:45 +01:00
parent f8fdeff2d6
commit 7939e77dff
11 changed files with 187 additions and 31 deletions

View file

@ -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()