December 16th-19th 2011 :: Theme: Alone

Back to Browse Entries

The Square

by FrozenCow - 48 Hour Compo Entry

A game initially inspired by The Cube ( 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:

Downloads and Links




mildmojo says ...
Dec 19, 2011 @ 7:16pm

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 says ...
Dec 19, 2011 @ 7:56pm

I liked the final weight :P

I *almost* stopped at the ostensible ending screen.

ladron says ...
Dec 19, 2011 @ 9:23pm

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 says ...
Dec 19, 2011 @ 10:18pm

@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 says ...
Dec 19, 2011 @ 10:19pm

@increpare, the 'prizes' are only for the explorers among us...

FrozenCow says ...
Dec 19, 2011 @ 10:21pm

@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 says ...
Dec 22, 2011 @ 5:16am

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 :)

You must sign in to comment.

[cache: storing page]