Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving Bitmaps
#1
Aight i am making a game and i got the game all made up but i want to add a little animated thing at the begining of the game.
i want the bitmap to move from one side of the screen to the other but it moves so fast you can see anything is there anyway to make it move smooth and fast?

this is what i have so far
Code:
GET (1, 1)-(200, 100), crash
CLS

FOR i = 1 TO 200 STEP 10
LINE (0, 0)-(320, 200), 0, BF
PUT (i, 50), crash
NEXT
DO: LOOP WHILE INKEY$ = ""
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#2
Several ways:

http://faq.qbasicnews.com/?blast=VerticalRetraceGeneral

or, if you prefer,

http://faq.qbasicnews.com/?blast=DelaySecs
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)