openfl / starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Other
236 stars 68 forks source link

`Mesh.createDefaultStyle` is missing #118

Closed chrisvelevitch closed 1 year ago

chrisvelevitch commented 5 years ago

I recently updated to 2.4.2 and now my project fails to compile with:-

Error:(2004, 37) Class<starling.display.Mesh> has no field createDefaultStyle (Suggestions: set_defaultStyle, get_defaultStyle)

When I switched back to 2.4.1, it compiles.

The thing that's confusing is when I look at the source for Mesh.hx for both tags 2.4.1 and 2.4.2, createDefaultStyle is defined as a private function whereas the official starling docs define it as a public static function. Where is haxelib getting the starling library from and what is it based?

joshtynjala commented 1 year ago

Closed by #164