Wednesday, April 29, 2020

third hour of the ten hours of programming (infotech)

third hour of the ten hours of programming
so today i was learning variables. we can type out "var" then what we want to represent like "eyesize" we always have to add an equal sign (gets) then the number and we can layer replace already existing numbers in other shapes with "eyesize" and then any number that has that will change to the number you chose for the eyesize!  but the command does have to be at the top because the computer reads from up to down.
i also took the small "test" to check how well i knew the variables. we had 4 questions and i got all 4 of them right on the first try!
right after we had another challenge. which was the bucktooth bunny challenge.
first we had to change the eyesize to big and then we had to change the size of his teeth. i did that easily.
we can also use variables in math expressions.example: var x = 200 and now we can change an existing number to x but we cant to keep all the shapes in the same place based on the original so what we can do for the others is count how far they are from x and type x - 50 or whatever it is based on the picture!
now there is yet another challenge, the funky frog challenge.
so we had to draw the mouth for the frog first and after that we just had to add the eyes. then we where done.
after that we had a review and then we where done!
so next ill be starting on the animation basics! and ill try to add the pictures later as well because i keep forgetting but i do have the screen shots!

No comments:

Post a Comment