Book Nook Join Book Nook

HTML5 Canvas - Create 5 Games, 5 Projects, and Learn JavaScript

Laurence Lars Svekis

A hands-on course to explore features of HTML5 Canvas

Key FeaturesStart drawing on Canvas with JavaScriptUse images on Canvas with the image options availableAdvanced features such as image rotation and applying shadows to textBook DescriptionThis course goes over the features of HTML5 in a way that will help you quickly implement the concepts in interesting projects. You'll learn how to draw elements on Canvas and add keyboard event listeners for arrow keys and player interaction. A smooth animation is very critical for game play, and this course goes on to explain it in great detail. You will also learn other essentials required for gaming, such as scoring and applying automation to player moments.The games involved in the course are as follows:#1 HTML5 Canvas Pong: Hit the ball between 2 players on screen#2 HTML5 Canvas falling items catcher: Catch items before they hit the bottom of the screen#3 Bubble popper with mouse clicks: Click the bubbles as they appear randomly on the screen#4 Brick breakout game: A version of the classic brick breaker game#5 Battle Bots game on Canvas: Two autonomous players or take control and have 2 players using the keyboardBy the end of the course, you will have mastered the basic techniques to create a game using HTML5 Canvas. All you would have used to achieve this feat are HTML and JavaScript.All resources and code files are placed here: https://github.com/PacktPublishing/HTML5-Canvas-ElementWhat you will learnCreate your first game using HTML5 and CanvasUse the Canvas element to drawApply JavaScript to create Canvas effects, such as matrix, bouncing ball and moreBuild a game with HTML5 Canvas, apply game logic, and moreBuild projects that use advanced features of HTML CanvasCreate 2-player interaction and responseWho this book is forAnyone who wants to create games with HTML and JavaScript will find this course very useful. Prior knowledge of both HTML and JavaScript is needed for this course.

GenresProfessional, Career & TradeComputer ScienceHTMLInternet & WWW

English edition · First published 2020 by Packt Publishing · ISBN 9781800567825

Be the first to rate this book

Tap or drag across the stars

Keep track of what you read

Book Nook is a free reading tracker with a 3D bookshelf, a reading timer, challenges with friends and a Reading Wrapped at the end of the year. Add HTML5 Canvas - Create 5 Games, 5 Projects, and Learn JavaScript to your shelf in one tap.

Join Book Nook Get the app