[SDL] iOS: need help de-hardcoding SDL 2.0.3 changes in Exult-iOS

martin.gerhardy at gmail.com martin.gerhardy at gmail.com
Wed Sep 28 04:32:08 PDT 2016

Can not look at the code from here, but: Do you have a retina display? Maybe you multiply the normalized touch coordinates with the wrong value then?

Martin Gerhardy

> Am 27.09.2016 um 20:41 schrieb Dominus <domiman at gmail.com>:
> DLudwig wrote:
> That's a fair bit of code to look through.
> What happens when you try dropping in a stock copy of SDL2? Does it build?
> I know it's a lot of code but I am at my (very limited already) wits end 
> When I drop current SDL2 mercurial, the game is rendered correctly but touch and screen coordinates are way off (if you quarter the iOS landscape, it seems that the touch input "assumes" the actual game screen is in the upper left quarter).
> Also the on screen controls that are handled by the SDLUIKITDelegate subclass are not rendered.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160928/8666df00/attachment.htm>

More information about the SDL mailing list