Book Description
Develop games using the JavaScript web scripting language. This compact short book will help you learn how to use modern JavaScript to make games for web browsers. They’re effortless to use and they work everywhere. If you’ve ever wanted to make a game, join author Christopher Pitt. You’ll start with nothing and build fun games, in no time at all.
What You’ll Learn
- Make a game using JavaScript
- Master the game loop
- Handle player input, collision detection, gravity, ladders, and stairs
- Work with camera locking, mobs, and health
- Manage game inventory
- Handle mapping and more
Who This Book Is For
Those who are new to game development with some experience with JavaScript and web development.
Table of Contents
Chapter 1: Introduction
Chapter 2: The Game Loop
Chapter 3: Player Input
Chapter 4: Collision Detection
Chapter 5: Gravity
Chapter 6: Ladders
Chapter 7: Stairs
Chapter 8: Camera Locking
Chapter 9: Projectiles
Chapter 10: Mobs
Chapter 11: Health
Chapter 12: Animation
Chapter 13: Sounds
Chapter 14: Gamepads
中文:
书名:制作游戏:使用Java脚本
使用JAVASCRIPT网络脚本语言开发游戏。这本紧凑的短书将帮助你学习如何使用现代的JavaScript来为网络浏览器制作游戏。它们使用起来毫不费力,而且在任何地方都可以使用。如果你曾经想要制作一款游戏,那就加入作者克里斯托弗·皮特吧。你将从零开始,很快就能构建出有趣的游戏。
你会学到什么?
- 使用Java脚本制作游戏
- Master the game loop
- 处理玩家输入、碰撞检测、重力、梯子和楼梯
- 使用相机锁定、暴徒和健康
- 管理游戏库存
- 处理映射等
这本书是为谁写的
那些游戏开发新手,有一定的Java脚本和网络开发经验。
Table of Contents
第一章:引言
第二章:游戏循环
Chapter 3: Player Input
第4章:冲突检测
Chapter 5: Gravity
Chapter 6: Ladders
Chapter 7: Stairs
第8章:摄像机锁定
第九章:投射物
Chapter 10: Mobs
Chapter 11: Health
第12章:动画
Chapter 13: Sounds
Chapter 14: Gamepads
评论前必须登录!
注册