9/27/2011 CS Implementing Animation Algorithms 1
9/27/2011 CS Implementing Animation Algorithms 1
Why do we use parameters? -Provide extra information for a method -So that we only have to code one method and it will work given any object/data provided as a parameter to the method.
Why do we use loops? -To do some action repeatedly Why do we use conditionals? -To give our code the power to do one of two things based on current data -To give our programs the power to decide
Set up the world and start programming it -we will continue working on this on Monday with the goal of adding realism
Tips: 1. Make a water world and use an island as the land 2. Use rocks instead of lily pads. 3. First, get the world set up with all objects in position before having them go into action. 4. Dont worry for now if the jumping and attacking dont look realjust get the basic movements downdont use move to