Grid wip
This commit is contained in:
parent
f816a8b886
commit
090de86455
14 changed files with 294 additions and 12 deletions
11
debug/debug_highlight_tester.gd
Normal file
11
debug/debug_highlight_tester.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Node2D
|
||||
|
||||
@export var grid: Grid
|
||||
|
||||
|
||||
func _on_timer_timeout() -> void:
|
||||
GameplaySignalBus.highlight_empty.emit(grid.raycast_empty(global_position,transform.x))
|
||||
rotation_degrees += 5
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
global_position = get_global_mouse_position()
|
||||
Loading…
Add table
Add a link
Reference in a new issue