init
This commit is contained in:
commit
7bb83a1340
35 changed files with 735 additions and 0 deletions
8
stick/joystick.gd
Normal file
8
stick/joystick.gd
Normal file
|
@ -0,0 +1,8 @@
|
|||
extends Node2D
|
||||
|
||||
var posVector: Vector2
|
||||
@export var deadzone = 15
|
||||
|
||||
func _ready() -> void:
|
||||
if not DisplayServer.is_touchscreen_available():
|
||||
set_process(false)
|
Loading…
Add table
Add a link
Reference in a new issue