If i have sync on most of my game is fine apart from the 1st title screen where you input your name, everything else in loops runs fine.
sync on
backdrop off
blah blah Globals/Variables ETC
titlescreen()
do
printScreen()
loadImages()
processButton(3,2,1,5,2,50,120)
processButton(5,4,2,175,2,50,120)
healthbar1()
sync
loop
function titlescreen()
load music "breakfast.mid", 20
loop music 20
load Bitmap "backgroundname.bmp"
SET CURSOR 280, 155
input Name$
endfunction
function printScreen()
hide all sprites
cls
load bitmap "BG 2.bmp"
center text 450, 35, STR$(Level)
center text 375, 35, STR$(CurExp#) + "/" + STR$(NextExp#)
center text 400, 5, Name$ + "'s Cafe"
center text 725, 5, "Cash: $" + STR$(Cash)
text 375,55,get time$()
REM STR$(*) Converts a Integer into a String
endfunction
etc,etc
But i can't have the function for the titlescreen in a loop. I have the time running here fine apart from say every 7-8 seconds the screen flashes blue.
FPS Creator Updated 116,Vista 32Bit UpTo Date, nVidea 8500 1Gig Graphics Card, 4 Gig DDR2 Ram, Intel Duel Core 3GHZ CPU