Are you using 'nativeOverlay' in 'starling'?

.
Are you using ‘nativeOverlay’ in ‘starling’?
.
There is a ‘nativeOverlay’ container in ‘starling’ that can be used to display ‘openfl’ elements. Do you use this container?
.
Is the usage rate of the ‘nativeOverlay’ container high in ‘starling’?
.

nativeOverlay
: Sprite

[read-only] A Flash Sprite placed directly on top of the Starling content.
.

.
By the way, how do people create the “UI interface” in “Starling”?
.
Have you created each element one by one? What other visualization software support is available?
.

By the way, I seem unable to delete my own post (main post)?

In HTML5, the “system ui” character can be used to use the default UI font on the system. Does “openfl” also support using the default font on the current device system?

Does openfl have a corresponding method? In JavaScript, there is a
“window.devicePixelRatio”“

Can the openfl html5 target be set to full screen and landscape in the project configuration file. xml?

Both stage.contentsScaleFactor and stage.window.scale may be used.

No, web browsers don’t give you that level of control over mobile devices. You can provide a button that enables full screen, but you will not be able to restrict the page to landscape only.

Typically, people use feathersui-starling.

AS3 version: GitHub - feathersui/feathersui-starling: User interface components for Starling Framework, ActionScript 3, and Adobe AIR

Haxe version: GitHub - MatseFR/feathersui-starling: haxe version of the as3 lib

2 Likes

Hello, is there any way to convert my bitmap text texture PNG into a “distance field”?

It’s not a browser page rotation, but a full screen and landscape display on my phone. Even if the rotation button on my phone is turned off, I have played some H5 games and it can be displayed in full screen and landscape direction on my phone. Moreover, the screen rotation allowed on my phone is turned off

I just want to ask everyone how to create bitmap text with distance field? What software was used? Thank you

I’ve read it, but it didn’t say how to convert my image text into a distance field
Ruby ImageMagick
Do you use these two tools? Where can I download these two tools? Thank you?

.
Does’ starling ‘support using’ shaders’ to outline element contours?
.
Has anyone used it before?
.
Is the “OpenFL” version of “Starling” better and faster in performance and running speed than the “AS3” version of “Starling”?
.
Win10 stopped updating today,
Have you all upgraded to “Win11”?
.
How to publish 64 bit Windows exe?
.

.
Will frequent use of ‘nativeOverlay’ in ‘starling’ consume a lot of performance?
.
How many people use ‘nativeOverlay’ in ‘starling’?
.

Why are you needing to use PNG as your source for this, and not vector/font? I ask, because if you’re trying to input anything other than black text on white background, I doubt this is an option.

This will vary from target to target, and project to project. But I’d suggest OpenFL certainly has more performance potential. It can compile to native targets, whereas AS3 on desktop and Android runs in a virtual machine.

Keep in mind though, if your AS3 game is running at a solid 60fps, that is likely fast enough.

I’m only running it in a VM, but for the time being, I have no plans on updating to Windows 11.

You might try:

openfl build windows -64

The -64 flag there being the key to a 64bit build.

Perhaps it’s a quirk of translation @785597448, and your intention isn’t being clearly translated, but these “How many people use…” questions have rarely been answered with any meaningful data, because there is rarely any meaningful data to answer with.

I suggest the greater issue is, is the feature in question going to help you achieve your goal? Not whether lots of strangers use it, or not.