Computer Science Canada

I Challenge ANYBODY...to help me

Author:  CrosbyIsLove [ Tue Jun 10, 2008 4:34 pm ]
Post subject:  I Challenge ANYBODY...to help me

My computer's summative for turing is due tomorrow. I suck at turing, I have no clue how to make things 'move'. We're doing an olympic scene and my sport is beach volleyball. Can anybody please help me make it so that my ball 'moves' as opposed to 'teleports'? I have all my positions drawn out, I just have no clue how to make the ball go while not leaving a trail.

Author:  MihaiG [ Tue Jun 10, 2008 4:41 pm ]
Post subject:  Re: I Challenge ANYBODY...to help me

i challenge YOU to learn turing in 6 hours,
were not here to do your projects for you, you have had ample time during class to work on this project, any questions should have been resolved with the teacher

Author:  Insectoid [ Tue Jun 10, 2008 4:46 pm ]
Post subject:  RE:I Challenge ANYBODY...to help me

Moving things is simple; change the X and or Y coordinate and draw the picture. wipe the screen, change the coordinates, and draw it again. repeat.

Author:  riveryu [ Tue Jun 10, 2008 10:34 pm ]
Post subject:  RE:I Challenge ANYBODY...to help me

Btw, adding to insectoid , dont forget to delay ()after you update if you use View.Set("offscreenonly") and View.Update the screen ....

Author:  vapour99 [ Wed Jun 11, 2008 8:24 am ]
Post subject:  RE:I Challenge ANYBODY...to help me

here is an example of the movement of a box that I used when learning the basics of movment:

code:

for a : 1 .. 500
    drawfillbox (10, 10 + a, 100, 100 + a, 2)
    delay (100)
    drawfillbox (10, 10 + a, 100, 100 + a, 0)
end for

Author:  jeffgreco13 [ Wed Jun 11, 2008 9:30 am ]
Post subject:  Re: I Challenge ANYBODY...to help me

calling it a challenge wont get you helped faster.. just makes us think u take us for idiots.

anyway, not bad at all!! I like that scene it looks cool. Now what are u trying to make move? the volleyballs?

That's gonna take a good amount of playing around still, but you could use the same concept as you have for the crowd but you'll really need to look up the View.Set and View.Update methods. Search here in the forums, then check the Turing documentation.

Author:  Insectoid [ Wed Jun 11, 2008 3:05 pm ]
Post subject:  RE:I Challenge ANYBODY...to help me

Big enough avatar there, vapour!

You could make the ball a sprite, that would make things easier later on, though sprites are complicated and a pain in the *** in turing.


: