Skip to content

Instantly share code, notes, and snippets.

Piggyback Dungeon Ryder is a coop dungeon crawler about an archer that rides on the back of a giant. Player one controls the giant, and player two controls Ryder with the crossbow. Throughout the game, the two players will have to cooperate to overcome the challenges contained in the procedurally-organized dungeon. Traps and monsters await. They'll fight, they'll die and perhaps learn to love one another as a man loves a giant and a giant loves a man.

The story will be told through brief conversations between the two on rare enemy-free levels. Ryder is cursed and can't touch the ground or he'll die, and the giant needs to prove his bravery to be allowed to mate back home. They're on a quest together to break the curse. I'm hoping for a bit of a roadtrip feel, but we'll see how that turns out in days to come.

I'm working on the game by myself, and so far I'm pretty happy with my progress. Today was spent mostly on getting the giant's animations in place, building scenery textures, and working on

@mikelovesrobots
mikelovesrobots / jasmine_pretty_print_monkeypatch.coffee
Created July 24, 2012 18:53
Jasmine pretty print monkeypatch for sane test failure messages (dump in spec/javascripts/helpers)
jasmine.PrettyPrinter.prototype.iterateObject = (obj, fn) ->
for own property, _ of obj
if property == '__Jasmine_been_here_before__'
continue
fn(property, if obj.__lookupGetter__ then (obj.__lookupGetter__(property) != jasmine.undefined && obj.__lookupGetter__(property) != null) else false)
jasmine.StringPrettyPrinter::originalEmitObject = jasmine.StringPrettyPrinter::emitObject
jasmine.StringPrettyPrinter::emitObject = (obj) ->
if obj instanceof jQuery
// the node OOP-way
function Awake () {
var networkConnector = NetworkConnector(isHost());
networkConnector.connect(function() {
spawnPlayer();
});
}
// the unity3d-ish way
named_scope :sort_string, lambda do |type|
order_string = case type
when 'score'
"score desc"
when 'date'
"created_at desc"
else
raise "Unknown type passed into sort_string: #{type.inspect}"
end