Hi all,
Im trying to figure out how to cycle through pictures/textures for my game. I want it to automatically change every 2-3 seconds. This is what i came up with:
Rem Project: Menu Tests
Rem Created: 6/9/2005 5:26:36 PM
Rem ***** Main Source File *****
load image "aztec01.bmp",1
load image "bunker.bmp",2
picture=1
do
picture=1
if picture=1 and pasted=0
paste image 1,0,0
pasted=1
pasted2=0
endif
wait 2000
picture=2
if picture=2 and pasted2=0
cls
paste image 2,0,0
pasted2=1
pasted=0
endif
loop
Problems:
-It wont paste the 2nd image on top of the first.
-Will using "wait" freeze the entire thing? cause i just want it to freeze the image not the game
. I tried making a function on a delay time thing, but i couldnt, i dont get the timer thing and how to check if its been a certain time period yet.
-I want the image stretched over the entire screen.
So any ideas on how i could fix these? Thanks
Video games…they take you places unreachable, unfeasible. Putting you in the book...putting you in the movie...putting you in a world, that before could only be imagined. expage.com/piratesmainpage.