Loading...
13,151
2 years ago

Customizable FNAF Scrolling + MFA Download


This came out of nowhere, right? I decided to make a customizable scrolling out of boredom and it turned out pretty good I might say. I got convinced by @MartinArthur to release it, so here it is lol.

This scrolling in general takes only 2 lines of code!

image.png

You can simply copy the Camera object and its code, it calculates the window's resolution, so do not worry about changing any values in the code! Although, I recommend using it for 16:9 resolutions.

image.png

Only change the Virtual Width of the frame. (Change Virtual Height too if you want Y Scrolling.)

Also, make sure to change these settings for objects that are outside the frame area. It is REALLY needed to be done.

image.png

For the Camera object, you can change these 2 values to anything you like!

image.png

For newer CF version users, you turn off or on flags in properties.

image.png

For older CF version users, you simply turn the flags in the Start of Frame event.

image.png

flag 0 being Scroll X and flag 1 being Scroll Y


https://www.mediafire.com/file/n8ytia1qb1s21sb/Customizable_FNAF_Scrolling_Example.mfa/file


Watch for future updates!

Update 1 (May 24th 2022):

  • Added subpixel precision.

Update 2 (May 25th 2022):

  • Added Y Scrolling.

Update 3 (June 24th 2022):

  • Replaced maximum and minimum calculations with range calculations. (Makes no difference in behavior, but makes the code look less messy.)

  • Added more showcase options.


No credit is needed. Enjoy!

If you encounter any issues or if you're unsure about something, make sure to tell me and I'll answer!



24 comments

Loading...

Next up

Yo guys sorry but I'm the reason why Ramiz & Friends hasn't been released yet but it should be finished this month, TRUST!

@GhostGamesX

https://gamejolt.com/games/ramizandfriends/790122

1987 Official Poster!

we already got repti v1 dlc

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

no more eddie plushie sorry

Thank you to my top September supporters!

@pumpandskid123 , @lahanz , @PelonyGamer1

10/05/24 - Night 1 "Momentum Mania" out now

Thank you to my top August supporters!

@pumpandskid123 , @lahanz , @PelonyBackAgain