Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Code in Python, use comments. Draw a car(use up down left and right arrow keys to control the car), with a background. Also, draw a
Code in Python, use comments. Draw a car(use up down left and right arrow keys to control the car), with a background. Also, draw a bird use the mouse to control the bird.
This lab gives you a chance to practice drawing an object with a function, and allowing the user to control it. reate one program that has the following: 1. Create at least two different functions that draw an object to the screen. For example, draw_bird and draw_tree. Do not draw a stick figure, we did that one already. Create your own unique item. Do not simply draw a circle or rectangle. That's boring. Draw a train, or cloud, or house, T-Rex or whatever. But minimal work-minimal points. If you created your own object in the create-a- picture lab feel free to adapt it to this lab. 2. In Chapter 10, we talked about moving graphics with the keyboard, a game controller, and the mouse. Pick two of those and use them to control two different items on the screen. 3. In the case of the game controller and the keyboard, make sure to add checks so that your object does not move off-screen and get lost. Remember the worksheet 10 question, don't just reverse the direction like the bouncing rectangle. This lab gives you a chance to practice drawing an object with a function, and allowing the user to control it. reate one program that has the following: 1. Create at least two different functions that draw an object to the screen. For example, draw_bird and draw_tree. Do not draw a stick figure, we did that one already. Create your own unique item. Do not simply draw a circle or rectangle. That's boring. Draw a train, or cloud, or house, T-Rex or whatever. But minimal work-minimal points. If you created your own object in the create-a- picture lab feel free to adapt it to this lab. 2. In Chapter 10, we talked about moving graphics with the keyboard, a game controller, and the mouse. Pick two of those and use them to control two different items on the screen. 3. In the case of the game controller and the keyboard, make sure to add checks so that your object does not move off-screen and get lost. Remember the worksheet 10 question, don't just reverse the direction like the bouncing rectangleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started