Skip to content

Please update your browser

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

arrow_back Second Player


This add-on video will show you how to add a second athlete sprite to your project, so you can play with your friends and neighbors. For starters, to easily make another sprite with all the same code as your current athlete, duplicate the athlete sprite. Right-click it, and click “Duplicate.” Next, adjust the new, duplicate athlete slightly to make it unique. Start by changing the sprite’s costume in the “costumes” tab. Click this “Flip up-down” button in the top-right to make the athlete face in the opposite direction.

To change some colors on the new athlete, use the paint bucket tool.

Next, change the backdrop on the stage from one-player to two-player. Click the stage, then the “backdrops” tab, and select the backdrop with both a blue and a red bar.

Drag the new athlete to the top of the stage so that it’s opposing the other player.

Okay, the last step is to change the controls for this second player so that it doesn’t move with the same keys as the first one, and two players can play at the same time.

Back in the scripts, click the dropdown in each “sensing” block in the “forever” loop. Select two different keyboard keys. “A” and “d” are good choices because they’re on the other side of the keyboard. Test out your new athlete by clicking the flag and using the keys you selected to move it around. Does the ball bounce off the new sprite? Does it move the right way? Great, then you’re done.

Here’s the game plan: Duplicate your athlete.

Change the new athlete’s costume, orientation, and position.

Then, change the controls for this new athlete sprite.

Choose an Add-On
Bounce Reaction
Program the ball sprite to do or say something when it bounces.
Team Jersey
Design your athlete to reflect your favorite team.
Second Player
Add a second athlete to make a two player game.
Keep Score
Add a score counter to the game.
Play the Computer
Program a sprite to play against the user.
Random Rebound
Make the ball bounce in a random direction.
arrow_backward Back
Next arrow_forward
  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!