Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make a scrolling backround that follows the player?
- oogabooga_gaming
-
23 posts
How do you make a scrolling backround that follows the player?
I need to know how to make a scrolling backround follows the player for a top down shooter
when green flag clicked
forever
if <[answered] = [yes]> then
say [Thank You!]
end
end
Last edited by oogabooga_gaming (Nov. 25, 2021 01:11:03)
- NMario84
-
1000+ posts
How do you make a scrolling backround that follows the player?
What do you mean by “follows the player”?
If you're moving the player forward, you need to move the background assets the other direction the player is moving, then move the player back along with the background.
If you're moving the player forward, you need to move the background assets the other direction the player is moving, then move the player back along with the background.
- NashwanYT
-
100+ posts
How do you make a scrolling backround that follows the player?
SHe means when the players moves the backgorund moves What do you mean by “follows the player”?
If you're moving the player forward, you need to move the background assets the other direction the player is moving, then move the player back along with the background.
- deck26
-
1000+ posts
How do you make a scrolling backround that follows the player?
The wiki includes pages on scrolling and I have some basic introductory projects but you need to clarify what is required. In most scrollers the player doesn't actually move (or, for example moves up and down but horizontal movement is the background moving rather than the player). So does your player actually move or only the background?
- alphawolf77777
-
32 posts
How do you make a scrolling backround that follows the player?
so basically when you press the arrow key it moves the background in the other direction
put this script in the background
put this script in the background
when [right arrow v] key pressed
move (-10) steps
- bcs320jn
-
100+ posts
How do you make a scrolling backround that follows the player?
Got a script for a scrolling background here: https://scratch.mit.edu/projects/607661365/
- Discussion Forums
- » Help with Scripts
-
» How do you make a scrolling backround that follows the player?