A Hopscotcher’s Guide To Hopscotch! (That sounds weird. 0_o)

hopscotch
help
helpwithcode

#1

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

  1. NIH is Number Inserted Here

First we will cover movement blocks!

Movement

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.

Movement Blocks!

Change X By (NIH)

This block moves your object from side to side. Here is a coded example.
https://c.gethopscotch.com/p/zkhm2mdhn
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!
Coded example:
https://c.gethopscotch.com/p/zkhm38v0c
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!
Coded Example:
https://c.gethopscotch.com/p/zkhmeagb9

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!
Coded Example:
https://c.gethopscotch.com/p/zkhmu5r47

This is a W.I.P, more will be added later!


#2

I’m excited to see the final result! This looks great already! :slight_smile:


#3

Thanks! I got bored, I’ll try finishing movement today.


#4

In school we had to write instructions for stuff, so I wrote mine on Hopscotch.