createScreenshot ("Filename.webp")

  • #1, by darren-beckettThursday, 22. October 2015, 16:08 9 years ago
    What file types are possible when creating screenshots?
    We need the ability to create WebP for Android.

    Great Poster

    384 Posts


  • #2, by darren-beckettThursday, 22. October 2015, 16:58 9 years ago
    Also, createScreenshot does not work on Android.

    Log: Failed to create screenshot.

    Great Poster

    384 Posts

  • #3, by afrlmeThursday, 22. October 2015, 18:52 9 years ago
    That's a known issue. See here.

    As for the supported extensions: currently png is the only supported image format extension for the createScreenshot() function.

    Imperator

    7278 Posts

  • #4, by darren-beckettFriday, 23. October 2015, 16:18 9 years ago
    The Creation of a SaveGame (On Android) also does not create a screenshot, is this part of the same issue?

    Great Poster

    384 Posts

  • #5, by afrlmeFriday, 23. October 2015, 16:28 9 years ago
    Yes. See the link I provided in my last message.

    The createScreenshot() function is based on the same code / function. I don't know why it doesn't work ( Simon? ). To be honest I don't really know much about Android related stuff in general.

    Imperator

    7278 Posts

  • #6, by darren-beckettFriday, 23. October 2015, 16:36 9 years ago
    That's why I mentioned it, because the page says: "Android & iOS: no screenshots -> use the savegame images".

    But there doesn't seem to be any SaveGame images created.

    Great Poster

    384 Posts

  • #7, by sebastianFriday, 23. October 2015, 17:24 9 years ago
    Thats right. You have to configure them in your game tab (and scene properties i think)

    Thread Captain

    2346 Posts

  • #8, by darren-beckettFriday, 23. October 2015, 17:34 9 years ago
    So this image would then be used for all saved games?

    Great Poster

    384 Posts

  • #9, by darren-beckettFriday, 23. October 2015, 17:36 9 years ago
    Can this setting be changed at runtime?

    Great Poster

    384 Posts

  • #10, by afrlmeFriday, 23. October 2015, 18:41 9 years ago
    Not according to the data structure. Sorry.

    Imperator

    7278 Posts

  • #11, by darren-beckettFriday, 23. October 2015, 18:44 9 years ago
    That's what i thought, thanks.

    Great Poster

    384 Posts