Lab4bee150_bball_part2

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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/12/2009 for the course EE 150 taught by Professor Dr.burke during the Fall '08 term at USC.

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 Right Arrow Icon
Ask a homework question - tutors are online