top of page

I love Coroutines! BunnyM&TPF Update 01

  • Writer: Miroslaw Sienkiewicz
    Miroslaw Sienkiewicz
  • May 22, 2019
  • 1 min read

Updated: Nov 20, 2019

Yesterday I wrote that I'll need a programmer to implement some features... and today features are implemented without any help (except some googling) :) Everything thanks to Coroutines in C# and a few neurons which still operate.

This lovely function allowed me to:

- add damage over time to a player while using Portal Ability (picture below)

- add damage over time to a player while colliding with the enemy

Portal Ability - Damage over time function

Now, the game is much more consistent and fluid.

Still, I need to work out how to trigger functions after closing Upgrade/Pause Menu as current implementation is in void Update and I can't use GetKeyUp to trigger anything because it will trigger immediately after taking the finger off the key (to activate Upgrade Menu). So no volume changes for the Menu for now :( Current script is nice because I can use it and add functions for every object now (like stopping player and enemies) so I'd like to keep it.

Now it's time to more sounds and art. I need to create something that makes Fluffy (rolling enemy) bounce.

 
 
 

Recent Posts

See All
Bye bye Scotland

Just a few days left a to leave Scotland and enjoy last days of real summer in France :) Master's in Game Development finished. Melodic...

 
 
 
Mid June Update

Summarize of the last few months when I went quiet: I'm in the 3rd semester of my MPROF Game Development course. Currently, I work with...

 
 
 

Comments


© 2020 Battle Angel Sound - All Rights Reserved

bottom of page