Menu
Login
Language
DE EN FR ES IT CZ
Back

createScreenshot ("Filename.webp")

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

    Great Poster

    386 Posts

  • #2, by darren-beckett Thursday, 22. October 2015, 16:58 11 years ago Quote
    Also, createScreenshot does not work on Android.

    Log: Failed to create screenshot.

    Great Poster

    386 Posts

  • #3, by afrlme Thursday, 22. October 2015, 18:52 11 years ago Quote
    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

    7290 Posts

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

    Great Poster

    386 Posts

  • #5, by afrlme Friday, 23. October 2015, 16:28 11 years ago Quote
    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

    7290 Posts

  • #6, by darren-beckett Friday, 23. October 2015, 16:36 11 years ago Quote
    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

    386 Posts

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

    Thread Captain

    2346 Posts

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

    Great Poster

    386 Posts

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

    Great Poster

    386 Posts

  • #10, by afrlme Friday, 23. October 2015, 18:41 11 years ago Quote
    Not according to the data structure. Sorry.

    Imperator

    7290 Posts

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

    Great Poster

    386 Posts