Time Based Events

Care to post a larger fragment of code? It is hard to get a picture of what you are attempting to do.

Maybe this?
http://code.bluedinosaurs.com/tutorials/delay.cpp

Jonny DOn Wed, Dec 2, 2009 at 1:10 AM, TheBuzzSaw wrote:

Care to post a larger fragment of code? It is hard to get a picture of what
you are attempting to do.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Oh, also, if ‘imageDest.x’ is an integer, you’re losing info when
converting from a floating point. Use a float or double instead for
the position, then cast it to an int only when you need to draw it.

Jonny DOn Wed, Dec 2, 2009 at 1:24 PM, Jonathan Dearborn <@Jonathan_Dearborn> wrote:

Maybe this?
http://code.bluedinosaurs.com/tutorials/delay.cpp

Jonny D

On Wed, Dec 2, 2009 at 1:10 AM, TheBuzzSaw wrote:

Care to post a larger fragment of code? It is hard to get a picture of what
you are attempting to do.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org