Hello guys. ^^
I am currently trying to create an old style shooter which just moves from left to right, and eventually up. Anyways my problem is that by now i have so many objects and at first i tried to animate everything except the camera and the player, but as you probably guest its way to much work. So i figured i have to actually physically move the camera and the player. My question now.
I want the player to be able to move only in the viewport of the camera minus the hud on the top. Currently i have a mathClamp which isnt working if i move the camera + player because the x and y values change obviously.
I hope somebody out there understands me and can help me. ![]()
Im using Javascript btw. ^^