added indicator to touch
This commit is contained in:
parent
6602594267
commit
1d7947803b
@ -92,6 +92,8 @@ def main(windowed_mode):
|
||||
speed_coeff = math.cos((mouse_angle - (0.5 * PI)) - diff_angle)
|
||||
final_speed = movement_speed * speed_coeff
|
||||
dial.move_dial(final_speed / -3000.0)
|
||||
pygame.draw.circle(window, (0, 255, 0), (10, 10), 15)
|
||||
pygame.display.flip()
|
||||
|
||||
|
||||
pygame.quit()
|
||||
|
Loading…
Reference in New Issue
Block a user