Font Size: a A A

Design And Implementation Of Fruit Machine Mobile Game Based On Cocos2d-x Engine

Posted on:2019-12-11Degree:MasterType:Thesis
Country:ChinaCandidate:L H LiuFull Text:PDF
GTID:2438330548972600Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of wireless and 4G networks,the speed of the Internet has been rapidly increased.The rapid popularization of smart phones has made more and more people take interest in mobile games.As a result,a large number of mobile game products have emerged,promoting the development of the mobile game industry.Fruit machine mobile game is a game which is betting on fruits to win gold coins.To cope with problems the current disappearance of fruit machine games in the video game city,this thesis fulfills mobile games by means of betting on fruits to win gold coins according to the application of fruit machine arcade games appearing in arcade cities.The game is easy to operate.Users can spend a short time playing at anytime and anywhere,breaking the limitations of time,place and space.With the quickening pace of life,the pressure of life and work is getting heavier and heavier.People can use mobile phones to play games for the purpose of relieving pressure and getting relaxation.This thesis was developed in C++ language based on Cocos2d-x engine.In this work,the communication between Client and Server is carried out with Socket,and the data storage is performed by using SQL Server database and XML mechanism.This paper introduces the development trend and current situation of mobile games at home and abroad,as well as the advantages and disadvantages of mobile games,so we decided to develop a fruit machine mobile game.This thesis then introduces the relevant technologies applied in developing fruit machine mobile game.According to the basic framework of Cocos2d-x engine and cross-platform,portable characteristics in the Eclipse of the Windows and Mac system of the X-Code,the fruit machine mobile games are developed.The UI interface(including scene,animation,spirit,control,etc.)of the game hall is made by Coco Studio editor,which reduces the amount of code and saves development time;Texture Packer used the game texture atlas to pack the images,reduce the space of images,and save the time for finding picture resources.In the end,based on the development methods commonly used in software engineering,the paper studies and finishes the following stages including requirement analysis,design,implementation and test.The fruit machine mobile games that this thesis studies belong to a sub-game of the game platform,which is completed during my internship in the Huaruan Software Technology Co.,Itd located in Rizhao.I participated in and completed the game platform login,registration module,loading scene modules.Moreover,I achieved functions existed in the game such as checking in,ranking,sharing hall module.In the fruit machine game,I independently completed the single bet,repeated bets,automatic betting,game records in the main interface module and the specific implementation of the game.This thesis carries out a complete analyzing,designing,implementing and testing the above function modules.The test method used in this thesis is Black-box testing.The test results have achieved the desired results and can be run online.
Keywords/Search Tags:Fruit machine mobile game, The Cocos2d-x engine, CocoStudio, TexturePacker
PDF Full Text Request
Related items