A project 2D made with Unity in 2 weeks. Made by Me and Julia Yu Vives. The player has to kill the monster who is destroying the cold environment of this little village. Some penguins will try to defeat you but you will have to beat them throwing your pickaxe.
Code used to calculate the trajectory of the pickaxe to be able to launch it
Function in charge of calculating the rotation of the shaded area by simulating the illumination of a torch pointing in the direction where the mouse is located