Support for cocos2d-x 4.0 and axmol
Hi,
Could you add support for https://github.com/axmolengine/axmol ?
@intmainreturn00 any chance to look at this problem?
Fixed here: https://github.com/intmainreturn00/AwesomeNode/pull/4
Thanks for the PR. Will try to check & merge soon. 🙏
@crazyhappygame axmol::extension::DrawNodeEx (=DrawNodeV2) has it:
@intmainreturn00
Hope its okey when I use your:
generateDataPoints() for creating lines like on your sample.cpp
Fixed here: #4
Build for cocos2d-x-4.0 on M1 mac. ✅ (I needed to patch a few things in cocos itself in order to make it run in M1, but nothing graphics related)
- On top of the file:
USING_NS_CC;→#define USING_NS_CC using namespace cocos2dso, I should have access from this file without usingcocos2d::prefix. - auto * works for me. Are there any problems with using auto? I thought even cocos2dx docs recommends using modern c++.
- In my 4.0 DrawNode I don't have
_bufferTriangle + _bufferCountTriangle. axmol DrawNode is different? My local build also fails if I try to access_customCommandTrianglefor the same reason.
Need more info. 🙏 ping me if I can help somehow with this.
@intmainreturn00 Hope its okey when I use your:
generateDataPoints()for creating lines like on your sample.cpp
Sure