A General Solution of Script-based Fragment Animation

作者:Zhao Xianming*; Huang Xiaojun
来源:6th IEEE International Conference on Software Engineering and Service Science (ICSESS), 2015-09-23 to 2015-09-25.

摘要

This paper puts forward a general solution of script-based fragment animation technology on cocos2d-x engine. It establish a new fragment animation system based on the normal animation. It gets fragment information by the independent analysis of the animation file which is edited and exported by the spriteX tool from J2ME platform and achieves the fragment animation by the new action construction class and action management class. Then it implements a general solution based on the interaction theory of lua and c++. Finally, sprites fragment animation solution is proved better in saving memory and speeding up the project progress with the real machine test data.