Font
Large
Medium
Small
Night
PrevPage Index    Favorite Next

Chapter 28: Flappy Bird(2/2)

——In the game, players must control a bird to cross obstacles composed of water pipes of various lengths.

(...Of course, simple gameplay does not mean simple operation)

In addition to its simple gameplay, the game "FLAPPY BIRD" also has low graphics requirements.

Precisely because the picture quality is relatively rough, "FLAPPY BIRD" in another time and space is also called Pixel Bird by domestic players.

The gameplay is simple + the graphics requirements are not high. To a certain extent, it is basically equivalent to the fact that the programming implementation of this game is not complicated either.

What's more, the game "FLAPPY BIRD" has a ready-made game engine that Lin Hui can use.

The so-called game engine refers to the core components of some edited computer game systems or some interactive real-time graphics applications.

These systems provide game designers with various tools needed to program games. The purpose is to allow game designers to easily and quickly create game programs without having to start from scratch.

In short, through game engines, game developers can avoid greatly improving efficiency in the process of program development.

Of course, you can still make games without a game engine.

After all, the two games Lin Hui developed before did not use game engines.

In fact, from a certain perspective, the game engine is like a template for making PPT. You can make PPT when there is a template, but you can also do the same thing when there is no template.

But this involves an efficiency issue.

Generally speaking, there is no best game engine, only the most suitable engine.

After comprehensive consideration, Lin Hui finally chose to use the Cocos2d-x game engine to implement this game.

The reason why I chose this engine is because in my previous life, Lin Hui had seen a certain big boss use the Cocos2d-x game engine to implement the game "FLAPPY BIRD" with only more than 300 lines of code.

Although this is not the most concise code implementation, after Lin Hui's actual testing, this is definitely a relatively stable version.

This may also be due to the power and stability of the Cocos2d-x game engine.

This engine is a domestic open source mobile game development framework.

The core of the engine is written in C++, providing three programming language interfaces: C++, Lua, and JavaScript, and supports cross-platform iOS, Android, etc.

This game engine is widely used. Many games in this time and space, such as "Happy Game" and "Fishing Master", are representative works using the cocos2d-x engine.

And it is not only widely used in the development and production of mobile games, but also has traces of this engine behind many children's educational software and network multimedia UI solutions.

Because of the power of this engine, it is not an exaggeration to say that Cocos2d-x has lowered the technical threshold for mobile games.

Domestic game manufacturers, including Goosechangzhuyang, as well as major international companies such as Nintendo and Square Enix, have used the cocos2d-x engine to develop and launch their own mobile game products.

However, things were not always smooth sailing.

Although Cocos2d-x is very powerful.

But Lin Hui is not very familiar with this engine. In his previous life, Lin Hui used to use the unity engine.

It doesn’t matter if you’re not familiar with it, after all, this is the Internet age.

Lin Hui easily found a Cocos2d-x Getting Started Guide on the Internet.

After all, he has relevant experience in using engines.

It may be difficult to go from 0 to 1, but it is not complicated from 1 to 2.
Chapter completed!
PrevPage Index    Favorite Next