The main problem is
Rect& BaseTank: : getNextFrameBoundingBox ()
{
Auto point=getNextFramePostion ();
Auto height=this - & gt; GetContentSize (). The height;
Auto width=this - & gt; GetContentSize (). The width;
Float x=point. X - width/2;
Float y=point. Y - height/2;
Return the Rect (x, y, width, height);
}
This code only warning c4172 vs2015 compile time, output the apk compiled using CMD, error cannot be directly output changed several times I can't, I hope you can help change the great god,
CodePudding user response:
CodePudding user response:
the return value is wrong, please return the RectCodePudding user response:
Your screenshots of the console is warningWrong is a
The command line option "- c - xx compat"
Is this??
And it doesn't matter the rect or change a written
The Rect as macros, precompiled also is pretty good,
I want to jump out of the early cocos2dx pit, to embrace 3 d
CodePudding user response: