Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

createScreenshot ("Filename.webp")

  • #1, by darren-beckett 11 years ago Zitieren
    What file types are possible when creating screenshots?
    We need the ability to create WebP for Android.
  • #2, by darren-beckett 11 years ago Zitieren
    Also, createScreenshot does not work on Android.

    Log: Failed to create screenshot.
  • #3, by afrlme 11 years ago Zitieren
    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.
  • #4, by darren-beckett 11 years ago Zitieren
    The Creation of a SaveGame (On Android) also does not create a screenshot, is this part of the same issue?
  • #5, by afrlme 11 years ago Zitieren
    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.
  • #6, by darren-beckett 11 years ago Zitieren
    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.
  • #7, by sebastian 11 years ago Zitieren
    Thats right. You have to configure them in your game tab (and scene properties i think)
  • #8, by darren-beckett 11 years ago Zitieren
    So this image would then be used for all saved games?
  • #9, by darren-beckett 11 years ago Zitieren
    Can this setting be changed at runtime?
  • #10, by afrlme 11 years ago Zitieren
    Not according to the data structure. Sorry.
  • #11, by darren-beckett 11 years ago Zitieren
    That's what i thought, thanks.