Learn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been easier than it is now. New web technology allows even beginner developers to turn their hand to game development. Developed from an undergraduate course module, Introducing JavaScript Game Development teaches each new technology as it is introduced so can be followed by enthusiastic beginners as well as intermediate coders.
You will learn how to work with HTML5 and the canvas element, how to understand paths, how to draw to a design and create your spaceship and asteroids. You’ll then move on to animating your game, and finally building. You will work step-by-step through the game design process, starting with only what is necessary to complete each step, and refactoring the code as necessary along the way, reflecting the natural progression that code follows in the real world. Each chapter is designed to take your code base to the next level and to add to your skills. After completing the examples in this book you will have the tools necessary to build your own, high-quality games.
Make the process of creating object-oriented 2D games more fun and more productive and get started on your game development journey.
学习建立一个功能齐全的2D游戏,其灵感来自1979年雅达利的经典游戏《小行星》,只需使用HTML5、CSS和JavaScript。开发游戏从未像现在这样简单。新的网络技术使初学者也能转而从事游戏开发。JavaScript游戏开发介绍》从一个本科课程模块发展而来,在介绍每项新技术时都进行了讲授,因此,热情的初学者和中级编码员都可以学习。
你将学习如何使用HTML5和画布元素,如何理解路径,如何绘制设计图并创建你的飞船和小行星。然后,你将继续为你的游戏制作动画,最后是建造。你将在游戏设计过程中一步一步地工作,只从完成每一步所需的内容开始,并在途中根据需要重构代码,反映出代码在现实世界中的自然进展。每一章都是为了将你的代码库提升到新的水平,并增加你的技能。在完成本书的例子后,你将拥有建立自己的高质量游戏的必要工具。
让创建面向对象的2D游戏的过程更有趣、更有成效,开始你的游戏开发之旅吧。
相关文库
计算机行业:AIGC行业应用畅想-华福证券
2806
类型:行研
上传时间:2023-04
标签:计算机、AIGC)
语言:中文
金额:5积分
零信任SaaS,美国经验与中国特色-20200802-天风证券-42页
2657
类型:行研
上传时间:2020-08
标签:计算机、saas)
语言:中文
金额:免费
计算机行业安全服务:网络安全行业的制高点-20210221-方正证券-64页
2375
类型:行研
上传时间:2021-02
标签:计算机、网络安全)
语言:中文
金额:免费
2021年IEEE高新能计算论文合集
2367
类型:学习教育
上传时间:2021-05
标签:高性能计算、学术、计算机)
语言:中文
金额:30积分
计算机行业专题研究:MES深度报告下篇,7大海外巨头,6家中国领军全梳理-20201015-天风证券-55页
2276
类型:行研
上传时间:2020-10
标签:计算机、MES)
语言:中文
金额:免费
计算机行业:信创产业发展研究-20220510-东吴证券-84页
1725
类型:行研
上传时间:2022-05
标签:计算机、信创)
语言:中文
金额:免费
计算机行业对于低代码工具发展的思考:AI降低软件使用门槛,交付自动化提升工具价值
1602
类型:行研
上传时间:2023-06
标签:计算机、AI、低代码)
语言:中文
金额:5积分
计算机行业:工业软件,研究框架-20200618-华泰证券-132页
1471
类型:行研
上传时间:2020-07
标签:计算机、工业软件、券商报告)
语言:中文
金额:免费
2020年高考志愿填报全解析—计算机行业报考热门专业、院校及前景(免费
1291
类型:专题
上传时间:2020-07
标签:高考志愿填报、计算机)
语言:中文
金额:5积分
2023年中国服务器操作系统行业市场研究报告
1291
类型:行研
上传时间:2023-03
标签:服务器、操作系统、计算机)
语言:中文
金额:5积分
积分充值
30积分
6.00元
90积分
18.00元
150+8积分
30.00元
340+20积分
68.00元
640+50积分
128.00元
990+70积分
198.00元
1640+140积分
328.00元
微信支付
余额支付
积分充值
应付金额:
0 元
请登录,再发表你的看法
登录/注册