摘要
基于i OS平台的游戏日益受到青睐,本文开发了一款i OS平台下的手机游戏软件——益智拼图。该游戏采用跨平台引擎-cocos2d-x以及C++语言进行开发的,主要实现了拼图游戏的切割图片、滑动效果、游戏逻辑、物理效果等基本功能,且支持从手机照相或图片库获取图片进行切割,摇一摇更换图片以及音效设置等特色功能。最后,通过对游戏进行安装、调试,通过了性能测试,成功发布了游戏。
Games based on IOS platform are more and more popular. The author designed a mobile iOS platform game software-Jigsaw Puzzle.The software based on the cross-platform engine-cocos2d-x and developed by c++ language mainly realized basic functions of the game such as image cutting,sliding effect, game logic and physical effect, and supported to get pictures from the phone camera or gallery for cutting,or to change images or sound settings by shaking the phone. Finally, by installing, debugging, and a passable test, we successfully released the game to the APP store.
出处
《软件》
2016年第6期49-52,共4页
Software
基金
广西科技大学鹿山学院科学基金项目(2015LSKY05)