Skip to content

Instantly share code, notes, and snippets.

@eka
Created October 11, 2014 22:55
Show Gist options
  • Save eka/48179eb9eb28820c2ee4 to your computer and use it in GitHub Desktop.
Save eka/48179eb9eb28820c2ee4 to your computer and use it in GitHub Desktop.
Flash error
private function createHealthCounters():Void {
_currentHealthCounterText = new FlxText(_coreHealthBar.x - 30 , 17, "" + _core.health);
_targetHealthCounterText = new FlxText(_coreHealthBar.x + _coreHealthBar.width + 13, 17, "" + _waveManager.target);
add(_currentHealthCounterText);
add(_targetHealthCounterText);
}
@eka
Copy link
Author

eka commented Oct 11, 2014

This is the error

Running command: BUILD
 - Running command: haxe export/flash/haxe/release.hxml
source/states/PlayState.hx:131: characters 76-93 : Cannot skip non-nullable argument FieldWidth
source/states/PlayState.hx:132: characters 97-121 : Cannot skip non-nullable argument FieldWidth
source/states/PlayState.hx:138: characters 44-72 : Cannot skip non-nullable argument FieldWidth
source/states/PlayState.hx:146: characters 39-57 : Cannot skip non-nullable argument FieldWidth
source/states/PlayState.hx:148: characters 64-81 : Cannot skip non-nullable argument FieldWidth
source/states/PlayState.hx:163: characters 53-81 : Cannot skip non-nullable argument FieldWidth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment