iOS Screen Capture extension v1.2 for Fusion 2.5

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Finally got round to fixing the iOS part of the Screen Capture object to work with iOS extension for Fusion.
    This should fix the Xcode compile errors.
    Unfortunately it still needs a tweak to CRunView.m in Xcode to work properly for iOS 6 and above
    (thanks to DTownTony for this fix):
    "In xCode open CRunView.m and change the "NO" in -

    eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
    [NSNumber numberWithBool:NO],
    kEAGLDrawablePropertyRetainedBacking,
    kEAGLColorFormatRGBA8,
    kEAGLDrawablePropertyColorFormat, nil];

    into a "YES" and it'll work."
    (If you manage to figure out a way to fix this in the Capture extension, please let me know!)

    Anyway, hope it helps!

  • sorry for double post - can anyone confirm if this is still working? I am testing on my pc right now and find that if i do a capture at start of frame it saves the image but if i use trigger with action it doesn't seem to capture anything.

    I need to know if i'm wasting my time. I'd like to use it to take a screen grab of the ios screen during game play for use as image to post to facebook with the IOS "Share" object which can get an image from the camera roll

    Thanks

    Kevin Gunn (Tuna) - Hey! Check out MechaBall on iTunes by scanning below!
    [SIGPIC][/SIGPIC]

  • Hello Kevin,

    Finally you managed to make this work? I want to do the same with my next game, help me with the steps and the object to be used to capture the screen. Of course a part of iOS Richie Share it works very well.

    Thank you very much for your answer,

    José Rafael Marcano
    Please login to see this link.

  • Sorry for the late replies, I wasn't getting emails for subscribed threads (hopefully fixed!)

    Tuna - I've just tried my example file with Fusion v185.1 and Xcode 7.2.1 and it seems to work fine on iOS device (just remember to change the code in CRunView.m as mentioned). If running on PC and saving to Camera Roll/Photo Album, you're correct it won't save an image (since it doesn't have a filename), but it will on iOS. I haven't made any changes to the PC side of the extension, just added iOS functionality. My iOS app Paper Face released in 2013 used the MMF version of this extension to save images: Please login to see this link.

    Koji_Kabuto - Happy to help if you can tell me what you need.

    It would be much better if the Screen Capture Object could be updated to included iOS and Android functionality from the start, avoiding the need to do this specifically for each device (eg Android Plus object for Android). I did send Francois the source code a while back so that it could be included, but nothing happened (maybe my code is not good enough? ;) )

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Sorry for the late replies, I wasn't getting emails for subscribed threads (hopefully fixed!)

    Tuna - I've just tried my example file with Fusion v185.1 and Xcode 7.2.1 and it seems to work fine on iOS device (just remember to change the code in CRunView.m as mentioned). If running on PC and saving to Camera Roll/Photo Album, you're correct it won't save an image (since it doesn't have a filename), but it will on iOS. I haven't made any changes to the PC side of the extension, just added iOS functionality. My iOS app Paper Face released in 2013 used the MMF version of this extension to save images: Please login to see this link.

    Koji_Kabuto - Happy to help if you can tell me what you need.

    It would be much better if the Screen Capture Object could be updated to included iOS and Android functionality from the start, avoiding the need to do this specifically for each device (eg Android Plus object for Android). I did send Francois the source code a while back so that it could be included, but nothing happened (maybe my code is not good enough? ;) )

    Thank you very much for your answer and sorry for my delay, basically I want to do the same thing Kevin, make screenshot of my game and posting them to social networks with the iOS Share extension.

    José Rafael Marcano
    Please login to see this link.

  • Hmm, still not getting notified on new posts to this thread, but am for other threads, eg Please login to see this link.
    Not sure why, maybe forum settings are different for different sections?

    Jeff - I'll dig out the source code, pop it in DropBox and PM Fernando the link this weekend

    Koji_Kabuto - Have you tried the extension? I'll try to help if I can!

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Hello, already implement the extension in my game and modify the file in Xcode, I do "Screen Capture" and the game freezes a second taking the catch, but not is where the guard, in my camera roll from iPhone do not see. He recorded it somewhere different?

    Thank you very much for your help,

    José Rafael Marcano
    Please login to see this link.

  • Koji_Kabuto - It could be in the Documents folder (if you put anything in the Screen Capture filename properties).
    Have you tried the example file that came with the extension? It has 2 examples:
    Capture to Photo Album
    Capture to Documents

    Hope that helps (still not getting notifications for this thread for some reason, so checking it manually!)

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • after review The change you are requesting will seriously affect the runtime performance since it will be generating "backing" of the screen plus it will increase the use of memory.

    the correct way to do this should be using the internal renderer and get the pixels.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Fernando - Thanks for taking a look at it! Sorry my coding's not up to scratch ;) I'll see if I can improve it when I have some time...

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Hello AyreGuitar,

    Use the extension works perfectly capturing the gameplay of my game on iOS and taking it to the Camera Roll on the device, the problem I have is that I use the extension iOS Share (Richie) to share on social networks and this needs to be the image in the 'resources' of the Xcode project, and that not is how to do it, lol.

    I talked to Richie and the usa another very complex proprietary system for your creations, but I think that you don't have it for sale, so I was like, lol

    Great work with the iOS port!

    José Rafael Marcano
    Please login to see this link.

  • Koji_Kabuto - Glad you got it working. Sorry, but I'm not familiar with the iOS Share object.
    It's not good practice for the app to write to the Resources folder (ie the app bundle) at run time, so I won't change the Screen Capture object to do that, but maybe you could persuade the iOS Share author (Stingray?) to make it so that if the file isn't found in the Resources folder it tries the Documents folder as this would make it more useful in combination with the Screen Capture object on iOS, allowing users to post high score screenshots, pictures made with the app, etc.?

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Sorry for the colossal bump. I've been trying to use this extension but whenever I capture the screen the image is simply black. It's the right size (using area capture) but just a black image.

    Any ideas?

    Please login to see this picture.
    Please login to see this link. and Please login to see this link.

  • Kritter - Sounds like you haven't tweaked the Xcode files as stated at the start of this post and in the documentation:

    Unfortunately it still needs a tweak to CRunView.m in Xcode to work properly for iOS 6 and above
    (thanks to DTownTony for this fix):
    "In xCode open CRunView.m and change the "NO" in -

    eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
    [NSNumber numberWithBool:NO],
    kEAGLDrawablePropertyRetainedBacking,
    kEAGLColorFormatRGBA8,
    kEAGLDrawablePropertyColorFormat, nil];

    into a "YES" and it'll work."

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Kritter - Hmmm. Which version of iOS are you using? Maybe something has changed in newer versions...

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!