Question: Pygame and graphic The programming paradigm often used by graphics applications where it responds to events is called a. event handling b. waiting c. sequencing

Pygame and graphic

The programming paradigm often used by graphics applications where it responds to events is called

a. event handling

b. waiting

c. sequencing

d. triggering

In the command pygame.Rect(10, 20, 30, 40), the value 30 refers to

a. The y coordinate at the end of the rectangle

b. The width of the rectangle

c. The height of the rectangle

d. The x-coordinate at the end of the rectangle

Axis Aligned means that

a. both sides are aligned along the the center of the object to be displayed

b. one side is aligned along the the x-axis and the other one is aligned along the y-axis.

c. both sides are aligned along the the x-axis

d. both sides are aligned along the the y-axis

On technique use to detect collision is to see if the axis aligned bounding boxes around objects interset.

True

False

A game loop always have code that perform the following actions (multiple answers)

a. Validate user's input

b. Handle Eventes

c. Check for collision

d. Draw the game state to the screen

e. Update the game state

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!