Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

Transcript

This add-on challenges you to add to your project with very little direction on how to do it.

Watch this video for a few hints, then use your persistence and curiosity to figure out the rest.

In the looks menu, there is a block that lets you change the size of a sprite called change size by.

Entering a positive number in this block makes the sprite bigger.

While a negative number will make it smaller.

There is also a block called set size to, that sets the size of a block to a percentage of it's original size.

To make the sprite it's original size, enter 100% in the set size to block.

Now, connect the change size by block to some event or conditional that the user can do to make the size change occur.

If you'd like one idea for how to do this, watch the rotating add-on video and replace the turn block with a change size by block.

Or use event blocks.

A great aspect of computer science is there's lots of different ways to create and solve problems.

There's no right or wrong solution.

Instead, what matters most is the results.

Explore until you build something that works.

Once you've finished this add-on, update the instructions on your project page so people know which keys to press to change the size.

Now it's your turn.

Use events or conditionals and the change size by and or the set size to blocks to make the sprites get bigger and smaller.

Choose an Add-On
Falling Blocks (Part 1 of 2)
Create a game in which users create a building using falling blocks.
Falling Blocks (Part 2 of 2)
Create a game in which users create a building using falling blocks.
Rainbow City
Make the landscape turn into rainbow colors.
Detail Work
Make the sprites change size!
World Renowned Architect
Change the backdrop to other scenes.
Blueprints (Part 1 of 2)
Blueprints (Part 2 of 2)
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!