Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.82k stars 821 forks source link

set displayState and setAspectRatio #1000

Closed denisgl7 closed 6 years ago

denisgl7 commented 6 years ago

If the display changes state, the context is lost (iOS, AIR 25) I think it's not a secret. In this regard, contacted the adobe?

if Starling.current.nativeStage.setAspectRatio( StageAspectRatio.ANY); change to Starling.current.nativeStage.setAspectRatio( StageAspectRatio.PORTRAIT);

The display in normal mode goes to full screen And, consequently, the loss of context

PrimaryFeather commented 6 years ago

Could you please open up an issue on Adobe Tracker and Adobe Runtime Support?

Don't worry, you can post the very same report in both issue trackers. Find a detailed explanation in this post I made in the Starling Forum.

In any case, creating the issue over there, with an easy-to-reproduce sample, would raise our chances of getting Adobe fixing this. Thanks a lot in advance!

PrimaryFeather commented 6 years ago

Since there's nothing I can do in Starling to work against this bug, I'll close this issue here.