Assign 4 -
07-18-2018, 07:07 PM
I liked assignment 4 the best although, its probably because I had more control over what I wanted to do. Mine was about a magical cat that went to high school. Basically its just dialogue between 2 students then the cat jumps and sings. Everything was pretty simple except for the jumping different heights. To make the cat jump at different heights, I loop 2 separate jumps. Since the "up" and "down" had to be the same distance in each jump, I had to make an attribute called distance. Then I would declare distance a random number. I had to make sure a re-declared distance in the second jump, so jump 1 and jump 2 would not be the same. Then I looped both jumps so they would repeat. Hopefully I did it correctly.
|