Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / [CODE] Screenshots OBJ C / C++ Mixed

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 12th May 2014 02:29 Edited at: 12th May 2014 02:31
In my Opzioni vector (in italian Options) you can see how i manage the switch to enable the screenshot.
But you don't need it.
Just copy the C++ function as a mixed OBJ C C++.
You need to import some framework of course.





This is how to make a screenshot using C++ mixed with Obj C.
If you want also a way to port NSImage to AppGameKit image don't hesitate to ask.

Long life to Steve!
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 18th Jun 2014 18:32
great code

thanks
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 6th Jul 2014 16:23
Thanks dude!

Long life to Steve!

Login to post a reply

Server time is: 2024-03-29 14:29:43
Your offset time is: 2024-03-29 14:29:43