- Joined
- Jan 2, 2020
- Messages
- 1,351
With the latest version (V2020-11-05) you need to add a few lines if your game uses more than one canvas.
Below are 3 lines that will help fix your game. Be aware that It might be the case that you only need to add one or two of them.
So if your game has oversized sprites or de-arranged graphics.
Try do this for every canvas in either OnCreate or OnRender
Below are 3 lines that will help fix your game. Be aware that It might be the case that you only need to add one or two of them.
So if your game has oversized sprites or de-arranged graphics.
Try do this for every canvas in either OnCreate or OnRender
Cerberus:
Local w:Int = DeviceWidth()
Local h:Int = DeviceHeight()
allcanvases.SetViewport 0,0,w,h
allcanvases.SetScissor 0,0,w,h
allcanvases.SetProjection2d 0,w,0,h