Replies: 2 comments
-
For sharing code can you please either relevant snippets via code tags: Becomes // Code here Or share full files via gist As for this issue, ill try to recreate it myself |
Beta Was this translation helpful? Give feedback.
0 replies
-
FIXED: After a few days of tinkering, I discovered that my Entity Layer was called "Entity Layer" instead of "entities." |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I've been moving from Java to Haxe recently, and I am really enjoying it. I've been working through the Tutorial on haxeflixel.com, and I've run into problems with the loadEntities() method. When I place my player using the constructor (e.g. player = new Player(144, 144)) it works, but when I try to do map.loadEntities(placeEntities, "entities"), I get this error:
Called from flixel.addons.editors.ogmo.FlxOgmo3Loader::loadEntities line 174
Uncaught exception - Invalid field access : entities
I have no idea how to fix this, and the Haxe language is generally under-documented online. Can anyone figure out what's going on?
Here is my create method in PlayState.hx:
Beta Was this translation helpful? Give feedback.
All reactions