Replies: 3 comments 2 replies
-
If you're not already familiar with programming in C++, then that is where you need to start, and diving into a C++ game engine without that fundamental knowledge is most likely going to waste your time and cause you a lot of frustration. If you do need to get into C++, then there are millions of resources available to you, but this is not the right place to be asking those types of questions. If you are familiar with C++, and want help with this game engine, then sure, ask away. In your particular case, the actual file you need to open in Visual Studio is the solution file, with extension "sln", being If you follow the documentation, you would see which settings are required to enable or disable certain "extensions", which are just libraries that link with the engine. If you don't need the functionality in those libraries, then disabling them will reduce the size of the final executable and also reduce the time it takes to compile your application. For example, if you want to use DragonBones, then the setting is
It's enabled by default. You can control if it is enabled or disabled in your own project
That needs to go above the line that has
In order to use these libraries, it's best to refer to the cpp_tests project. Compile it, run it, see how things work, and then read the code to figure out how things are done. It's all in there. |
Beta Was this translation helpful? Give feedback.
-
A few reasonable Cocos2d-x tutorials that would also apply to Axmol: and here - this also has a section on Just disregard any sections on installing and setting up, since they may not apply to Axmol. For that info refer to this. Any guide to cocos2d-x will mostly apply to Axmol too. For any differences, refer to the Don't forget to check this post for links that would also help. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the resources |
Beta Was this translation helpful? Give feedback.
-
Hi,
I think I fundamentally do not understand linking a library/using extensions and using them in C++. I have been using Unity and C#, and I have never used Cocos2d-x. But I wanted to learn it because it is open source and offers many of the same functionalities I want to use in my game.
I created a file in FairyGUI with cocos2d-x option.
I put it in this folder (Is this the wrong folder?)
I see in the official FairyGUI demo they add this include
So I add that to my HelloCpp
Then I see they create an object with GROOT; but nothing happens when I type FairyGUI, GROOT, or UIPackage.
I see that there are already all kinds of extensions in the library
I don't know how to access them.
I am also not sure if I am opening the right project file.
Is it this one?
Sorry for the very basic question. I hope you can answer it for anyone else who is new and wanting to use Axmol.
If there are other resources for learning to use Axmol, C++, Cocos2d-x, please let me know. I have watched some videos on YouTube for Cocos2d-x. I know how to do some programming but I don't know how to setup an engine like this.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions