摘 要:基于cocos2d-lua 是开发手机游戏的一种常见的方式,它提高了游戏开发的效率,也提高了游戏的品质。本系统主要以Lua,C++语言作为游戏的开发语言,以Xcode ,Sublime Text为开发工具,以quick-cocos2dx为引擎,实现了用触摸来控制小猫的移动,用随机事件控制水果以及炸弹的下落位置以及下落时间,用检测碰撞来实现小猫与水果和炸弹的碰撞,实现页面的跳转,以及声音的加载和数据的保存功能。37961 毕业论文关键字:Lua;C++;quick-cocos2dx引擎;手机游戏
Cocos2d-lua-Based Development of Mobile Games
Abstract: Cocos2d-lua-based is a common way in development of mobile games, it improves the efficiency of game development, and improve the quality of the game. This system uses Lua, C ++ language as game development language, Xcode, Sublime Text as the development of tools, the quick-cocos2dx as developed engine. Achieved by touch to control the move of the kitten, control fruit with random events and bombs falling position and falling time. Collision detection is achieved with a kitten and collision fruits and bombs, implement jump pages, as well as loading and saving of voice data.
Keywords: Lua; C ++; Quick- cocos2dx Engine; Mobile Games
目 录