Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

JavaScript & CSS3 game prototypes

tree: ed006f9da2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Readme.md

Game Prototypes

A collection (currently one) of game prototypes built with "html 5" technologies. Read more in this blog post.

Character

This prototype consists of a character with some crude CSS animation, as well as looking at the cursor. Using CSS transitions on the eyes they move smooth like you might expect. When the character is idle he'll look at the cat (just because).

The birds have some lame randomization to simulate flying to/from the foreground, and across the scene. Same with the cat, he just walks around at random.

The hills display slight parallax displacement, however I made it very tame for now as I forgot that my images are transparent so the hills overlay and look all messed up.

You can also include tool.js allowing you to position assets.

Todo

  • proper engine structure
  • ditch jQuery, no need for it
  • preload scene assets
  • more character interaction
  • less spaghetti
Something went wrong with that request. Please try again.