Bug Issue: Scales in game: cannot choose which use


Pages: 1

RulezTeam

  • Level 3 Stencyler
August 08, 2018, 02:34:48 am
Hi,
when I choose which scale use in my game, after I compile it, this selection isn't respected.
In fact, in my apk there are present all scale resolution even if I have disable them (1x, 1.5x and 2x).
I've tested in Android with 9928 version
« Last Edit: August 08, 2018, 02:35:58 am by RulezTeam »


New attachment added by RulezTeam - August 08, 2018, 02:35:10 am


rob1221

  • Master Stencyler
  • *
August 08, 2018, 04:46:42 am
Could this be due to the "Allow Scale Switching" option which is on by default?  If you turn that off, do you still have this problem?
  • Status changed from New to Need Info


RulezTeam

  • Level 3 Stencyler
August 11, 2018, 05:48:05 am
Hi Rob,
that options was already off. So I don't know why when I export/publish my game and deselect some scale, they are in any case add to the apk


rob1221

  • Master Stencyler
  • *
August 11, 2018, 06:12:12 am
Oh I got it reversed.  It's off by default and turning it to on brings back the old scaling behavior.  Try that and see if it has any effect.


Justin

  • Master Stencyler
  • *
August 11, 2018, 09:50:08 am
Changing that option won't change which files are present. It'll only affect which ones are chosen at runtime to be displayed.


Justin

  • Master Stencyler
  • *
August 11, 2018, 09:57:05 am
Here's the relevant portion of the project.xml file for excluding certain scales from the game. As you can see, it's based on the individual platform scales, so this seems okay. Either it's not working as intended, or you need to clean your project and build it again to get rid of graphics that were added earlier.

Code: [Select]
<set name="excludeScales" value="[EXCLUDE_ANDROID_SCALES]" if="android" />
<assets path="Assets/graphics" rename="assets/graphics" include="*" exclude="${excludeScales}" />

If you've already used "clean project" and it didn't help, try again with the latest build. As of b9970, the generated android project is included in files to delete.
« Last Edit: August 11, 2018, 09:57:24 am by Justin »


RulezTeam

  • Level 3 Stencyler
August 12, 2018, 02:25:25 pm
Hi,
in 3.4 I didn't need to clean project to export some specific scale for the project. So, now I'll try to clean project to see if it works, but I think that this isn't the best method, because if I would export it to new scale I still should clean the project and it takes much time.


RulezTeam

  • Level 3 Stencyler
August 13, 2018, 06:23:22 am
wrong thread
« Last Edit: August 13, 2018, 06:23:56 am by RulezTeam »


Pages: 1

Details

  • Reported
    August 08, 2018, 02:34:48 am
  • Updated
    August 13, 2018, 06:23:22 am

  • View Status
    Public
  • Type
    Bug
  • Status
    Need Info
  • Priority
    Normal
  • Version
    Stencyl 3.5, 3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags


Attachments


* Scale.png (24.88 kB, 850x650 - viewed 39 times.)