Android online game development--client development--the choice of game engine

Source: Internet
Author: User

In the last time I said I wanted to write a mobile phone network game, I began to prepare some information and build the development environment, because in the previous development of a Java-based C/S database program, the game network communication This piece of technology is a bit prepared, but there are many uncertainties, These factors mainly come from the choice of client and server-side development language.

For the client, because the development of the client is not to select the existing game engine, then the development is very time-consuming, so the client's development must be in an open-source game engine, so if the client and the server side of the language is not the same, There may be a problem with the client and server-side packet resolution if the same data type is likely to be different in the number of bytes. To solve this problem, it is necessary to standardize the bytes occupied by each data type, which is also a time-consuming task and also increases the amount of code.

When we decided that the client development is to build on the game engine, then the next job is to choose the game engine, for my network game positioning is 2D network game, all I choose and concern is 2D game engine, I mainly focus on two game engine, one is COCOS2DX, Another is Andengine, where COCOS2DX is a C + + development of the cross-platform game engine, Andengine is an Android-based game engine, I have been struggling with exactly which engine development, as far as I know, I am more familiar with COCOS2DX, and cocos2dx more information, but because it is cross-platform, all said there are a lot of things are not good to understand, and compiled to Android above the program will be relatively large; Andengine I only recently started to understand, All the code of this engine is based on Android, I have learned Java also learned a little bit of Android development, if you want to understand or can, but it takes a little time, and less information, of course, for the network development behind is very good, Because if I choose Andengine as the client-side game engine, I can take my socket communication in the question Bank program directly to use, the communication development cycle is short. So very melancholy!!!

But in my subconscious I think so, if it is not so urgent to develop, I will choose Andengine, because its code is all written by Android Java, so I will learn faster, so I can also be very good to understand how a real game engine is developed. If I am anxious to complete the development, I will choose COCOS2DX, because I used to use COCOS2DX to do some small games, the words are easy to get started, but the source of COCOS2DX is still more, can only be the general idea of it to understand, it is difficult to go deep into the details. Which one should we choose? Ask the great gods to give some advice!!!

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android online game development--client development--the choice of game engine

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.