Monday, February 6, 2017

HOUR OF CODE MINECRAFT DESIGNING


HOUR OF CODE MINCRAFT             ADVENTURE

WORKSPACE

On the right you can see 3 spaces. There is the gamespace: where you see how your code is being put to use. There is the toolbox: where you can find all the tools you are limited to using. There is also the workspace, where you make your code to perform the task.

LOOPS
Computers can do a task millions and billions of times without stopping and that is where the forever loop comes into play. This loop will make the chicken move forever.






EVENTS
In minecraft when you hit a cow it runs away, when a creeper comes by it will explode. These are called events. In hour of code use the event sheep when used to show what will happen when you interact with the sheep.






SPAWN

Spawning in things is the same as adding them into the world. You can spawn zombies at night if you put it inder the when night block. This will make it so the zombies would get spawned only at night.

No comments:

Post a Comment