-
So - I have finally started migrating my project and I have the it up and running - at least to the main menu. A few questions on what is not working a the moment... FYI: I'm just testing the OSX build at the moment. axmol buildI couldn't get this to work because I couldn't pass in variables to cmake. I use the following currently Because I use the same project to generate different variants. I tried but xc always ended up as empty
TransitionCrossFade
ShadersI only have 2 shaders. And they are crashing in ShaderModuleMTL::ShaderModuleMTL when I do I presume the shader needs converting to something else? I've including them here for reference. characterTimeShader.fsh.txt LibrariesHow do I turn off all the thirdpary libraries, extensions, and features that I don't need. I never did this Cocos2dx but I figured it would be useful as there seems to be an awful lot of things that I don't need. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Hi! You'll find the answer to the last question in our Wiki: https://github.com/axmolengine/axmol/wiki/FAQ |
Beta Was this translation helpful? Give feedback.
-
I'll try to convert these for you and post them in here. They can possibly serve as a reference for anyone else trying to convert shaders too.
I tried this on Windows, and while xc isn't empty in the output as it is for you, I don't see the reference in the generated vcxproj file, so there may be something wrong with the |
Beta Was this translation helpful? Give feedback.
-
@IcemarkUK Try the converted shaders in this zip: Note - make sure the shaders are placed in Example of usage based on one of your shaders:
|
Beta Was this translation helpful? Give feedback.
-
please use |
Beta Was this translation helpful? Give feedback.
please use
axmol build -p osx -a x64 -xc '-DTME=LOM'
because powershell cmdlet arg interpreter will divide arg value by: