0000-JS-WHJ-PRO-C2: SQUARIADS
PRO-C2: SQUARIADS
https://www.youtube.com/watch?v=war3AnO8elY&feature=emb_logo
Getting Started:
- Login to code.org
- Click on Create and select Game Lab from the drop down menu.
- Rename the project as Project 2 and then click on Save.
- Start making changes to this blank project.
Specific Tasks to Complete the Project:
- Create 6 square pin sprites - pin1, pin2, pin3, pin4, pin5, pin6 with the following positions and size.
- For example: pin6=createSprite(240, 340, 20, 20);
- All pins and the shooting squariad should bounce off when they collide with the edges of the canvas.
- All pins and the squariad should only bounce against each other when they collide
- When the project is played, the shooting squariad should be released with:
- X velocity of 4 and Y velocity of 0.5.
- Click on "Run" once to check if the code is working./li>
Comments
Post a Comment