a guest Feb 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // This will flip the Y value of the touch
- graphicsY = screenHeight - touchY;
- // Here we add the ratio
- graphicsY = (screenHeight - touchY) * (graphicsHeight / screenHeight);
RAW Paste Data