first
This commit is contained in:
commit
b97b3a9ae4
79 changed files with 1729 additions and 0 deletions
11
pas_touche/scripts/lana.gd
Normal file
11
pas_touche/scripts/lana.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends CharacterBody2D
|
||||
class_name Lana
|
||||
|
||||
@export var speed := 100.0
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
var horizontal : float = Input.get_axis("left", "right")
|
||||
var vertical : float = Input.get_axis("top", "bottom")
|
||||
|
||||
velocity = Vector2(horizontal, vertical).normalized() * speed
|
||||
move_and_slide()
|
1
pas_touche/scripts/lana.gd.uid
Normal file
1
pas_touche/scripts/lana.gd.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://b45k3pjypqcv2
|
Loading…
Add table
Add a link
Reference in a new issue