@zanzmera_lalu wrote:
Hello,
I am working on windows phone game development on cocos2dx 3.4 with windows 8.1 universal project for development, When I am testing my game on phone it run with very low resolution and I found out the reason behind that, which is SwapChainPanel which lowers resolution for better performance but I want to run in actual phone screen resolution so I came up with solution by setting render surface size using below codemCustomRenderSurfaceSize = Windows::Foundation::Size(800,480); mUseCustomRenderSurfaceSize = true; mOpenGLES->CreateSurface(swapChainPanel, mUseCustomRenderSurfaceSize ? &mCustomRenderSurfaceSize : nullptr);
After this solution, game resolution problem is solved but now another problem has occurred, regarding touch points, which is still in old resolution so right and bottom controls are not accessible.
Please give some advice or let me know if I am missing something on this issue.
Posts: 1
Participants: 1