top of page
Bubble Bots Cover.png
KittyCode Programming Challenge

Bubble Bots

Make the Bubble Bots move from start to end at the push of a button!

1 - Enter the template.

Look at the code that is there to help you. This code will make your sprite appear in the same spot every time you press the green flag as your explore and discover how to put your code together.

Bubble Bots Initial.png

2 - Make the bubble bot's path appear.

Make your background switch to the horizontal line pointing right when you press the "a" key. This will give the bubble bot a direction to move in! 

Control Panel Scratch.png

Look

in these sections for blocks!

This line

is on the positive X axis!

Need Help_ Heres a Tip.png

3 - Bubble Bot to starting position! 

Drag your bubble bot to the starting point. This will set your block to the right position. Then, program your bubble bot to glide to this spot when you press the "a" key. 

Control Panel Scratch.png

Look

in this

 sectionfor blocks!

Need Help_ Heres a Tip.png

4- Move the bubble bot to the finish line! 

Drag the bubble bot to the finish lock its position into the block. Use the same block as above with the bot's new location. 

Notice how your bubble bot is moving across the positive X axis! 

Screen Shot 2019-06-24 at 2.10.05 PM.png
Need Help_ Heres a Tip.png

5- Let's try another path! 

Press the green flag to reposition your bots. Change the background to the horizontal line pointing left when you press the "b" key.  

This line

is on the negative X axis!

Need Help_ Heres a Tip.png

Hooray! You did it!

6- Move your bot to the starting position!

Drag your bubble bot to the starting point. This will set your block to the right position. Then, program your bubble bot to glide to this spot when you press the "b" key. 

Need Help_ Heres a Tip.png

7- Move your bot to the finish line!

Drag your bubble bot to the finish line. This will set your block to the right position. Then, program your bubble bot to glide to this spot when you press the "b" key. 

Screen Shot 2019-06-24 at 2.15.50 PM.png

Notice how your bubble bot is moving across the negative X axis! 

Need Help_ Heres a Tip.png

8- Let's try another path!

Press the green flag to reposition your bots. Change the background to the vertical line pointing up when you press the "c" key.  

This line

is on the positive Y axis!

Need Help_ Heres a Tip.png

9- Move from start to finish!

Program your bot to move from start to finish as you did above when you press the "c" key. 

Screen Shot 2019-06-24 at 3.05.24 PM.png

Notice how your bubble bot is moving across the positive Y axis! 

Need Help_ Heres a Tip.png

10- Let's try another path!

Press the green flag to reposition your bots. Change the background to the vertical line pointing down when you press the "d" key.  

This line

is on the negative Y axis!

Need Help_ Heres a Tip.png

11- Move from start to finish!

Program your bot to move from start to finish as you did above when you press the "d" key. 

Screen Shot 2019-06-24 at 3.02.36 PM.png

Notice how your bubble bot is moving across the negative Y axis! 

Need Help_ Heres a Tip.png

If you need help, click me to see the finished product!

Times.png
bottom of page