diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-19 13:51:30 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-19 13:51:30 -0400 |
| commit | 7c804908bc085c8b21b598c784b33636909f0e87 (patch) | |
| tree | 48fd7c37cc90b73c476603c8b1e180132b297db4 /client/Archipelago/compass_overlay.gd | |
| parent | 9933a357400538b2f73848dceab7d859ee20c8d9 (diff) | |
| download | lingo2-archipelago-7c804908bc085c8b21b598c784b33636909f0e87.tar.gz lingo2-archipelago-7c804908bc085c8b21b598c784b33636909f0e87.tar.bz2 lingo2-archipelago-7c804908bc085c8b21b598c784b33636909f0e87.zip | |
[Client] Added compass
Diffstat (limited to 'client/Archipelago/compass_overlay.gd')
| -rw-r--r-- | client/Archipelago/compass_overlay.gd | 17 |
1 files changed, 17 insertions, 0 deletions
| diff --git a/client/Archipelago/compass_overlay.gd b/client/Archipelago/compass_overlay.gd new file mode 100644 index 0000000..56e81ff --- /dev/null +++ b/client/Archipelago/compass_overlay.gd | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | extends CanvasLayer | ||
| 2 | |||
| 3 | var SCRIPT_compass | ||
| 4 | |||
| 5 | var compass | ||
| 6 | |||
| 7 | |||
| 8 | func _ready(): | ||
| 9 | compass = SCRIPT_compass.new() | ||
| 10 | compass.position = Vector2(1840, 80) | ||
| 11 | add_child(compass) | ||
| 12 | |||
| 13 | visible = false | ||
| 14 | |||
| 15 | |||
| 16 | func update_rotation(ry): | ||
| 17 | compass.rotation = ry | ||
