FNAF 6-styled camera

I am trying to make a FNAF-like camera, basically you hover your mouse into the edge of your screen and it rotates the entire camera, hovering the mouse to the right-most side would rotate it to the right, vise versa. I can accomplish this using two buttons with MouseEnter events, but how would I establish a relationship between which button rotates the camera and to what side?

NOTE: Camera rotates once and does NOT follow the mouse, rotations are full and will be animated with TweenService, they are not gradual

3 Likes

I think in the original 6th game of FNAF when you’re suppose to work after closing time, you’re suppose to touch invisible frames that is located on the left and the right of your screen, which will cause rotation to the specific side (or depends what exact camera system you want to remake from FNAF, because there’s several mini-games that uses different camera system).

Basically, the specific rotations will be specified by an number, where: 1 is a left rotation, 2 is a center and 3 is a right rotation

When you move your cursor to specific frame - it will rotate the camera to specific rotation, if you’re on right side then the right invisible frame will not be functional, same will happen with left side, where the left invisible frame will not be functional too.
Depends on rotation, to return to the center, you must use only available frame

So, tell me, have i descripted everything correct that you wanted in your system?

Yes, that is exactly how I want it

1 Like

Good, do you have any code that you’re working on?

yes, however I will attempt to work it out myself before posting it

1 Like

thanks for the help, but I figured it out myself

2 Likes

Oh, welp, you’re good with this!

1 Like