Basic Side Scrolling in Scratch

Publié le: 20 avril 2018
sur la chaîne: griffpatch
163,420
2.2k

So this simple scrolling technique I proposed in this project has some flaws - So i'm now beginning again with a new slightly more complex method, but this is the way I do it in the majority of my projects - So please go here:    • Scrolling Platformer Tutorial | Part 1 | G...  

This tutorial project will show a very basic project that implements side scrolling in Scratch. More screencasts to follow to explain things in more details, and add new elements to the project!

I spent a LONG time trying to figure out the simplet framework for scrolling that would allow scratchers to continue using the pattern of scripting they are used to, but also be flexible so that it could be built upon and extended.

You'll notice I do not use a single main game loop (which I always do in my own larger projects), but instead start off many independent forever loops in each sprite. This allows scratchers to add their own forever loops to control sprite movement, etc without introducing instant lag (that is associated with forever loops in my broadcast and wait tick based game loop).

This project is also set up to allow for a variety of scrolling mechanics (2 are shown in this video). I'll show how to adapt this for a full platformer, or other game types in other videos.

Something of interest to any scratcher is the way I initiated the forever loops using the list of broadcasts at the start of the project. This is something 'new' I've been experimenting with as it results in the receiving scripts forever loops being executed in the same order as the events are broadcast in. This can be REALLY helpful to know!

🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 https://griffpatch.academy 👈

😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu


Sur cette page du site, vous pouvez voir la vidéo en ligne Basic Side Scrolling in Scratch durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur griffpatch 20 avril 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 163,420 fois et il a aimé 2.2 mille téléspectateurs. Bon visionnage!