Nov-23-2021, 10:49 AM
(Nov-21-2021, 03:06 PM)BashBedlam Wrote: Here is a very basic script using pygame:
from pygame import display, QUIT, event, draw, time SCREEN = display.set_mode ((500, 500)) dot_x_position = 30 while True : for user_input_event in event.get () : if user_input_event.type == QUIT : exit () SCREEN.fill ((0, 0, 0)) draw.circle (SCREEN, (200, 0, 0), (249, 249), 220, 4) draw.circle (SCREEN, (0, 0, 200), (dot_x_position, 249), 20) if dot_x_position < 249 : dot_x_position += 1 time.Clock ().tick (100) display.update ()
Many thanks! I have tried it and it is what I want to start with. I will add to it to do what I have in mind.
Much appreciated.