Mr. Vela's Class
  • Home
  • Assignments
  • Personal Website Project
  • Tutorial Videos
  • HTML Tags
  • Bookmarks
  • Keyboard Shortcuts

​Daily Directions

ATLAS
Code.org
Office 365

Extra Practice with the Draw Function

5/24/2019

0 Comments

 

Challenge 1:

Write a program that has a sprite moving across the screen slowly while rotating.
Picture
Picture



Challenge 2:

Write a program that has an alien moving across space while vibrating slightly (hint: you'll need the "randomNumber" code).
Picture
Picture



Challenge 3:

Copy and paste the following code into Game Lab, and then run the program:

var counter = 0;

function draw(){
  background("white");
  textSize(counter);
  text(counter, 0, 400);
  counter = counter + 1;
}


Edit the code so that the numbers count down and get smaller.
Picture

WHEN YOU'RE DONE...

Do a pixel art character that you want to animate tomorrow.
BLANK PIXEL ART
0 Comments



Leave a Reply.

    Author

    Mr. Vela's Daily Assignments

    Archives

    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    October 2017
    September 2017
    August 2017

    RSS Feed

Proudly powered by Weebly
  • Home
  • Assignments
  • Personal Website Project
  • Tutorial Videos
  • HTML Tags
  • Bookmarks
  • Keyboard Shortcuts