Zebra0

Learn to Program Step-by-Step

Active Learning: Jump!

There are often calculations to make in programming. In animation you often have to calculate the distance to move towards a target. If you want a character to jump on top of an object, you need to first move close enough to jump, then jump high enough and over enough to land on it.

Create an Alice3 world with any scene and objects you want. Have an animal turn to face a prop, then move next to it and jump on top, then. jump down For example you might have a bunny that moves to a rock and hops on top of it. Next he hops down from the rock. Your code should not assume that there is a fixed position for the two objects. The program should still work even if you change the position of the 2 objects.

Save the Alice3 program as lastName_firstName_jump.a3p. For example mary_smith_jump.a3p

  1. Take a screen shot of the movie to post in this weeks discussion.
  2. Submit the lastName_firstName_jump.a3p file.

Active Learning Index

Like us on Facebook:


OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: May 25 2017 15:46:43.