I've seen a lot of posts on this, but none of the issues seem to fix my problems... so I'll apologize ahead of time if I'm doing something particularly stupid.
So when I full screen my game, my Stage3D stage doesn't seem to scale up with the rest of my game. Any objects I have on the Flash 2D stage scale properly, but the Starling objects stay in the top corner at original scale.
This kind of makes sense to me because I'm setting:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
per instructions I found for using Starling. However, it doesn't seem to matter what I set it to, everything is the same size.
I am changing the viewport size, and that seems to be working because I can see objects that are outside the bounds of the initial screen resolution, but everything in the Stage3D screen is still the same size.
I've tried a lot of different things on the Full Screen event, and I've also tried running resizing code on the Starling ResizeEvent, as well as Event.RESIZE. Here is what I currently have running on the Full Screen event:
var viewPortRectangle:Rectangle = new Rectangle();
viewPortRectangle.width = stage.stageWidth;
viewPortRectangle.height = stage.stageHeight;
Starling.current.viewPort = viewPortRectangle;
_starling.stage.stageWidth = stage.stageWidth;
_starling.stage.stageHeight = stage.stageHeight;
Starling.current.stage.stageWidth = stage.stageWidth;
Starling.current.stage.stageHeight = stage.stageHeight;
I've been stuck on this for days now.
Any help would be greatly appreciated. 🙂