
-----------------------------------
baby_bubblz
Thu Feb 17, 2005 7:15 pm

1-D and 2-D bouncing letter
-----------------------------------
hi if somebody could just help me with this it'd be great..thanks
 
i'm trying to get a letter to bounce across the screen, just back and forth, this is what i have so far...

var x,y : int := 0

loop
 locate (x,y)
 put "e"
 delay(50)
 cls
 y:= y+1  25 or r + rchange < 1 then
        rchange := -rchange
    end if
    if c + cchange + len > 79 or c + cchange < 1 then
        cchange := -cchange
    end if
    r := r + rchange
    c := c + cchange
    delay (40)
    View.Update
    cls
end loop


This does a word or a sentece. I only read the last post so... Im looking for things to do because I dont have acces to my game files. So thats why im helping out :D

EDIT - I didn't add any rem statements, but if you need anything explained send me a pm =P I might not check back here is all.
