Mr. Vela's Class
  • Home
  • FireAlplaca Final Project
  • FireAlpaca Basics

​Daily Directions

ATLAS
Code.org
Office 365

Extra Practice with the Draw Function

5/24/2019

 

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

Comments are closed.
Proudly powered by Weebly
  • Home
  • FireAlplaca Final Project
  • FireAlpaca Basics