Today was a good wrap-up and addition of further content. On top of various bug fixes, we introduced the next enemy, an odd inclusion of a squid creature:
Unless hit by contact, the squids' ink bullets do not hurt the player. This required a bit of extra working, as the player is set up to move slowly for five seconds while the black ink effect slowly interpolates from the bear's color. Along with that, the water also can wash off the ink effect. This was a bit tricky, as I had to keep track of the coroutine and prematurely start or stop it based on added ink or entering the water. Reinstantiating the coroutine did the trick.
The squid also has a very particular movement. Instead of moving with a specific velocity, the squid has a coroutine that applies a force every couple of seconds that gives it a more realistic burst movement, akin to that of an actual squid.
With this new enemy in and a couple of fixes here and there (the slider, for example, blocking the player from tilting toward the bottom of the screen), the game is pretty tightly made at this point. Just needs a bit of playtesting (which can be difficult with so much going on in the scene!)
No comments:
Post a Comment