The project consists of creating a camera that follows 2 characters on the screen for a 2D fighting game. As characters get close to each other, the camera zooms in, as they get far from each other, the camera zooms out.
Characters can move horizontally and vertically. Since the stage in which they fight is really big, if the characters get really far from each other, i would like for the camera to follow the only the character being controlled by the player.
There would also be a top and bottom limit in which the camera shouldn't go lower or above that limit even when following the player(s).
I will provide a video and sample code that can be used as example.
Bu iş için 26 freelancer ortalamada $260 teklif veriyor
Hi i can help u create this camera in unity, i made just a fast draft the final script will be much smoother for yr game. check this link: [login to view URL]
I can make you a script that takes 2 objects and 1 max distance variable. You would define max and minimum size for your camera and they would change in between when the distance changes. And when you hit the max dista Daha Fazla
Hi, I have over 5 years of experience working with Unity. I can create customizable 2D camera as per the mentioned requirement with smooth transitions Feel free to contact me I'll be happy to help.
hello i am Tanvir.I am an Intermediate game dev in unity with 3+ years of exp.I know how to make a 2D Fighting Game Camera i can do it really quickly for you!