- When adding new game objects, make sure they inherit from the
pygame.sprite.Spriteclass. - Use the
pygame.sprite.Groupclass to manage groups of game objects. - All game objects should have a
drawmethod. - Create a new file called
game_object.pythat contains a base class for all game objects. The class should be calledGameObjectand should inherit frompygame.sprite.Sprite. - The
GameObjectclass should have adrawmethod that takes asurfaceargument.
-
Notifications
You must be signed in to change notification settings - Fork 0
the-vindex/bootdev-asteroids
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published