Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate

Primary tabs

  • View
  • Collections
  • Comments(active tab)
  • Followers
  • Friends
  • Favorites
Yes, dev branch. Sorry for
Thursday, March 20, 2014 - 08: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]

I'm now further down the
Friday, March 14, 2014 - 23: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....

I'm new to both haxe and
Friday, March 14, 2014 - 22: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. :/