Showing posts with label Week 12. Show all posts
Showing posts with label Week 12. Show all posts

Tuesday, November 25, 2014

Tuesday November 25

Today I finished the frog tongue implementation without too much trouble. It now extends from the frog's mouth very quickly and snatches the fly. Had to add another variable to fly called isScored that is different from isEaten in that it is used to set whether the fish or frog reaches the fly first. IsEaten is used to show if the fly should be rendered or not.

Also inherited the task to fix the gap between each obstacle from Steven. It's a headache to get the fine tuning between too easy and too hard.

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