html5 game development

HTML5 game development, technologies that need to be learned:

1. HTML5 tutorial

Mainly learn HTML tags, attributes and events.

2. CSS tutorial

Mainly learn to use CSS to control the style and layout of web pages.

3. JavaScript tutorial

For HTML5 development, JS language is mainly used. So learn JS language.

4. Other core technologies of HTML5

For HTML5 development, the following technologies may be used.

(1) WebWorker

Can run multiple JS scripts in the browser. Can be used when some time-consuming work needs to be performed in the background.

(2) WebSocket

The browser can communicate with the server in two directions. The Socket method can greatly improve the communication efficiency between the browser and the server. It can be used in situations where communication between the browser and the server is frequent, such as real-time chat.

Extended information:

Advantages of HTML5:

The new generation of network standards allows programs to pass through Web browsers, allowing consumers to Access the same programs and cloud-based information from any device including a computer, smartphone or tablet.

HTML5 allows programs to run through Web browsers and includes multimedia content such as videos that currently require plug-ins and other platforms. This will make the browser a universal platform that users can browse through. The machine can complete the task. In addition, consumers can access a variety of content remotely stored in the "cloud" regardless of location and device.

Disadvantages:

1. Troubles caused by openness

In the past, there were a large number of patented products on the network platform, and it was necessary to realize a large number of applications of HTML5 technology. First of all, these patented products need to be turned into open products. Due to various reasons, there are still many controversies facing this issue.

Take video format as an example. Two camps have disputes over the setting of video formats. One camp is represented by Apple, and the other camp is represented by Opera, Firefox, and Google.

The WPEG camp is the camp to which Apple belongs. Since it all uses this format, it insists that this format should be used as a standard. The WebM camp believes that since the patent of the WPEG format has not been lifted, The openness of HTML5 technical requirements has not been met, so it is not agreed to use it as a standard format.

2. The speed of development needs to be improved

HTML5 has proposed some new technologies that were not available in previous HTML technology, but many mainstream browsers have developed over a long period of time. The development of this technology has been completed and this function has been implemented in its own browser. In this case, there are certain problems with the development speed of HTML5.

At the same time, due to the immaturity of HTML5, the current technical standards related to HTML5 have not been fully determined, so it is still difficult to put it into large-scale application in a short time.