Discuss Scratch

-Jacu-
Scratcher
13 posts

✨How To Make A ⭐Simple Scroll Engine⭐ On Scratch!✨

It looks great! I will definitely give this a try.
jrtugtygh34
Scratcher
500+ posts

✨How To Make A ⭐Simple Scroll Engine⭐ On Scratch!✨

-Jacu- wrote:

It looks great! I will definitely give this a try.
Thanks!
pokemaster_legend
Scratcher
7 posts

✨How To Make A ⭐Simple Scroll Engine⭐ On Scratch!✨

if <not <key pressed?>> and <not <key pressed?>> then
set to ((screen x) + (((90) - (screen x)) * 0.2)) // EASE toward 90
else
set to // Snap to center when moving
end
pokemaster_legend
Scratcher
7 posts

✨How To Make A ⭐Simple Scroll Engine⭐ On Scratch!✨

forever
// Glide X position to target
if <(x position) < (target x)> then
change x by (5) // Move right toward target X
end
if <(x position) > (target x)> then
change x by (-5) // Move left toward target X
end

// Glide Y position to target
if <(y position) < (target y)> then
change y by (5) // Move up toward target Y
end
if <(y position) > (target y)> then
change y by (-5) // Move down toward target Y
end
end

Last edited by pokemaster_legend (March 12, 2025 15:55:30)

sonicman1234555
Scratcher
1 post

✨How To Make A ⭐Simple Scroll Engine⭐ On Scratch!✨

jrtugtygh34 wrote:

Have you ever wondered how to create a game using some scrolling mechanics. Well here it is! This simple tutorial takes only 10 minutes to complete and has some nice polishing features like a smooth camera and screen shake!

The Tutorial
Here's a link to the tutorial I made on Youtube! https://youtu.be/rY8IySiaF4Y

Just click on a link and you'll be brought to my tutorial about creating a scroll engine in scratch!

Images


A image of the thumbnail of the project


Conclusion

I hope you enjoy the tutorial! I took me a long time to cut and edit but I finally made it! I am looking forward to seeing you create projects using this tutorial!

Powered by DjangoBB