CS Discoveries | Shapes and Parameters https://studio.code.org/docs/csd/shape_size_map/index.html
Some blocks in Game Lab have inputs, or parameters, that aren’t used every time.
Some blocks in Game Lab have inputs, or parameters, that aren’t used every time.
Using the setScreen command to change screens with codeThe setScreen command changes the screen to show whatever screen you want. You specify the screen by its ID.
In Game Lab, Animations are drawings or other images that you can use to the change the look of your sprites. You can use the sprite.setAnimation() block to change your sprite’s animations to any of the animations that you have added in the Animation Tab.
When trying to debug a program, it’s useful to keep track of the current value of a variable or sprite property as the program runs. Sometimes you can use console.log() to quickly report the value of a variable, but that’s not so useful when you want to track multiple variables, or variables that change often during your program.
A function is a group of commands (blocks) that you give a name so that you can use it over and over again.
There are many CSS properties available that allow you to style the text on your page. Here’s a review of some of the more common ones
The getProperty() command allows you to get the current value of design element properties. Like setProperty(), its first input is the id of a design element and the second is a property of that element. Unlike setProperty(), the getProperty() command has no third input.
What is HTML?In order to display a web page a computer needs to know a lot more than just what words or images should be on the screen. It needs to know where to place the content, what size to make it, what fonts and colors to use, and lots of other information that turns ordinary text and images into a full web page.
Using Random NumbersThe randomNumber() block can be used to generate random numbers in your programs. The parameters set the minimum and maximum value that could be generated. You can use this block anywhere that you could write a number.
Almost all pages that you create will have headings and paragraphs.