0000-JS-WHJ-PRO-C2: SQUARIADS

 


PRO-C2: SQUARIADS

https://www.youtube.com/watch?v=war3AnO8elY&feature=emb_logo


Getting Started:
  1. Login to code.org
  2. Click on Create and select Game Lab from the drop down menu.
  3. Rename the project as Project 2 and then click on Save.
  4. Start making changes to this blank project.
Specific Tasks to Complete the Project:
  1. 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);
    img2
  2. All pins and the shooting squariad should bounce off when they collide with the edges of the canvas.
  3. All pins and the squariad should only bounce against each other when they collide
  4. When the project is played, the shooting squariad should be released with:
    • X velocity of 4 and Y velocity of 0.5.
  5. Click on "Run" once to check if the code is working./li>

Comments

Popular posts from this blog

0004-JS-WHJ-PRO-C8: THE WORLD’S HARDEST GAME

0001-JS-WHJ-PRO-C4: RETURN OF THE JEWEL THIEF