add cursor texture and color
This commit is contained in:
@@ -82,10 +82,12 @@ func _handle_cursor(player_index: int, delta: float) -> void:
|
||||
)
|
||||
|
||||
cursor.bat.rotation = cursor_pos_screen.angle_to_point(bat_rotation_point_screen)
|
||||
cursor.arrow.rotation = cursor_pos_screen.angle_to_point(
|
||||
arrow_rotation_point_screen
|
||||
cursor.arrow.rotation = (
|
||||
cursor_pos_screen.angle_to_point(arrow_rotation_point_screen) + PI / 2
|
||||
)
|
||||
|
||||
cursor.base.modulate = player.cursor_color
|
||||
|
||||
|
||||
class PlayerCursor:
|
||||
var base: Control
|
||||
|
||||
Reference in New Issue
Block a user