The canvas element is used to draw custom graphics on a webpage, and can also be used to animate images. html games are often created using the canvas element, as you can create custom graphics and animate characters or run … Click to read more
Tag: html5 game dev
JavaScript Objects Explained
An object in JavaScript is a way to put related functions and variables into one container variable. An object is a type of variable, that is a data structure. Using objects can allow you to store related data together, which … Click to read more
JavaScript Random Function Explained
The random function in JavaScript is used to generate randomly generated numbers while programming. Random generation can be used for generating random numbers, procedural levels for games, and much more. It can also be used to pick certain routes through … Click to read more
Functions in JavaScript
Functions allows you to create code that can be called repeatable in different areas of the code without having to rewrite the code. We can also pass parameters into function to allow us to get slightly different results. Imagine a … Click to read more