
-----------------------------------
ecookman
Thu Nov 06, 2008 11:49 am

need help making an animation
-----------------------------------
yes... on to my problem


i am trying to make a small animation

it has a TTYl tank move onto the screen, stops shoots a OMG bomb >}OMG)


and then i try to make the screen fade black from the center using a growing box.
I can't seem to get the logic right help me plz... 

AND YES I JUST FOUND  THE C O L O R S!!!


ANYWAY

here is the code




for a : 1 .. 20
    locate (1, +a)

    put "      ______"
    locate (2, +a)

    put "     / TTYL \\#########  "
    locate (3, +a)
    put " ___/________\\___"
    locate (4, +a)
    put "/  ____________  \\"
    locate (5, +a)
    put "


and yes the C O L O R S!!! is the high-light of my day... just tells ya how much fun i am having 

lol so help would be nice
 
woooooooooo!!!!!! (no enthusasim)

-----------------------------------
pavol
Thu Nov 06, 2008 12:52 pm

Re: need help making an animation
-----------------------------------
well, in your for loop where you try to make your box grow, you put your variable declarations inside meaning that every time your for loop runs it will redeclare x,y,x2,y2 and define them to 1. try putting it outside the loop. 
hope this helps

-----------------------------------
metachief
Thu Nov 06, 2008 4:04 pm

RE:need help making an animation
-----------------------------------
It would be something like this, I'm guessing?


for a : 1 .. 20
    locate (1, +a)

    put "      ______"
    locate (2, +a)

    put "     / TTYL \\#########  "
    locate (3, +a)
    put " ___/________\\___"
    locate (4, +a)
    put "/  ____________  \\"
    locate (5, +a)
    put "

-----------------------------------
ecookman
Fri Nov 07, 2008 8:36 am

RE:need help making an animation
-----------------------------------
mmmm yes that works thank you very much and ya that was a dumb mistake


thanks
