-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Please show the usage of Even better would be if you upload a minimal working project to show how the code is being used. One thing that I don't understand is how the code you posted would actually compile. The
So, it doesn't make much sense. Does the code you posted actually compile? Did you add a Refer to the |
Beta Was this translation helpful? Give feedback.
How another library handles it has nothing to do with Axmol, so it's not something you can easily port across.
Now, if you want to get this working, then once again, you need to gain a better understanding of how the node system works in Axmol.
For this specific case, and assuming you don't want to render the
g_entity
in the scene, then this is what you do:Create the entity and add the animations to it in
MainScene::init()
: