First assignment

The first assignment I got at Campus Gotland was to do a analysis of the game space invader, listing the objects and there behaviors, and do a relationship grid.

And hear the result.

Objects

Player craft:

Properties: Graphics, Location, Speed, HP, Lives.

Behaviors: Movement, Spawning Bullet.

 

Player Bullet:

Properties: Graphics, Location, Speed, Damage, Unique,

Behaviors: Movement.

 

Enemy 1, 2 & 3:

Properties: Graphics Location, Speed, HP, Score.

Behaviors: Movement, Spawning Bullet, Speeding up.

 

Enemy Bullet 1 & 2:

Properties: Graphics, Location, Speed, Damage.

Behaviors: Movement.

 

Shield Part:

Properties: Graphics, Location, HP.

Behaviors: None

 

UFO:

Properties: Graphics, Location, Speed, Score.

Behaviors: Movement.

 

Score:

Properties: Value.

Behaviors: None.

 

High Score:

Properties: Value.

Behaviors: None.

 

Screen:

Properties: Graphics,

Behaviors: Display

 

 

 

PlayerCraft Player Bullet Enemy1, 2, 3 Enemy Bullet Shield Part UFO Score HighScore Screen
Player Craft
Player Bullet Spawn
Enemy 1, 2, 3 ——– Destroys
Enemy Bullet Destroys Destroy both,Destroy and keep going Spawn
Shield Part Cover Destroy Cover Destroy
UFO ———- Destroy ——– ——— Cover
Score ———- ———- Increase ——— ——– Increase
High Score ———- ———- ——– ——— ——– ——– Increase if bigger
Screen Display Display Display Display Display Display Display Display

 

 

//Odd Jensen

 

About Odd Jensen

2014  Programming