Sub lwm_Tick (Engine as LWEngine)
for i = 0 to bubbles.lenght -1
Engine.canvas.DrawBitmap(bubbles(i), null, rc(i)) 'rc = rect
rise(ii) = bubbley + bubblespeed(ii)
rc(i).Initialize(bubblex(i), bubble(i)-10, bubblex(i), rise(ii)-10) 'here's where i substract 10 to the top and bottom of the rect every iteration so make bubbles move up, but nothing happens.
Engine.Canvas.DrawBitmap(bubbles(i), null, rc(i))
ii = ii + 1
if ii > 29 then ii = 0
Engine.RefreshAll
next