Click HERE to return to homepage.
Q1: No, variables in programming are not the same as they are in math class, because in computer programming they are variables with a stored value, and are not necessarily part of an equation like in math. Q2: It can be for only one sprite or every sprite. Q3: A variable can keep only one value at a time. Q4: This code snippet will not work, because a variable can only store one variable at a time. So in order for the snippet to work there must be a third variable to transfer the data onto. Q5: The data is transferred to a temporary variable, then transfers to the other variable, allowing it to transfer, because a variable can only have one value at a time, and the value is lost if it is not part of a variable.