2
2
Meet the Micro:bits
Coding is easy and fun when students meet the micro:bits. Learn to write and download code, so you are ready to create your own scientific tools!
Meet the Micro:bits
Coding is easy and fun when students meet the micro:bits. Learn to write and download code, so you are ready to create your own scientific tools!
Student Edition
(English/Spanish)
Student Edition
(English/Spanish)
Student Edition
(English/Spanish)
California Wildfires
KittyCode Programming Challenge
Gravity Jumper Game
What goes up must come down! Program a sprite to mimic gravity by jumping and landing back on the ground.
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 you explore and discover how to put your code together.
2 - Make your sprite jump
Program gravity for your sprite. When you press the spacebar, make your sprite jump up and and then land back on the ground.
3 - Make your sprite move back and forth
Program your sprite to move back and forth when you hit the left and right arrow keys. You can also create a moving animation by having your sprite change costumes.
Hooray! You Did It!
If you are an early finisher, enhancement your project by making it a game.
Enhancement 1 - Make baseballs fly across the screen.
To make baseballs fly across the screen. You only need one sprite to make many baseballs if you use the cloning function. First, just try cloning the baseball at random time intervals.
Hint: You will not see the clone yet, it is pasted exactly over the original sprite. In the next step you will assign a movement to the baseball clone.
Enhancement 2 - Make the Baseball Fly!
Make the baseball clone fly across the screen and hide when it hits the edge.
Enhancement 3- Make it a Game.
Make "Game Over" when the baseball touches the Quizzy sprite. You can do this by sensing a "touching color" block and changing the background.
When choosing a color to make the animations stop, use the eyedropper feature to select your color from the Quizzy sprite.
Enhancement 4 - Keep Score.
Create a variable called "Score."Give your player a point every time another baseball is launched.
Hooray! You Did It!
You made a program that mimics gravity!
You made a game!
If you need help, click me to see the finished product!