ScratchData LogoScratchData
Back to LavaAfterburner's profile

Easy Scrolling and Parallax

LALavaAfterburner•Created January 29, 2019
Easy Scrolling and Parallax
272
223
2704 views
View on Scratch

Description

This is not a game... This Module is part of the Scratch Essentials Pack https://scratch.mit.edu/studios/5894380/ What it does: - It gives you the effect of a movable camera, but also of a parallax effect (background moves slower than foreground) How to use: - As this module allows you to make much bigger maps, you have to use the custom movement blocks (only for "go to x: … y: …", "change x by ...", "change y by ..." and "move ... steps") - Drag ParallaxTools into your backpack - Go into your game and drag it out. - Drag the 5 custom blocks out of ParallaxTools and onto any sprites that should be affected by the scrolling. - Set the Variables Scrolling_camX and Scrolling_camY to the camera position. You can set it to the mouse position, for example. - For a parallax effect (background moves slower than foreground), Set the "distance" input of the Scrolling block to how far away the sprite is from the camera Don't forget to credit me, when you use it. If you have more questions, feel free to ask me =) Joystick by @LavaAfterburner - Part of the Scratch Essentials Pack All coding by @LavaAfterburner Art by @Rizen- Ghost by Scratch Don't forget to love, favourite this project and to follow me =) Changelog -------------- v1.2 - Added the "Point towards" and "Move ... steps" blocks which can be really useful v1.1 - Added separate sprite for the tools v1.0 - Initial release

Project Details

Project ID282910058
CreatedJanuary 29, 2019
Last ModifiedOctober 7, 2020
SharedJanuary 29, 2019
Visibilityvisible
CommentsAllowed