Friday, November 21, 2014

More gameplay testing and started with the frog's tongue

Today I worked on some more gameplay testing with the frog's gravity and jump power calculation. We want to strike a balance between the frog's jump power and the frequency at which the flies show up. If the fly height is low, the gap to the next fly should be shorter than if the fly height is high. All jumps still have to be doable, but at the same time it should not be too easy. You should not be able to do full charge jumps each time and clear the jump.

Also started work on the frog's tongue. The tongue will show only when the frog manages to eat a fly. It will extend from the frog's mouth to cover the fly. I have a basic tongue implemented, it needs to be slightly longer and thicker though, which is something the graphics guys will have to sort out.
The tongue will have to be rotated to the correct angle, depending on the position of the frog in relation to the fly. I'm having troubles rotating the tongue correctly. It seems I set the origin of the sprite in the wrong way or something so it rotates around some random axis instead of its own.

Tongue is way off where it's supposed to be (I.e. the frog's mouth).