Learn jаvascript using Game Programming: Learn the basics of programming and game development using vanilla jаvascript with the canvas tag. by Chris Moeller
English | 2022 | ISBN: N/A | ASIN: B0B4FLK8MC | 225 pages | EPUB | 1.00 Mb
Have you wanted to learn to program, but not sure where to start? Create your own game as you learn the basics of programming, using jаvascript.Modern jаvascript concepts are universal enough to help you transition into understanding other programming languages in the future, and is an easy way to start learning programming.
The book will teach you how to create a game from scratch, using vanilla jаvascript, light HTML and CSS for displaying graphics and text.
What will I learn?Setting up your development environment, and setting up a HTML + jаvascript main file.Grabbing HTML elements from jаvascript and manipulating themUsing canvas to draw out the 2d gameOverview of programming concepts, such as variable types, functions, classes and objectsGame programming concepts such as drawing in 2d, game loops, getting player inputs, 2d animation, and more
With this knowledge, you should be able to proceed to code your own games or apps, whether it be from scratch in another language/ library, or game engine.