Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

SUPER URGENT!!!!!

sk8er91sk8er91 Member Posts: 4
I REALLY need some help!
How can i make my graphic animate across the screen?!?!?!!
Right now im thinking...

Data ........
Data ........
xlength = 30
ylength = 30
for y = 1 to xlength
for x = 1 to ylength
movex = movex + 5
cls
READ z
PSET (x + movex , y), z
next x
next y


BUT, it just sends one line here, another line there, and another line there! How do i fix this?

Comments

  • VB5begginnerVB5begginner Member Posts: 66
    the best way to make moving graphix is to use PUT statements...first draw the picture...dim an array...then use the GET statement to put the picture into an array..and then use a PUT statement to draw the picture and a PUT statement to erase...its very simple...if you cant figure it out, just post some code that will draw the picture and ill send you code back thatll make it work...


    : I REALLY need some help!
    : How can i make my graphic animate across the screen?!?!?!!
    : Right now im thinking...
    :
    : Data ........
    : Data ........
    : xlength = 30
    : ylength = 30
    : for y = 1 to xlength
    : for x = 1 to ylength
    : movex = movex + 5
    : cls
    : READ z
    : PSET (x + movex , y), z
    : next x
    : next y
    :
    :
    : BUT, it just sends one line here, another line there, and another line there! How do i fix this?
    :

Sign In or Register to comment.