superchair productions proudly presents… pygame © 2006 superchair productions. all rights...

16
SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved.

Upload: marjorie-booker

Post on 02-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

SuperChair Productions proudly presents…

PYGAME

© 2006 SuperChair Productions. All rights reserved.

Page 2: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

GAME FEATURES

5 or more players supported client\server management, clients can join

and leave dynamically shooting weapons and hits\misses team play support (2 teams, players

automatically assigned) consistency between player views (steps

have been taken to ensure the clients stay synchronized)

Page 3: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

GAME FEATURES

communications protocol specification sound support via our sound subsystem game mode support (currently there are three game

modes, the loading screen, the main menu and the combat zone)

support for sprites with multiple frames (AnimatedSprite, used for explosions and smoke)

novel player tank control system (keyboard and mouse) - tanks have health (and will explode if it becomes too low)

compiled python code (allowing for secure distribution of our product)

Page 4: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

The TankWrapper and related Classes

Enemy tanks do not have a crosshair MachineGunBullet sprites created when a shot is fired AnimatedSprites are currently used for explosions only

pygame.pygame.Sprite

TankCrosshair Turret MachineGunBullet

-image_set

AnimatedSprite

Weapon-tank : Tank-turret : Turret-crosshair(pt) : Crosshair-weapon : Weapon

TankWrapper

Page 5: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

The Tank is Composed of 3 Sprites

A base body sprite

A turret sprite

A crosshair sprite (for player tank only)

Page 6: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

An in-game screen shot

Page 7: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

A projectile is unleashed! A MachineGunBullet sprite is created.

Page 8: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Target hit resulting in an explosion!An AnimatedSprite is created.

Page 9: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

The Tank’s health is too low! A spectacular explosion is the end result. An animated Sprite is created.

Page 10: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Turret Motion: STEP 1- find TV

Page 11: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Turret Motion: Step 2: find angle

Page 12: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Turret Motion: Step 3: angle correction

Page 13: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Turret Motion: Step 4: rotate the turret sprite

-Sorry, no image available.

Page 14: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

Turret Motion: Step 5: If weapon range exceeded, correct crosshair position

Page 15: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

FUTURE CONSIDERATION

use of multiple tanks frames to indicate physical tank damage

smoke that "thickens" as damage increases (we will utilize the alpha channel)

in-game music player, ability to turn off different tile sets water and quick sand on maps (tanks move

slower)

Page 16: SuperChair Productions proudly presents… PYGAME © 2006 SuperChair Productions. All rights reserved

FUTURE CONSIDERATION

cloaking device destroyable terrain maps whose size are larger than the available screen

space ability to send text message to other players support for various styles of game play such free-for-

all, team play, etc. multiple weapons GUI considerations such health bar, ammo bar, etc. mines score board