Gamepad support
This commit is contained in:
parent
87f841e8e1
commit
ed369cf718
24 changed files with 240 additions and 78 deletions
13
scenes/gui/cursor_canvas_layer.tscn
Normal file
13
scenes/gui/cursor_canvas_layer.tscn
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://djfsa0pxqeoq1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c20dwjohaljdk" path="res://assets/sprites/atlases/cursor/default_arrow.png" id="1_0pqw0"]
|
||||
[ext_resource type="Script" uid="uid://c6ucy48qwaxuc" path="res://scripts/Cursor.cs" id="2_yv0fr"]
|
||||
|
||||
[node name="CursorCanvasLayer" type="CanvasLayer"]
|
||||
process_mode = 3
|
||||
layer = 11
|
||||
follow_viewport_enabled = true
|
||||
|
||||
[node name="Cursor" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_0pqw0")
|
||||
script = ExtResource("2_yv0fr")
|
||||
Loading…
Add table
Add a link
Reference in a new issue