Tuesday, November 5, 2019

Unity : FPS Microgame new feature and gameplay.

Finally I added a Tracer's blink skill to the player.



Implement blink was really easy.

// tracer blink.
if (isGrounded && m_InputHandler.GetTracerBlink())
{
characterVelocity *= 10;

// make blink effect
GameObject obj = GameObject.Instantiate(trailPrefab,
transform.position, Quaternion.identity);
obj.GetComponent<VFX_Trail>().SetFollowObject(gameObject, 0.7f);
}


For trail effect I added trail effect object and 0.7 later it will be destroyed. As you can see there is a variable characterVelocity. That's a character's velocity and blink skill just boost the current velocity 10 times faster.

I added portal, weapon tuning, new blink skills and tried to play this game to make it look fun.








That is it! I hope you enjoyed this series of article. :)


No comments:

Post a Comment

Task in UnrealEngine

 https://www.youtube.com/watch?v=1lBadANnJaw