Programming - Prototyping the Slime Glob power

Slime Glob Prototype

In Super Street Skate, you are an individual with powers that extend from the norm, one such power is the Slime Glob ranged attack, in this you are able to throw a large glob of slime while airborne, this glob will then explode immediately when in contact with an enemy or after a duration if in contact with a surface. When the glob explodes smaller globs are created as seen in the above picture, these too will explode when in contact with an enemy or after a duration when in contact with a surface.

Whilst creating this power a few issues arose where the glob wouldn't behave like  viscous liquid when it came into contact with a surface, and where the smaller glob would collide with each other. In order to fix the smaller glob colliding with each other, I was able to explicitly tell the smaller globs to ignore collisions with the other globs from the same parent glob. As for the issue of not behaving as a viscous liquid, I used the solution of forcing the object to have a very large air resistance, there for causing it to move sluggishly after being in contact with a surface.

Posted on September 30, 2015 .