Re: Problem gettting a smooth continous background scroll (SDL2)
"exerion" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Which tutorial? Lazy foo's Timers? I still have to read it. I'm using a basic delta-time for timing. In these few hours I was guessing why the same code is smooth in the example I found (see link provided in previous posts), but not when compiled in my computer. So I wanted to check if the compiler can affect in some way and so evident. I installed Eclipse + Mingw + SLD2 -I have to say wasting 90% of time dealing with errors, problems detecting the toolchain, etc-. Finally I got it working and compiled my continous scroll example (because it's simplier and i know it). Performance is pretty similar to VS2013, with minimal differences in speed (there are some but for me, 1-2ms per frame is not relevant now). Images still are tearing (again I say tearing because I think this is the effect). Link with my code and the example i was talking about: https://mega.nz/#!DgVjVaYJ!OBSd3q4G44ex5EOUCAazjjGGuFl__bw4asMo4TzqVQU There are some .exe and dlls. All exes for VS2013 are compiled by me, the DLLs are from SDL official package. Anyother exe was compiled by third parties but I haven't found any wrong with them. I'll continue with this odissey... If anyone has some article, book or any other reference about SMOOTH scrolls (key here is smooth of course :D ), I'd appreciate this. This has becomed something personal :D ------------------------ Signature under construction. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org