@Bumbo-Cactoni
sorry for short response earlier. was bit busy lol
from scene import *
import sound
import random
import math
def Circle(pos, color, p):
n = ShapeNode(parent=p)
n.fill_color = 'yellow'
n.stroke_color = 'black'
n.line_width = 5.0
n.position = p.size/2
n.path = ui.Path.oval(0, 0, 100, 100)
return n
class MyScene (Scene):
def setup(self):
self.animated = Circle(self.size/2, 'yellow', self)
self.animated.run_action(
Action.repeat(
Action.sequence(
Action.move_by(-100, 0, 1),
Action.move_by(100, 0, 1),
Action.move_by(100, 0, 1),
Action.move_by(-100, 0, 1),
Action.move_by(0, -100, 1),
Action.move_by(0, 100, 1),
Action.move_by(0, 100, 1),
Action.move_by(0, -100, 1)), -1))