Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running the HaxeFlixel sample project #32

Open
QuinnStephens opened this issue Jan 8, 2024 · 3 comments
Open

Errors when running the HaxeFlixel sample project #32

QuinnStephens opened this issue Jan 8, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@QuinnStephens
Copy link

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!

@deepnight deepnight self-assigned this Jan 13, 2024
@deepnight deepnight added the documentation Improvements or additions to documentation label Jan 13, 2024
@deepnight
Copy link
Owner

This should be fixed in 1.5.3

@QuinnStephens
Copy link
Author

Unfortunately, I'm still getting this error in 1.5.3.

@deepnight deepnight reopened this Jan 16, 2024
Lojemiru added a commit to Lojemiru/ldtk-haxe-api that referenced this issue Feb 16, 2024
* Replaced tileIds with tileRectsIds

* Fixed getLevelAt typing

* Added "per entity field" exportToToc option

* Fixed API toc

* Updated maps

* Added TOC tests

* Added worldDepth field

* Added biomeFieldUid

* Added layer biome field ref

* Rule biome is no longer an array

* Added supprot for multiple biomes per group

* Added support for AND/OR modes

* Added auto-layer tiles killing

* Added layer UI tags

* Fixed deprecated enum tile getter

* Added searchable to FieldDefs

* Fixed irrelevant __worldX/Y coords in entities (#1002)

* Added entity allowOutOfBounds

* Updated maps

* Fixed versions in JSON

* Added useAsyncRender

* Updated map

* Docs

* Haxelib

* Updated maps

* Haxelib

* Added invalidated flag to rules

* Updated maps

* Haxelib

* Updated maps (enabled Multi-Worlds)

* Updated samples with Multi-worlds support (deepnight#32)

* Added corners dir from __neighbours (deepnight#31)

* Updated __neighbours doc

* Updated maps

* Haxelib

* Fixed doc

* Fixed unit tests haxe version

* Fixed HL SDL lib

* Update Json.hx

* Fixed unused case warning in Haxe 4.3

---------

Co-authored-by: Sebastien Benard <[email protected]>
Co-authored-by: Ethan Conneely <[email protected]>
@ValorZard
Copy link

I get a similar issue:
PS C:\Github\ldtk-haxe-api\samples> haxe buildAll.hxml C:\HaxeToolkit\haxe\lib\heaps/git/h3d/prim/ModelDatabase.hx:98: characters 30-37 : hxd.fs.LocalFileSystem has no field convert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants