Chicken Farmer, a Snake clone
I set myself a goal, make a game in 3 hours. The results, a snake clone where you play a farmer collecting eggs that turn into chickens.
Hi, I'm Brian. Welcome to my blog. Here I write about the things I've learned whilst creating stuff on the web.
I hope that you will find something noteworthy here, that will pique your interest, and that you will visit again soon.
Progress is our path, complexity builds the bridge, simplicity waits.
I set myself a goal, make a game in 3 hours. The results, a snake clone where you play a farmer collecting eggs that turn into chickens.
When creating a 2d game on canvas I like to render the sprites on an offscreen canvas and access them via retrieving their ImageData.
HTML buttons have a form attribute that can be used with buttons of type="submit"
.
The form attribute is used to target a specific form.