This is a guide for Hopscotchers to get tips for code! In this tutorial, you will learn how to make backgrounds, use clones and variables, and more! Feel free to change the numbers around in all the links!
Abbreviations For Tutorial
- NIH is Number Inserted Here
First we will cover movement blocks!
Movement moves your object around the coding board, which is 1024 “pixels” in length and 768 in height. I will tell you about scrolling at the end of movement.
Change X By (NIH)
This block moves your object from side to side. Here is a coded example.
I named the project bleh because I was bored but you can name it whatever you want! You can also use the purple blocks, like 50+(79-16).(More explained later)
Change Y By (NIH)
This is the same as Change X By, but the object moves up and down!
Purple block usage (adding, subtracting, etc.)
You could change the blocks to “Change Y By 10X10” in this scenario.
Set Angle (NIH)
This sets an angle from 0 to any angle possible. Of course, there are only 360 degrees in a full circle, but decimals…you could have over 100 digits which makes…
Sorry, brain wandered off!
Turn Degrees (NIH)
This block turns an object a certain amount of degrees. But if the degrees is, for example, 28 and you want to get to 90, you put “Turn Degrees 62” instead of turn degrees 90. I would just use set angle, but it’s your choice!