Primary tabs

Comments by User

Thursday, March 20, 2014 - 11:38

Yes, dev branch. Sorry for disappearing (and really sorry for bailing on the PDL...life...happened...). Still hoping to do my game. And hoping to get the hang of haxe, but it seems like major changes are taking place, so maybe it's the wrong time.

Doing a haxelib upgrade now. New lime, lime tools, openfl, updates to flixel dev, ....

Switching to flixel-ui git seems to have made the graphicbutton stuff go away.

mordor[10102] $ !lime lime test flash

source/behaviors/Seek.hx:17: characters 11-26 : Cannot access private constructor
source/behaviors/Wander.hx:20: characters 12-27 : Cannot access private constructor
source/DungeonData.hx:55: characters 24-82 : Cannot access private constructor
source/DungeonData.hx:55: characters 24-82 : Too many arguments source/DungeonData.hx:55: characters 24-82 : Function 'new' requires no arguments
source/DungeonData.hx:59: characters 25-83 : Cannot access private constructor
source/DungeonData.hx:59: characters 25-83 : Too many arguments
source/DungeonData.hx:59: characters 25-83 : Function 'new' requires no arguments
source/SpawnData.hx:22: characters 15-29 : Cannot access private constructor

my libraries currently:

mordor[10104] $ haxelib list
flixel-addons: 1.0.3 git [dev:/usr/lib/haxe/std/flixel-addons/git]
flixel-demos: [1.0.2]
flixel-templates: [1.0.1]
flixel-tools: [1.0.2]
flixel-ui: 1.0.1 git [dev:/usr/lib/haxe/std/flixel-ui/git]
flixel: 3.2.2 git [dev:/usr/lib/haxe/std/flixel/git]
haxelib_client: [3.1.0-rc.4]
HaxePunk: 2.5.1 [2.5.2]
hxlibc: [1.1.4]
lime-tools: 1.2.7 1.3.0 [1.3.1]
lime: 0.9.3 0.9.5 [0.9.6]
nape: [2.0.16]
openfl-bitfive: [1.0.5]
openfl-html5-dom: 1.2.0 [1.2.1]
openfl-native: 1.2.2 1.2.4 [1.3.0]
openfl-ouya: [1.0.2]
openfl-samples: [1.2.1]
openfl: 1.2.2 1.2.3 [1.3.0]

Saturday, March 15, 2014 - 02:02

I'm now further down the rabbit hole of mismatching versions. Have got these installed at this point:

mordor[10278] $ haxelib list
flixel-addons: 1.0.3 git [dev:/usr/lib/haxe/std/flixel-addons/git]
flixel-demos: [1.0.2] git
flixel-templates: [1.0.1]
flixel-tools: [1.0.2]
flixel-ui: [1.0.1]
flixel: git [dev:/usr/lib/haxe/std/flixel/git]
haxelib_client: [3.1.0-rc.4]
hxlibc: [1.1.4]
lime-tools: [1.3.0]
lime: [0.9.5]
nape: [2.0.16]
openfl-html5-dom: [1.2.1]
openfl-native: [1.2.4]
openfl-samples: [1.2.1]
openfl: [1.2.3]

Can finally run the demos, at least....

Saturday, March 15, 2014 - 01:45

I'm new to both haxe and flixel...any chance you're up for helping me debug my setup? :/

"lime test flash" on the project gives me:

ArgumentError: Error #1063: Argument count mismatch on flixel.ui._FlxTypedButton::GraphicButton(). Expected 0, got 2.

at Type$/createInstance()
at flixel.system.frontEnds::BitmapFrontEnd/addWithSpaces()
at flixel.system.frontEnds::BitmapFrontEnd/add()
at flixel::FlxSprite/loadGraphic()
at flixel.ui::FlxTypedButton()
at flixel.addons.ui::FlxUITypedButton()
at flixel.addons.ui::FlxUIButton()
at MenuState/create()
at flixel::FlxGame/switchState()
at flixel::FlxGame/create()
at flash.display::DisplayObjectContainer/addChild()
at Main/init()
at flash.display::DisplayObjectContainer/addChild()
at Main$/main()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at Function/<anonymous>()
at ApplicationMain$/begin()
at ApplicationMain$/preloader_onComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at NMEPreloader/onLoaded()
at flixel.system::FlxPreloader/onEnterFrame()

lime 1.3.0
flixel 3.2.2
haxe 3.1.0

Hmm. Maybe you're using an older version? Noticed haxe has a "convert" option, which ... gives me new errors when I try to test. 

Which...wow...yeah, okay, lots of keyboard changes. http://haxeflixel.com/documentation/upgrade-guide/

And...I seem to have worked my way back to the original error after a lot of fixes. No idea what/where GraphicButton is, or what its API might look like. :/