Skip to content

Commit

Permalink
Haxelib release 4.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Sep 12, 2021
1 parent 8c5dcaa commit 5b5277e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
4.10.0 (September 12, 2021)
------------------------------
#### New features:

- Added `FlxDirectionFlags` and `FlxDirection` ([#2303](https://github.com/HaxeFlixel/flixel/pull/2303))
- `FlxBitmapText`: added support for unicode combining diacritical marks ([#2309](https://github.com/HaxeFlixel/flixel/pull/2309))
- `FlxTextFormat`: added `leading` ([#2334](https://github.com/HaxeFlixel/flixel/pull/2334))
- `FlxAction`: added `addAndroidKey()` ([#2393](https://github.com/HaxeFlixel/flixel/pull/2393))
- `FlxVector`: added `setPolarRadians()` and `setPolarDegrees()` ([#2401](https://github.com/HaxeFlixel/flixel/pull/2401))

#### Bugfixes:

- `FlxAssetPaths`: fixed paths for iOS ([#2345](https://github.com/HaxeFlixel/flixel/pull/2345))
- `VarTween`: fixed an error if `cancel()` is called during `onUpdate` ([#2352](https://github.com/HaxeFlixel/flixel/pull/2352))
- `FlxGradient`: fixed last pixels sometimes not being filled ([#2367](https://github.com/HaxeFlixel/flixel/pull/2367))
- `FlxTilemap`: fixed built-in autotile assets for HTML5 ([#2402](https://github.com/HaxeFlixel/flixel/pull/2402))
- `FlxDebugger`: fixed single-character vertical text in the stats window

#### Changes and improvements:

- `FlxSpriteUtil`: enabled `drawRoundRectComplex()` for non-Flash targets ([#2332](https://github.com/HaxeFlixel/flixel/pull/2332))
- `FlxTween`: allowed `cancelTweensOf()` to cancel "grandchild" tweens ([#2354](https://github.com/HaxeFlixel/flixel/pull/2354))

4.9.0 (April 11, 2021)
------------------------------
#### Dependencies:
Expand Down
2 changes: 1 addition & 1 deletion flixel/FlxG.hx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class FlxG
* The HaxeFlixel version, in semantic versioning syntax. Use `Std.string()`
* on it to get a `String` formatted like this: `"HaxeFlixel MAJOR.MINOR.PATCH-COMMIT_SHA"`.
*/
public static var VERSION(default, null):FlxVersion = new FlxVersion(4, 9, 0);
public static var VERSION(default, null):FlxVersion = new FlxVersion(4, 10, 0);

/**
* Internal tracker for game object.
Expand Down
2 changes: 1 addition & 1 deletion flixel/util/FlxDirection.hx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package flixel.util;

public function toString()
{
return switch ((cast this : FlxDirection))
return switch (cast this : FlxDirection)
{
case LEFT: "L";
case RIGHT: "R";
Expand Down
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"license": "MIT",
"tags": ["game", "openfl", "flash", "html5", "neko", "cpp", "android", "ios", "cross"],
"description": "HaxeFlixel is a 2D game engine based on OpenFL that delivers cross-platform games.",
"version": "4.9.0",
"releasenote": "Compatibility with Haxe 4.2.x, tween and default camera handling improvements.",
"version": "4.10.0",
"releasenote": "Added FlxDirectionFlags, diacritical marks for FlxBitmapText, Android key support for FlxAction and more.",
"contributors": ["haxeflixel", "Gama11"],
"dependencies": {}
}

0 comments on commit 5b5277e

Please sign in to comment.