Search Header Logo

pygame2

Authored by sarah jenkinson

Computers

12th Grade

pygame2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

6 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the following

a group to add multiple sprites to.

pygame.sprite.GroupSingle()

a method that all sprites should have.

a sprite group for a single sprite

pygame.sprite.spritecollide

returns a list of collided sprites

.update

checks for collisions between 2 groups

pygame.sprite.groupcollide()

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

I am an object that represents an image in the game world. I am a

(a)  

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

It is useful to add Sprites to groups because... Choose all that apply

they can all be drawn on the screen at the same time

you can check for collisions between groups

You can compare them to other groups

You can save them easily to a file.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.empty()

Is not a valid method

is a method run on just one sprite to remove its attributes

is a method run on a sprite group to remove all the sprites

is a method to empty the screen of all sprites

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With dokill set to False sprites are removed from a group after collision is detected

True

False

6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

The return type of a spritecollide method is...

(a)  

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?