Classes |
| class | unlock.view.asteroids.WrappingSprite |
| class | unlock.view.asteroids.AsteroidSize |
| class | unlock.view.asteroids.Asteroid |
| class | unlock.view.asteroids.Player |
| class | unlock.view.asteroids.MovingSprite |
| class | unlock.view.asteroids.Bullet |
| class | unlock.view.asteroids.EffectSprite |
| class | unlock.view.asteroids.Starfield |
| class | unlock.view.asteroids.Overlay |
| class | unlock.view.asteroids.Banner |
| class | unlock.view.asteroids.Menu |
| class | unlock.view.asteroids.MenuItem |
| class | unlock.view.asteroids.ToggleMenuItem |
| class | unlock.view.asteroids.DifficultyMenuItem |
| class | unlock.view.asteroids.MainMenu |
| class | unlock.view.asteroids.OptionsMenu |
| class | unlock.view.asteroids.InstructionsMenu |
| class | unlock.view.asteroids.PauseMenu |
Packages |
| package | unlock.view.asteroids |
Functions |
| def | unlock::view::asteroids.center_anchor |
| def | unlock::view::asteroids.wrap |
| def | unlock::view::asteroids.to_radians |
| def | unlock::view::asteroids.check_collisions |
| def | unlock::view::asteroids.begin_main_menu |
| def | unlock::view::asteroids.begin_options_menu |
| def | unlock::view::asteroids.begin_instructions_menu |
| def | unlock::view::asteroids.begin_game |
| def | unlock::view::asteroids.begin_first_round |
| def | unlock::view::asteroids.next_round |
| def | unlock::view::asteroids.begin_round |
| def | unlock::view::asteroids.begin_play |
| def | unlock::view::asteroids.begin_life |
| def | unlock::view::asteroids.life_lost |
| def | unlock::view::asteroids.game_over |
| def | unlock::view::asteroids.pause_game |
| def | unlock::view::asteroids.resume_game |
| def | unlock::view::asteroids.end_game |
| def | unlock::view::asteroids.set_overlay |
| def | unlock::view::asteroids.begin_menu_background |
| def | unlock::view::asteroids.begin_clear_background |
| def | unlock::view::asteroids.on_key_press |
| def | unlock::view::asteroids.on_draw |
| def | unlock::view::asteroids.update |
Variables |
| int | unlock::view::asteroids.PLAYER_SPIN_SPEED = 360 |
| int | unlock::view::asteroids.PLAYER_ACCEL = 200 |
| float | unlock::view::asteroids.PLAYER_FIRE_DELAY = 0.1 |
| int | unlock::view::asteroids.BULLET_SPEED = 1000 |
| int | unlock::view::asteroids.MAX_ASTEROID_SPIN_SPEED = 180 |
| int | unlock::view::asteroids.MAX_ASTEROID_SPEED = 100 |
| list | unlock::view::asteroids.INITIAL_ASTEROIDS = [2, 3, 4, 5] |
| int | unlock::view::asteroids.ASTEROID_DEBRIS_COUNT = 3 |
| tuple | unlock::view::asteroids.MAX_DIFFICULTY = len(INITIAL_ASTEROIDS) |
| int | unlock::view::asteroids.ARENA_WIDTH = 640 |
| int | unlock::view::asteroids.ARENA_HEIGHT = 480 |
| | unlock::view::asteroids.KEY_FIRE = key.SPACE |
| | unlock::view::asteroids.KEY_PAUSE = key.ESCAPE |
| int | unlock::view::asteroids.COLLISION_RESOLUTION = 8 |
| float | unlock::view::asteroids.SMOKE_ANIMATION_PERIOD = 0.05 |
| float | unlock::view::asteroids.EXPLOSION_ANIMATION_PERIOD = 0.07 |
| float | unlock::view::asteroids.PLAYER_FLASH_PERIOD = 0.15 |
| int | unlock::view::asteroids.GET_READY_DELAY = 1 |
| int | unlock::view::asteroids.BEGIN_PLAY_DELAY = 2 |
| int | unlock::view::asteroids.LIFE_LOST_DELAY = 2 |
| tuple | unlock::view::asteroids.FONT_NAME = ('Verdana', 'Helvetica', 'Arial') |
| | unlock::view::asteroids.INSTRUCTIONS = \ |
| tuple | unlock::view::asteroids.win = pyglet.window.Window(ARENA_WIDTH, ARENA_HEIGHT, caption='Astraea') |
| tuple | unlock::view::asteroids.batch = pyglet.graphics.Batch() |
| tuple | unlock::view::asteroids.wrapping_batch = pyglet.graphics.Batch() |
| list | unlock::view::asteroids.asteroid_sizes |
| tuple | unlock::view::asteroids.bullet_image = resource.image('bullet.png') |
| tuple | unlock::view::asteroids.smoke_images_image = resource.image('smoke.png') |
| tuple | unlock::view::asteroids.smoke_images = pyglet.image.ImageGrid(smoke_images_image, 1, 8) |
| | unlock::view::asteroids.smoke_animation = \ |
| | unlock::view::asteroids.loop = False) |
| tuple | unlock::view::asteroids.explosion_images_image = resource.image('explosion.png') |
| tuple | unlock::view::asteroids.explosion_images = pyglet.image.ImageGrid(explosion_images_image, 2, 8) |
| | unlock::view::asteroids.explosion_animation = \ |
| tuple | unlock::view::asteroids.pointer_image = resource.image('pointer.png') |
| tuple | unlock::view::asteroids.pointer_image_flip = resource.image('pointer.png', flip_x=True) |
| tuple | unlock::view::asteroids.explosion_sound = resource.media('explosion.wav', streaming=False) |
| tuple | unlock::view::asteroids.bullet_sound = resource.media('bullet.wav', streaming=False) |
| tuple | unlock::view::asteroids.starfield = Starfield(resource.image('starfield.jpg')) |
| tuple | unlock::view::asteroids.player = Player(resource.image('ship.png'), wrapping_batch) |
| | unlock::view::asteroids.overlay = None |
| | unlock::view::asteroids.in_game = False |
| | unlock::view::asteroids.paused = False |
| int | unlock::view::asteroids.score = 0 |
| int | unlock::view::asteroids.difficulty = 2 |
| | unlock::view::asteroids.show_fps = False |
| | unlock::view::asteroids.enable_sound = True |
| tuple | unlock::view::asteroids.score_text |
| tuple | unlock::view::asteroids.fps_display = pyglet.window.FPSDisplay(win) |
| list | unlock::view::asteroids.bullets = [] |
| list | unlock::view::asteroids.animations = [] |