i need to draw grid, which can be turned off/on by player
if i use circles for drawing points, it is causing performance problem when i execute on device
so i thought of capture screen with drawn grid and remove the grid keeping the captured image
below is intended result, which is saved to disc with captureScreen(true).
this image is 480X320, where as in my config i specified as below
application =
{
content =
{
width = 640,
height = 960,
scale = "letterbox",
antialias = true,
}
}
and buildsettings is as below
settings =
{
orientation =
{
default = "landscapeRight",
supported =
{
"landscapeRight"
}
},
but when i load the image returned by captureScreen function
and display it
below is the result
here are my questions
- why capture screen is not capturing with width and height specified in config
- why saved image is different from the one which is returned by captureScreen() function
are these bugs in Corona?
or features (as we software engg generally say about bugs)
can anybody provide workaround for this [import]uid: 97420 topic_id: 17806 reply_id: 317806[/import]