Unit 4 Assignment: Decisions Structures and
Functions
Outcomes addressed in this activity:
Unit outcomes:
1.Examine how functions get and return information about objects.
2.Use a decision structre in a prgram.
Course outcome(s) practised in this until:
ITI111-3: Apply the programming constructs of iteration, assignment and decision making.
Instructions:
Move to closest object
Note: You can use any scene and any three objects in your own animation,and you can create any environment that you want. You may also use the environment and object in the example if you prefer.
Penguin moves to closest object
Our goal is to use conditionals to have a penguin move to the object that is closest to it.
Get Free Quote!
402 Experts Online