52ky 发表于 2022-4-26 19:30:25

10 应该如何理解请求方法?.pdf

Canvas 是 HTML5 的新元素之一。它用于在网页上绘制图形。相当于在HTML中嵌入了一个canvas,方便直接在HTML上进行图形操作,具有很大的应用价值。如果我们掌握了用Canvas作图的方法,我们在开发游戏的时候就可以事半功倍。本书将逐步揭开Canvas的面纱,帮助读者快速入门,掌握Canvas的使用方法。本书不仅介绍了 HTML5 Canvas 的基本 API,还重点介绍了如何在 JavaScript 中使用面向对象的编程思想进行游戏开发。同时本书还结合大量实例详细讲解了如何使用HTML5 Canvas制作各种常见类型的游戏,如《石头剪刀布》、《俄罗斯方块》、《如果你是男人,下百层”等。在介绍每个游戏开发的过程中,都会涵盖游戏分析、开发过程、源码分析和总结等相关内容,帮助读者快速深入了解每个游戏的完整步骤。类型游戏开发,让读者深入掌握各类游戏的开发思路。和设计技巧。

(Canvas is one of the new elements of HTML5. It is used to draw graphics on Web pages. It is equivalent to embedding a canvas in HTML, which is convenient for graphic operation directly on HTML, and has great application value. If we master the method of drawing with canvas, we can get twice the result with half the effort when developing the game. This book will gradually unveil the veil of canvas and help readers get started quickly and master the usage of canvas. This book not only introduces the basic API of HTML5 canvas, but also focuses on how to use object-oriented programming ideas in JavaScript for game development. At the same time, the book also explains in detail how to use HTML5 canvas to make various common types of games, such as stone, scissors, paper, Tetris "If you are a man, go down to the next hundred layers", etc. in the process of introducing each game development, it will cover game analysis, development process, source code analysis and summary, so as to help readers quickly and deeply understand the complete steps of each game. Type game development allows readers to deeply grasp the development ideas and design skills of various games.)









页: [1]
查看完整版本: 10 应该如何理解请求方法?.pdf