Javascript Articles

31 to 40 of 45 results
«12345»
Icon

Point in Triangle

Intermediate 1 years ago (03:53:33pm Tue 24th Jan, 2017)

A method for determining if a coordinate falls within the bounds of a given Triangle on a 2D plane.

Javascript Function Geometry
Icon

Point in Rectangle

Intermediate 1 years ago (03:47:43pm Tue 24th Jan, 2017)

A simple method for testing if a set of coordinates fall within the bounds of a given rectangle.

Javascript Function Geometry
Icon

Point in Circle

Intermediate 1 years ago (03:35:52pm Tue 24th Jan, 2017)

A simple method for testing if a 2D coordinate falls inside the area of a given circle.

Javascript Function Geometry
Icon

Line intersection

Intermediate 1 years ago (03:30:07pm Tue 24th Jan, 2017)

A simple method for testing if two lines cross one another on a 2D plane.

Javascript Function Geometry
Icon

Circle Intersection

Intermediate 1 years ago (03:21:44pm Tue 24th Jan, 2017)

A simple method for testing if two 2D circles are colliding.

Javascript Function Geometry
Icon

Tile events and triggered functions

Intermediate 1 years ago (05:05:03pm Sat 21st Jan, 2017)

The Character arriving at a specific tile may need to progress or alter the game world or story. We can do that by assigning functions to be triggered on arrival at certain tiles.

HTML Javascript Canvas GameDev Graphics TileMap Tutorial
Icon

Pausing and changing game speeds

Intermediate 1 years ago (05:01:05pm Sat 21st Jan, 2017)

Time must stop! We'll look at how to not only pause the game, but also speed up or slow down time.

HTML Javascript Canvas GameDev Graphics TileMap Tutorial
Icon

Movement speeds on different tile types

Intermediate 1 years ago (09:13:28am Sat 21st Jan, 2017)

We can't move on all surfaces with the same ease, so now we learn how to set different movement speeds dependant on the type of tile.

HTML Javascript Canvas GameDev Graphics TileMap Tutorial
Icon

Active tiles, ice and conveyor belts

Intermediate 1 years ago (09:03:44am Sat 21st Jan, 2017)

Making tiles just sit there and look pretty, we see how to force Character movement with slippery tiles and moving surfaces.

HTML Javascript Canvas GameDev Graphics TileMap Tutorial
Icon

Animated Sprites in Canvas

Intermediate 1 years ago (08:15:17am Sat 21st Jan, 2017)

Animating the sprites we're using on our Canvas game with some simple Javascript.

HTML Javascript Canvas GameDev Graphics TileMap Tutorial
31 to 40 of 45 results
«12345»
Page loaded in 0.009 second(s).