Loading...
13,201
4 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

Forgot to include one more project I worked on February, Project: Anxiety 2.0. [2025, part 2]

Who's in the shadows?

Forgotten at Fredbear's is OUT NOW!!!

https://gamejolt.com/games/Forgotten/686230

Helpy!! (49/365)

FleshBound | Cinematic trailer

love @GhostGamesX for PEAK AGES!!

Don't miss out on the #WitchspireArt competition!

To celebrate Witchspire's demo launch, Envar Games want to see your Witchspire fan art. Enter to win an Amazon gift card!

Complete our quest to enter.

Learn more: https://bit.ly/WitchspireArtCompetition