I’m having a problem with an application that when a screenshot is taken with
[lua] display.captureScreen (true) [/lua]
anything that was moving on the screen freezes - I think I understand why this is the case but I don’t understand how to fix it.
Can anyone offer any suggestions?
My game screen is composed of png images using
[lua] display.newImage ( “image.png” ) [/lua]
[import]uid: 10763 topic_id: 4120 reply_id: 304120[/import]
tetu
December 2, 2010, 12:40am
2
when you use display.captureScreen(true), the screenshot that is created is positioned on top of everything that you see. if you don’t want this to happen, just remove it
local screenShot=display.captureScreen( true )
screenShot:removeSelf()
[import]uid: 6459 topic_id: 4120 reply_id: 12847[/import]
tetu! Thank you!! I knew that was the reason it was happening, but I just couldn’t compose the solution.
Thanks for your help!
[import]uid: 10763 topic_id: 4120 reply_id: 12857[/import]
Where does the screenshot get stored? [import]uid: 1560 topic_id: 4120 reply_id: 13021[/import]
It gets saved into the photo album of the device or on the desktop if it’s running in the simulator. [import]uid: 10763 topic_id: 4120 reply_id: 13029[/import]
Tetu thank you very much!! You save me!
[quote=“tetu,post:2,topic:285274”]
when you use
display.captureScreen(true)
, the screenshot that is created is positioned on top of everything that you see. if you don’t want this to happen, just remove it
local screenShot=display.captureScreen( true ) screenShot:removeSelf()
[import]uid: 6459 topic_id: 4120 reply_id: 12847[/import] [/quote]
Tetu thank you very much!! You save me!
[quote=“tetu,post:2,topic:285274”]
when you use
display.captureScreen(true)
, the screenshot that is created is positioned on top of everything that you see. if you don’t want this to happen, just remove it
local screenShot=display.captureScreen( true ) screenShot:removeSelf()
[import]uid: 6459 topic_id: 4120 reply_id: 12847[/import] [/quote]