Replies: 1 comment 1 reply
-
where is Try debugging via VSCode to see exactly where things are failing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello and good evening :)
I discoverd haxe and haxefilxel recently and have already a question.
I have a PlayState-Class with a addClone-Method which should instantiate a Player-Object.
If I call addClone() in the create-Method of PlayState it works.
However, if I call it from a Player-Object it creates a "Uncaught exception - Invalid field access : addClone" and the game crashes. I have no idea why? Any help is much appreciated 👍
Look for <--------------------------------------- in the two classes :)
Beta Was this translation helpful? Give feedback.
All reactions