
-----------------------------------
broud13
Mon Jun 02, 2008 5:42 pm

How would U make a tornado that moves or a car that moves
-----------------------------------
My question is how would i make a tonado out of 'arcs' that moves across the screen while still spining
or
Maybe a car thta moves across the screen.

-----------------------------------
Insectoid
Mon Jun 02, 2008 5:54 pm

RE:How would U make a tornado that moves or a car that moves
-----------------------------------
Er...change the X and Y values?

For spinning, you would have to change the angles of the arcs (i.e add 1 to every angle every time it loops)

-----------------------------------
broud13
Mon Jun 02, 2008 5:57 pm

Re: How would U make a tornado that moves or a car that moves
-----------------------------------
ah ok i get hte concept but i tried but it doensnt work and replaces my previous image :( pls help :)

-----------------------------------
broud13
Mon Jun 02, 2008 5:58 pm

Re: How would U make a tornado that moves or a car that moves
-----------------------------------
well if you can help me that 'd be great or maybemake a car that moves from x=500 to x = 200 or tornado thatd ot he same pls :D

-----------------------------------
apomb
Mon Jun 02, 2008 6:06 pm

RE:How would U make a tornado that moves or a car that moves
-----------------------------------
what do you have so far?

No one will do it for you, sorry.

Provide what you have and we can see what is wrong, and help you fix it.

-----------------------------------
Insectoid
Mon Jun 02, 2008 6:08 pm

RE:How would U make a tornado that moves or a car that moves
-----------------------------------
Here is a shell on which to base your tornado.



var angle1 : int := 0
var angle2 : int := 90
var height : int := 20
var width : int := 20
var x : int := 1
var y : int := 1
var movex : int := 1
var movey : int := 1
setscreen ("offscreenonly")
loop
    Draw.Arc (x, y, height, width, angle1, angle2, red)
    View.Update
    delay (10)
    cls

    x += movex
    y += movey
    angle1 += 1
    angle2 += 1
    if x >= maxx then
        movex := -1
    elsif x = maxy then
        movey := -1
    elsif y = maxx then 
        movex := -1 
    elsif x = maxy then 
        movey := -1 
    elsif y 