extends "res://main.gd" var ring_px := 4 var receptor_px := 24 var shadow_px := 5 var shadow_color := Color.black var receptor_color := Color.blue func _draw(): # Receptor ring var receptor_circle := arc_point_list(screen_center, receptor_ring_radius, 0.0, 360.0, 360) var receptor_centers := arc_point_list(screen_center, receptor_ring_radius, 22.5, 360.0-22.5, 7) # Shadows for i in range(len(receptor_circle)-1): draw_line(receptor_circle[i], receptor_circle[i+1], shadow_color, ring_px + shadow_px, true) for i in range(len(receptor_centers)): draw_circle(receptor_centers[i], (receptor_px + shadow_px)/2, shadow_color) # Foregrounds for i in range(len(receptor_circle)-1): draw_line(receptor_circle[i], receptor_circle[i+1], receptor_color, ring_px, true) for i in range(len(receptor_centers)): draw_circle(receptor_centers[i], receptor_px/2, receptor_color)