ScratchData LogoScratchData
Back to XxCodingAllDayxX's profile

Among Us - a Parallax

XXXxCodingAllDayxX•Created April 22, 2021
Among Us - a Parallax
2
2
16 views
View on Scratch

Instructions

Hey hey hey! I made another project! This one's an ඞMONG US PARALLAX! Ok, first things first: What is a parallax? A parallax is basically an interactive project you can't interact with. In other words, it's a project where you can move your mouse to look at the picture in a different way. The cool thing is, it feels like you're in it! How do I make a parallax? It is probably WAY easier than you think. Make a code like this in a sprite: When flag clicked Forever Go to X:(Mouse X) / ( ) Y: (Mouse Y) / ( ) Replace the blanks that look like this ( ) with a number from 1-100. The closer it is to 100, the slower it moves, and the closer it is to 1, the faster it moves. How do parallaxes work? Here is what the code means: When you set the sprite's coordinates to the mouse coordinates, the sprite's "middle point" follows your mouse. Dividing those coordinates by 2 or more make it move 1/2 or less of the mouse speed. That is how it gets slower at bigger, or closer-to-100 numbers.

Project Details

Project ID519880355
CreatedApril 22, 2021
Last ModifiedMarch 9, 2022
SharedApril 23, 2021
Visibilityvisible
CommentsAllowed