Font Size: a A A

The Research And Implementation Of Mobile Game Agent Based On Cocos2d-x

Posted on:2016-11-19Degree:MasterType:Thesis
Country:ChinaCandidate:H C DingFull Text:PDF
GTID:2308330479482171Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile game industry, the innovation of playing and audio-visual effect has been achieved great success. But constrained by the mobile facilities resources, game AI is developing painfully slow. This leads to the current mobile gaming genre focusing on the cards, parkour, eliminate, which limits the further improvement of gameplay. Based on Cocos2d-x, an open-sourced and cross-platform game engine, this paper has analyzed the potential gaming genre and designed the agent model in order to enrich the gameplay. According to the detailed investigation of current mobile game AI, the mobile game agent model i s presented for the first time.This paper analyses the logic of mobile game agent and divides it into path plan, sensor memory, target driven and fuzzy logic. At last, an intelligent mobile gaming model is designed which contains four main functions. This paper focuses on four parts, as follows. Firstly, agent can find a path to move to the target avoiding dynamic obstacles, animating through the Cocos2d-x on game device. Secondly, combined with the input by Cocos2d-x built-in map of physics engine, agent achieves proper awareness and short-term memory function. Thirdly, when agent’s status is updating, it calculates the current state of suitability to choose the most appropriate goal as the role of the current target. Fourthly, according to the difference of game background, agent improves its gaming capability by fuzzy logic. At the end of this paper, based on the Cocos2d-x, a battle game prototype is designed which applies the agent to verify its feasibility and practicability. The experiment shows that the game prototype is more intelligent than the other mobile game.
Keywords/Search Tags:Artificial Intelligence, Mobile game, Cocos2d-x, Fuzzy logic
PDF Full Text Request
Related items