Hi,
I have a problem in my game Mr. Twinkle.
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=teddyfles08192002180656&comments=no
Well, actually, I already solved the problem, but I don't understand why my solution works. Here's the deal:
The command "Flip" (or "Flip True") automaticly does a "Vwait" and waits for the next vertical blank event of the monitor. So, I assumed that I would get exactly the same effect using:
So, my game runs smoothly now (also with 100% machine independent game speed :)), so I'm happy, but also very curious to why "Flip" doesn't seem to be doing the same thing as "Vwait".
I have a problem in my game Mr. Twinkle.
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=teddyfles08192002180656&comments=no
Well, actually, I already solved the problem, but I don't understand why my solution works. Here's the deal:
The command "Flip" (or "Flip True") automaticly does a "Vwait" and waits for the next vertical blank event of the monitor. So, I assumed that I would get exactly the same effect using:
Vwait Flip FalseHowever, when I used "Flip" my game was just not 100% smooth somehow. So I fooled around a little and found out that by using "Vwait" and "Flip False" my game runs perfectly smooth. This seems odd to me, since I thought the two methods would do exactly the same thing.
So, my game runs smoothly now (also with 100% machine independent game speed :)), so I'm happy, but also very curious to why "Flip" doesn't seem to be doing the same thing as "Vwait".