Design and implementation of game engine/gui-order

Source: Internet
Author: User

A few years ago wrote "embedded GUI FTK design and implementation", did not write a few to stop the update. At that time, I studied microwindows, X Window, DIRECTFB, GTK + and Android GUI, and wrote the embedded GUI ftk, thinking that I am familiar with the GUI, but the real writing is still somewhat inadequate. In addition to the rapid development of hardware, I feel that the practical value of FTK, their own energy to the development of CANTK, so no longer write down.

In the past few years I have implemented two GUI, one is CANTK, it is based on the HTML5 canvas element implementation, for mobile device GUI, it has open source. Another is WTK, is recently completed, it is based on the HTML5 of the canvas elements to achieve, mainly for the development of PC software, currently in Gamebuilder/appbuilder has been completely used WTK replaced jQueryUI, this will soon open source.

After implementing a few complete GUI systems, things that previously felt very difficult have become cheerful. For example, I wanted to implement a FTK control and a tree control in a graphic, and I felt that the complexity was beyond my ability, so FTK did not have such a control. It took only two days to implement a text-to-picture control in CANTK, and it took only a day to implement the tree control in WTK. Writing procedures do not have any skills, just make perfect, write more practice, new ideas naturally come out.

Maybe someone won't believe me, and then I'm going to write a gui!. It is cantk-native, developed based on OpenGL in C language. Cantk+gamebuilder/appbuilder is the development of HTML5 applications and games, I very much like, as long as there is the interface of the east, I will use them to do, because they are highly efficient development. But the HTML5 app has a few performance gaps compared to the native app, so I decided to develop a GUI cantk-native that is faster than the native GUI. This cantk-native operation efficiency and gamebuilder/appbuilder development efficiency will be the perfect combination.

Why write "game engine/gui design and implementation" it:

    1. The design and implementation of GUI is very interesting. I used to spend some time studying the OS kernel, virtual machines and compilers, trying to do a kernel, virtual machine and compiler, but I was frustrated when I learned that I was just a mediocre programmer and gave up my research on them. On the contrary, the GUI implementation is not too difficult and not too simple, even if you are a beginner, to implement a GUI control is not difficult. Even a master who has worked for many years, to achieve a complete GUI, still has a great challenge. So the development of the GUI is an activity for all ages: I have spent several years on it, it has brought me a lot of fun, always have to write their own experience and ideas to share the impulse:)

    2. GUI design and implementation is not only interesting, learning and research GUI is also conducive to faster development of the app. Before I had to develop an app, I felt very hard, and when I realized the GUI, I found it was easy to develop the app. I used to develop more than 20 apps and games in one months, although most of it was rubbish, only one won 3w$ bonuses, but that kind of super-fast development efficiency, let me feel that the development of apps is really cool. So I suggest to be a friend of the app and game, not to study the implementation of GUI and game engine.

    3. In the process of writing, the Code of CANTK is reconstructed and prepared for the development of cantk-native. Development CANTK When I just started to learn JS, although later refactoring, but there are some code is very ugly, I hope in the process of writing to get rid of this part of the ugly code.

    4. Although I have done a few GUI, I am just getting started on the GUI, there is a lot of things to learn. I hope that in the process of writing "GUI Design and realization", we can learn and communicate with all of you and learn more in one layer.

A friend may ask, obviously is written "game engine/gui design and implementation", and the front only said the GUI, completely did not mention the game engine it. In fact, CANTK is not just a GUI system, it integrates the physics engine, sound processing, skeletal animation and particle system, is a complete 2D game engine. Although some of the code is a third-party open source code, I also spent some time to study, many of the things are very good, I hope to be able to write their own learning experience. So the topic named "Game Engine/gui design and implementation."

Design and implementation of game engine/gui-order

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.