-
Hi guys, I am pretty new of axmol, I did use cocos2dx for a while in past and now I was using cocos creator, which I think has some serious performance issues. I am trying to understand how axmol works, but I am having a lot of issue to add some classes and folder on the source folder. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
just re-run |
Beta Was this translation helpful? Give feedback.
-
Right click the folder named "Source" in VS, and then add the files to that. They should appear in the correct folder on disk, and they should not be in the build folder. Adding folders via Visual Studio isn't the same, because they're not actually folders on disk, they are just "filters", being virtual folders in the project tree. The only way to add folders on disk is to create them yourself manually (via Windows Explorer, command prompt etc.), then as @halx99 pointed out, re-run |
Beta Was this translation helpful? Give feedback.
Right click the folder named "Source" in VS, and then add the files to that. They should appear in the correct folder on disk, and they should not be in the build folder.
Adding folders via Visual Studio isn't the same, because they're not actually folders on disk, they are just "filters", being virtual folders in the project tree. The only way to add folders on disk is to create them yourself manually (via Windows Explorer, command prompt etc.), then as @halx99 pointed out, re-run
axmol -c -f
to update the Visual Studio project so it picks up those folders and shows the…