- Home /
Camera chasing player C# script - no idea how!
sooo.. I have game for 2 players and i need camera movement like in IcyTower is. I mean, camera chasing both players and when p1 or p2 fell out of screen both loosing. you know, cocept is " its better together" :P Any ideas how i can write this script? I am noob-like in C#, tbh in all programmers languages..
If my explains is not so clear its like | p2 | |-------------p1------------------| | | Soo when p1 crossed this both players lost game. Hope, guys, you know what i mean. :/
Answer by LordDiego79 · Jun 13, 2018 at 03:10 PM
Check this video. I think this is what you're looking for:
https://www.youtube.com/watch?v=aLpixrPvlB8∈dex=26&list=PLPV2KyIb3jR6Wxj8HaJ_pZhBtaamtXL7J
Nah, exactly its not. Imagine game like icy tower. I need camera like that, but you'll lose when p1 or p2 fall out the screen. Or like in pou sky jump. Or like in happy jump. Camera still moves up, and when you stick to bottom side of screen you, or the 2nd player stick to bottom side of view you'll lose. :/
I just need idea for script which will make camera still moves up, independently of players position.