LJ:
discussion on where we're at
video [see pre-class activities]
variable - a name to which data can be assigned
"int"variable - integer holding
"float"variable - any number, decimals included
"bool" true or false e.g. playerIsAlive
"string"playerName- what the character is named
methods aka functions
define a name to which specific instructions belong e.g. explode instructions
[see example in video]
"So what could I learn from the process of doing this activity?"
"So what; did work and did not work during these activities?"
"So what; was efficient or inefficient about my process during these activities?"
"Now what can I do to apply these lessons to future activities future projects or my future career?
Created own level where spinning coins would give XP when picked up, increasing both movement speed and jump height
Added commands for moving left and right with WASD keys
What did I learn? What am I having difficulty with?
I learnt about what variables are and the different types. I was expecting coding variables to be similar to math variables, and I was sort of right. Variables are still just 'things that change' but they can't really be used as replacements/placeholders for other segments, as I thought would be the case. This class is giving me some trouble as I'm struggling to get the hang of around reading code.
Questions?
I don't have any specific outstanding questions at the moment, but I think it would be beneficial for me to watch the video again.
What do I need to work on?
Learning to read code and identify the different segments and variables is something I definitely need to practice. Getting to know my way around the engine will also likely be helpful, as I am unfamiliar with Unity. I am looking into getting it on my PC at home.
Phillips, P. (2022). Variables and Operators [Lecture slides]. SAE Creative Media Institute. https://docs.google.com/presentation/d/1Gf2enEPr5w8DbA1W1laX_KAEuAYekOZQ81oI0yov_GI/present?slide=id.p
Phillips, P. (2022). Functions [Lecture slides]. SAE Creative Media Institute. https://docs.google.com/presentation/d/1Gf2enEPr5w8DbA1W1laX_KAEuAYekOZQ81oI0yov_GI/present?slide=id.p
NOTES:
two forward slashes are a comment and do not affect the code
Object-oriented coding - so that people can understand the code, instead of doing it so the computer understands