Introduction to the first chapter
HTML has always been the cornerstone of network programming, and any other programming language, whether PHP, Phython, CSS, or JavaScript, must be HTML-based.
The previous generation of standards, HTML4.01 in 1999 after the enactment of the Internet for 15 years, more and more than the pace of rapid development of the network, especially in the increasingly popular wireless interconnection today. Finally, after years of debate and compromise, the World Wide Web Consortium published a new HTML standard 1 months ago. Let us come together to greet our new king HTML5.
HTML5 to the network is a variety of promotion, this tutorial only focus on the game aspect. In fact, HTML5 is a very good game development platform, it has the following advantages:
1, high compatibility. Currently mainstream browsers have generally supported the HTML5, the game can be without any modification, without any plug-ins directly under the premise of Windows, Linux, iOS and other operating systems perfect operation, and easily ported to Android and Apple and other mobile platforms.
2, easy to get started. For beginners, this is one of the best platforms to start with. (Some languages are not suitable for playing games, such as when I first beginner C language, want to do a small game to play, found that the light to make a graphical interface is very complex.) )
3, at the same time for a single game and online games.
4, there are a lot of ready-made game development engine. (Recommended not to use during the beginner stage)
This tutorial is completely zero-based novice tutorial, as long as you love to play games, and want to make a small game to play, you can learn, you can even a little programming will not. (If you really do not, it is recommended that you teach yourself 4 days, 2 days to learn html,2 days to learn JavaScript.) )
I hate the "big" books, which are often hundreds of of thousands of pages, so this tutorial will be as simple as possible, so that there may be some chapter titles like "Block Box" and "Block chasing Block". You can interpret it as "aircraft hitting tanks". I will not do any art work, because there is no need, do not want to complicate. When you do a "block", the principle and "aircraft fight Tank" is the same, you just need to change the graphics on it.
I write this in my spare time and intend to update 1 to 2 times per week. I don't know if I'm going to be a eunuch at the end, but I'm trying to finish it.
Updates will be sent to my Weibo and blog:
Sina Weibo: "Earth Life Eev"
CSDN Blog: http://blog.csdn.net/trackstatic
Blog Park Blog: http://www.cnblogs.com/phyy/
If there is a problem, please leave a message on my Weibo or blog, I will go to see
Well, the crap's over, let's start with the official content.
0 Basic HTML5 Game Introductory Tutorial 1th Chapter