{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab4bee150_bball_part2

# Lab4bee150_bball_part2 - EE 150 Lab 4b Hit the target 1...

This preview shows pages 1–2. Sign up to view the full content.

Last Revised: 10/6/2008 1 EE 150 Lab 4b Hit the target 1 Introduction In this lab you will modify your beach ball animation from the previous part of this lab and create a simple game where the goal is to enter an initial and velocity and angle such that the ball will hit a target some distance away from the starting position. 2 What you will learn This lab exercise will extend the programming concepts used in previous labs. 3 Background Information and Notes To build up the functionality of the game, we will draw a wall with a hole in it. This will be a special wall in that we will not make the ball bounce off of it, but simply pass through. However, the goal will be to get the ball to not touch any part of the wall as it passes through, but instead to go through the hole in the wall. The first step will be to draw the wall with the hole. The wall will always be 19.5 meters to the right of the starting point. The hole in the wall will be 5 meters wide. However the vertical position of the hole in the wall will be a parameter that can be

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

Lab4bee150_bball_part2 - EE 150 Lab 4b Hit the target 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online