Initial Commit

Humphrey The Rabbit WebGL Version

The goal of this project is to practice OpenGL and learn JavaScript at the same time.
Perpetuating the horror of Humphrey the Rabbit is the price we have to pay.
Run rabbit, run

Getting there. Animated sprites now.

Looked up the Biots site on Web Archive and found that the sprites are originally from Neko pets.
Some are modified. But A. Joseph Rheaume says unless someone from Neko pets complains they are public domain.
http://web.archive.org/web/20101009040049/http://www.scarybug.org/biots/info.html

Web Neko ? Is this where they were from? http://webneko.net/

Actually Considered implementing Biots (since I can't run the archived Java applet and it seems cool) but that would be a lot of work.
Stick with HtR for now.
Fly rabbit, Fly!

Sprites change based on velocity and can be animated.

Can't really use inheritence in JavaScript, so everything will just be an Entity but with customised methods.
Which is OK I guess. Just confusing.

Next: Player controls. Probably.
Movement, Boxes, Collisions, and Splash Screens

The biggest complaint about HtR I used to get was that it was awful*.

The second biggest complaint was that it was disconcerting that the game simply restarted
when you died, with no indication of what had happened.

So, I present to you <drumroll> *Splash* Screens! With glorious SVGs!
The SVGs may need some resizing/recolouring work. But I doubt that work will happen.

The splash screens do tend to occasionally cause the whole browser to crash,
but that should only be a minor inconvenience, as no one should be using their browser
for anything else anyway.

I did some other stuff, but that pales in comparison to the glory of the Splash screens.

Next: Foxes! Music! Profit? Mwuhaha

* Although some people did actually say it was awful in a good way...

Gah, why is my EDITOR nano
Foxes!

Also tweaked DeathScreen
Add theme Music

Tried to get MIDI.js to work, but it is broken.

Using HTML5 audio element and .ogg file seems to work.

Now that I have an amazing Splash Screen, I think I need to make a death sound effect to go with it.
Otherwise the player is not constantly being assaulted by noise, and that is a crying shame.

No victory condition yet... (traditionally it was when the music stopped).
Add Victory Screen
It's done! (ie: It is 2am so I am shipping it)

How did it get to be 2:20am :S

We have, in the order I remember them:
 - Fox Splash Screen for when you are eaten
 - Centering of stuff
 - A roof. Because I couldn't be bothered replicating the view scrolling.
 - Music. Or did I already commit that?
 - You can't win, but you get a nice break when the music stops.
 - The boxes are now squishable (health = 5).
 - Anything else I forgot.

There are still bugs.
 - The Fox can't make up its mind what way to face when directly above/below
   the player. This just looks bad; doesn't affect gameplay.
 - Objects can get stuck inside each other. Somehow you can get the player stuck in a box.
   This is kind of bad. But doesn't happen much.
 - You can wall jump forever. That was always a thing though. Now we have a roof to stop it.

HtR will return!
Merge branch 'master' of https://github.com/szmoore/htr-webgl

Need to Merge with GitHub to push to GitHub.