Starter Game 6

I just thought I’d share a starters game I made, it one about circles

Code:


-- circ examp

function setup()
   displayMode(STANDARD)
supportedOrientations(LANDSCAPE_LEFT)
print("Select how to move the circles")
print("You can even select if you want a blend!(still needs a little work)")
print("and you can type in how many circles you want!")
print("And another feature, you can change its color!")
print("And the last one is, you can change the size")
parameter.boolean("Blend", true)
parameter.boolean("MoveByTilt", false)
parameter.boolean("MoveByTouch", false)
parameter.color("CircleColor", 255)
parameter.integer("Circles", 0, 30)
parameter.number("Size", 0, 300)
end

function draw()
    background(40, 40, 50)

--Still working on it
--if Blend == true then
  --  blendMode(NORMAL)
--end
if MoveByTilt == true and MoveByTouch == false then
for i = 1,Circles do
fill(CircleColor)
ellipse(UserAcceleration.x * i, UserAcceleration.y, Size)
        end
elseif MoveByTilt == false and MoveByTouch == true then
for i = 1,Circles do
fill(CircleColor)
ellipse(CurrentTouch.x * i, CurrentTouch.y, Size)
        end
    end
end