tomSawkins / fishsimulator2014

2 stars 0 forks source link

Animation: swap image direction when going left... maybe... #8

Closed APrasser closed 10 years ago

mrgeoffrich commented 10 years ago

Animated. Perhaps can be changed to not flip and animate, instead just swap direction.

codeandcats commented 10 years ago

Hey Geoff, animation was cool but we agreed that it didn't really fit the cheap and nasty 8bit 2d feel we're going for, so I've commented out that code. I personally thought the rotation was a nice touch though, I briefly tried to keep the rotation in there while using the old way of flipping but couldn't get both to work (I think because the faceLeft class was using the transform css property but was getting overriden by the dynamic rotation in code) so I ended up just leaving it commented out for now but would be cool to get the rotation working again. :)

mrgeoffrich commented 10 years ago

No worries :) When I get a sec i'll clean it up.

mrgeoffrich commented 10 years ago

Rotation is in now without the flip animation!

codeandcats commented 10 years ago

Nice!