Skip to content

Instantly share code, notes, and snippets.

@shawn42
Created December 27, 2010 01:09
Show Gist options
  • Save shawn42/755774 to your computer and use it in GitHub Desktop.
Save shawn42/755774 to your computer and use it in GitHub Desktop.
/Users/shawn42/code/games/unexpected_outcome/src/actors.rb:38:in `block in invoke': undefined method `index' for #<Chingu::Animation:0x00000100ae00a0> (NoMethodError)
from /Users/shawn42/code/games/unexpected_outcome/src/actors.rb:38:in `each'
from /Users/shawn42/code/games/unexpected_outcome/src/actors.rb:38:in `all?'
from /Users/shawn42/code/games/unexpected_outcome/src/actors.rb:38:in `invoke'
from /Users/shawn42/code/games/unexpected_outcome/src/player.rb:78:in `block in space'
from /Users/shawn42/code/games/chingu/lib/chingu/traits/collision_detection.rb:254:in `block (3 levels) in each_collision'
@ippa
Copy link

ippa commented Dec 27, 2010

from /Users/shawn42/code/games/chingu/lib/chingu/traits/collision_detection.rb:254:in `block (3 levels) in each_collision'

.. that line tells me you have an old chingu on your disc, remove it and it will work :P.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment