Skip to content

Errors when running the HaxeFlixel sample project #32

@QuinnStephens

Description

@QuinnStephens

I'm having some trouble getting the HaxeFlixel sample to run. At first I ran into this issue but was able to add the dependency to Project.xml to fix the error: #12

However, when I attempt to run lime test I get the following errors now:

src/PlayState.hx:17: characters 25-35 : LdtkProject has no field all_worlds
src/PlayState.hx:17: characters 17-50 : You can't iterate on a Dynamic value, please specify Iterator or Iterable

I note there's an all_levels field on LdtkProject but if I try to iterate over that, I get:

{ West : LdtkProject_Level, Treasure_room : LdtkProject_Level, Pit : LdtkProject_Level, East : LdtkProject_Level } has no field iterator

I haven't used Haxe in a while and there are unfortunately very few Google results for that error, so I'm not sure what exactly is wrong here. Any help would be appreciated. Thanks!

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions