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
Procedural Death Jam

Lars's MIT-licensed PDL template

larsiusprime
Saturday, March 8, 2014 - 12:54

Hey guys,

As one of the organizers I'm obviously not eligible for any awards, but I thought I'd make something anyway. Here's a quick little PDL template I threw together in HaxeFlixel -- if you've ever thought about using Haxe or HaxeFlixel, this might be a great place to jump in. I've included links to basic "getting started" stuff with HaxeFlixel.

https://github.com/larsiusprime/gamejams

It's a very bare-bones Binding-of-Isaac clone, but sets up the basics for a data-driven, real-time, twin-sticky PDL. The template compiles and runs for Flash, Neko, and CPP (Mac/Windows/Linux) targets, but I've only tested Flash, Neko, and Windows.

And here's a pic:

  • Log in or register to post comments
kaolin
joined 11 years 3 months ago
Friday, March 14, 2014 - 22:45
kaolin's picture

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. :/

  • Log in or register to post comments
kaolin
joined 11 years 3 months ago
Friday, March 14, 2014 - 23:02
kaolin's picture

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....

  • Log in or register to post comments
larsiusprime
joined 11 years 4 months ago
Saturday, March 15, 2014 - 19:16

Are you still getting the same error when you run the PDL template?

I usually use the dev versions of pretty much everything, but I made sure that it would compile with the latest released versions of flixel and flixel-ui.

You're using the git version of flixel, do you have the latest stuff from the dev branch?

  • Log in or register to post comments
kaolin
joined 11 years 3 months ago
Thursday, March 20, 2014 - 08:38
kaolin's picture

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]

  • Log in or register to post comments