Issues with Scale to Fit (Full Screen)

betofantasioso

  • Posts: 76
Hi,

I recently upgraded to 3.1 and I was happy to see and use the new scale mode: Scale to Fit (Full Screen).

Maybe it's me, but it doesn't seem to work properly.

As far as I understand, it works exactly like letterbox but without showing black bars. Instead of the black bars a little more of the game should be showed (more background most of the time).

But when I tried it in my game, it didn't work that way. I attach some pics of my game both in letterbox with black bars and Scale to fit (Full Screen). Can anyone tell me if I'm understanding this new scale mode wrong or if it's actually an issue with this scale mode?

Thanks a lot :)


betofantasioso

  • Posts: 76
@Jon any hint on what's going on?

Thanks!

panda84

  • Posts: 28
I am experiencing this problem too. It is definitely not behaving the same as letterbox but with more of the scene showing as the description of it states.

betofantasioso

  • Posts: 76
Good to know it's no just me.

I hope the Stencyl team fix it or tell us how it exactly works so we can use it effectively.

rob1221

  • *
  • Posts: 9472
Is your resolution under Settings > Display set to the standard 480x320, or is it something else?

betofantasioso

  • Posts: 76
Is your resolution under Settings > Display set to the standard 480x320, or is it something else?

It is in deed set to 480x320. I tried in another game with the same results. Do you want me to upload screenshots from my settings, logs or a demo game?

Thanks for your help rob1221!

Abliblablobla

  • *
  • Posts: 524
Hi betofantasioso,
I think I found what was causing your issue, but you have to replace a file.

1) Go to path-to-your-stencyl-folder/plaf/haxe/lib/stencyl/1,00/ and look for Universal.hx
2) Replace Universal.hx with the Universal.hx I have attached at the end of this post
3) Test your game and let me know if it works as expected

Hope it helps!
.: BuruBuru :.

betofantasioso

  • Posts: 76
Hi betofantasioso,
I think I found what was causing your issue, but you have to replace a file.

1) Go to path-to-your-stencyl-folder/plaf/haxe/lib/stencyl/1,00/ and look for Universal.hx
2) Replace Universal.hx with the Universal.hx I have attached at the end of this post
3) Test your game and let me know if it works as expected

Hope it helps!

Thanks a lot Abliblablobla I'll try it right away an let you know :D

betofantasioso

  • Posts: 76
It works like a charm now!!!

Thanks a lot  you saved my day :D

Shall we inform Jon or anyone else make sure they include this magical file in the next private build or the next release?

Cheers!

Abliblablobla

  • *
  • Posts: 524
You are welcome! If nothing breaks, this fix should be part of the next private release.
.: BuruBuru :.

betofantasioso

  • Posts: 76
Awesome!

At this rate I think Stencyl will be not just the most popular but also the most effective game engine for 2D games :D

Can't wait for the 3.2 with maps!!!

I don't mean to abuse Abliblablobla, but by any chance do you know something on this bug related to the bitmap font editor failing to storage an display fonts with internacional characters?

Link to the bug report: http://community.stencyl.com/index.php/topic,33113.0.html

Sorry to ask, but I've been wrestling with this for over a week now with no success.