The Square by FrozenCow

[raw]
made by FrozenCow for LD22 (COMPO)
A game initially inspired by The Cube (http://www.imdb.com/title/tt0123755/) and Portal (no link required).

It's a short game that can be completed under a minute playable in a browser using javascript.

Controls are:
left and right arrows to move
A to jump
S to use objects.

I've tested the following browsers and they seem to work fine:
* Chromium 15.0.874.121
* Firefox 8.0.1
* Opera 11.60
It does even seem to be working in the Android browser, but I don't have the keys to control my character on my phone :P
If you have any problems with any browser or version, please let me know. I'm interested in the kinds of problems.

Existing code used: require.js underscore.js.

If you can't find how to solve the later stages you can decode the following base64-string for a hint:
UGxhY2UgdGhlIGNvcnBzZSBvbiB0aGUgcHJlc3N1cmUgcGFkLg==
(Decoder: http://www.opinionatedgeek.com/dotnet/tools/base64decode/)

Ratings

Coolness 46% 262
Overall 2.64 371
Audio 1.00 594
Fun 2.43 317
Graphics 2.21 493
Humor 2.40 173
Innovation 2.07 488
Mood 2.33 335
Theme 2.00 561

Feedback

mildmojo
19. Dec 2011 路 19:11 UTC
Animation and arrow controls seem really fluid.

Needs to disable typeahead find for the keypresses to work. Every time I press 'A' to jump, the find-in-page box captures all further keystrokes. (Firefox 8.0.1, but any browser w/typeahead, really)

In general, this means returning false from your key handler functions. If you're using a framework, it probably has a disableTypeAheadFind() method of some sort.
increpare
19. Dec 2011 路 19:51 UTC
I liked the final weight :P

I *almost* stopped at the ostensible ending screen.
ladron
19. Dec 2011 路 21:18 UTC
Fun little game - I played through to the end. The first time I played, something strange happened when I interacted with the switch - I ended up in another room, stuck at the top unable to move.
馃帳 FrozenCow
19. Dec 2011 路 22:13 UTC
@mildmojo, javascript performed better than I had expected, so I was surprised about the fps the game could run at.
I've looked into type-ahead and found it in firefox, but there doesn't seem to be a fix for me to do (return false or true doesn't work and any functions I search for online also will not work). There do seem to be other people suffering from this problem too. I guess the web isn't yet fully supporting games yet ;).
馃帳 FrozenCow
19. Dec 2011 路 22:14 UTC
@increpare, the 'prizes' are only for the explorers among us...
馃帳 FrozenCow
19. Dec 2011 路 22:16 UTC
@ladron, yes, the physics aren't the best. I guess you fell through the room to another non-existing one. I'll see whether I can reproduce it.
kato9
22. Dec 2011 路 05:11 UTC
The controls are a little...spastic, but overall I found this this to be quite playable and enjoyable. The puzzles were pretty well designed, and even though it was short, I felt it was a good experience. Nice ending too :)