In this tutorial I will explain how a simple vertex displacement shader works for animating fishes. A shader that is included on my unity tool called Fish Flock. I will assume that you have some experience with coding shaders on Unity, at least a basic idea of how it works and some understanding on how …
Month: June 2020
One of the things I like when reading text files on unity that contains data I need for whatever the thing i’m making is the TextAsset. Start with a simple script like this: And you can use the myFile field to place whatever the text asset you want. I will fill in the text file …
Here is a simple walkthrough to make a simple 2D shooting mechanic. Using Prefabs or Raycasts will do to make it, you can choose one of them based on what you want to achieve in your game. If you want a bullet to immediately hit the target you are aiming then maybe raycast is the …