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

Type not found : Spine #1

Open
gerroon opened this issue Feb 2, 2024 · 2 comments
Open

Type not found : Spine #1

gerroon opened this issue Feb 2, 2024 · 2 comments

Comments

@gerroon
Copy link

gerroon commented Feb 2, 2024

Hi

I am trying to start using Haxe in Defold and I am getting this error when I build it. Am I doing it wrong?

haxe build.hxml

=============================== WARNING ===============================

hxdefold is being thoroughly reworked and will introduce breaking
changes starting with v2.0.0 in the near future.

To prepare for these changes and provide your feedback on them, please
visit the pull-request:

             https://github.com/hxdefold/hxdefold/pull/37

Thank you for using hxdefold!

=======================================================================

src/Hero.hx:53: characters 13-18 : Type not found : Spine

@haath
Copy link
Member

haath commented Feb 2, 2024

The Spine runtime is not a part of the basic Defold API since a while ago, because of this I also removed it from hxdefold.
It is now an extension that you need to add as a dependency, and as such it should not be maintained and versioned together with hxdefold which only reflects the basic API.

Instead, I've made a separate package to keep loosely-versioned externs for extensions:
https://github.com/hxdefold/hxdefold-extensions

If you add that as a dependency you should be able to use the Spine externs from there 🙂


On the topic of this example repo: it's outdated

@gerroon
Copy link
Author

gerroon commented Feb 2, 2024

Hi

Thanks for the reply, I will give it a try. It might help to mention these in the repos because I was scratching my head for some hours

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

No branches or pull requests

2 participants