HI my object is moving right to left how can i change this to from up to down ?
[code]
function movebadc1(self,event)
if self.x < -50 then
self.x =300
self.y = 300
self.speed = math.random (2,6)
self.initY = self.y
self.amp = math.random (20,100)
self.angle = math.random (1,360)
else
self.x = self.x - self.speed
self.angle = self.angle + .1
self.y = self.amp * math.sin(self.angle)+self.initY
end
end
[/code] [import]uid: 225288 topic_id: 35794 reply_id: 335794[/import]