What is the current status of 'starling'?

It’s been over a month now, hasn’t the “openfl” version of “Starling” been updated and released yet?

@joshtynjala and @Matse have been diligently giving their time to update Starling for OpenFL to 2.8.

You can always install the git version of Starling and give the latest commits a test drive:

haxelib git starling https://github.com/openfl/starling.git
1 Like

Thanks Bink !

I tested all I could but 2.8 needs more testing before the haxelib version can be updated

Note that the ability to load a File (including one that refers to a folder) with AssetManager has been restored

@Matse

Note that the ability to load a File (including one that refers to a folder) with AssetManager has been restored

Hello, may I ask what this sentence means? Especially what does the folder path at the back mean?

@Matse

Hello, I need to display the built-in “real-time fps” of “Starling” on a custom text box, but “Starling” does not provide a method to obtain the built-in “fps”. Can you add this API“

it means on desktop target you can do

var file:File = File.applicationDirectory.resolvePath(“some/path/to/assets”);
assetManager.enqueue([file]);

and starling’s asset manager will load everything in that directory

@Matse

Great, I often do this when using “as3”, but I found that “openfl starling” does not support this operation. You can only write all addresses into the array. Now that you have fixed this problem, it’s really good

Is it not supported on mobile devices?

I haven’t tested on mobile but it should work too

I said “desktop target” but it’s more “targets with access to file system” : it’s not available on html5 or flash target

You can look at how the StatsDisplay class does it starling/src/starling/core/StatsDisplay.hx at master · openfl/starling · GitHub

It’s pretty simple : it cumulates time and counts frames, then once the time has cumulated up to a point (here 0.5 second) it simply divides the frame count with the update interval and substracts that interval from cumulated time

I heard that the author is developing version “Starling 3.0”? Is it true?

I have no idea where you heard that ? I doubt Daniel is working on that

The only starling 3.0 I know is a branch on openfl/starling github

With the experience I now have from working on Massive, I do have ideas about making the haxe version of starling faster… I will probably experiment with that at some point but no idea when

1 Like

@Bink

What do you think of the rendering performance of ‘Starling’?
Compared to modern game engines, does “Starling” have a chance to win when rendering a large number of animations?

Hello everyone, may I ask when “OpenFL Starling 2.8” will be released? Thank you

Also, I heard that the author is developing “Starling 3.0”. Is this true? Thank you

There is an important issue with Starling-as3 2.8 where MultiTextureStyle will throw an error when set to handle more than 2 textures.

I reworked MultiTextureStyle to fix this issue, added support for up to 16 textures, optimized it and sent a Pull Request more than a week ago ( MultiTextureStyle rework : fixed error when maxTextures > 2, up to 16… by MatseFR · Pull Request #1144 · Gamua/Starling-Framework · GitHub ) : I’m waiting for this PR to be merged into starling-as3.

From there I can send the PR to starling-haxe and the release should follow

If you need 2.8 right now you can get it from my fork for now : GitHub - MatseFR/starling at v2.8 · GitHub

Also, I heard that the author is developing “Starling 3.0”. Is this true? Thank you

You already had an answer to that :wink:

The only Starling 3.0 that I know of is a branch on openfl-starling and it seems abandonned

I highly, highly doubt that Daniel (starling’s author) is working on starling

Personally I’m willing to work on a Starling 3.0 or something, but don’t hold your breath for now :slight_smile:

1 Like

The Starling repo has been updated for 2.8 GitHub - openfl/starling: Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe · GitHub

You can see the new MultiTextureStyle in action on the Massive demo MassiveDemo (it only applies to regular starling content, not Massive, so UI and classic clips)

1 Like