Saturday, 15 November 2014

Pickups

Pickups... These are the gifts found throughout the levels of the game. Some will be given when you defeat an enemy (Score/XP), and others will be scattered around (Health/Armour).

For the pickups I have created 1 universal script that handles all types of pickups the player will find. The way the pickups are decided is with a public bool variable, that is decided when the pickup is created.

The pickup works by detecting collisions with the player, and then giving the player the bonus that pickup is for.

Again the art for the pickups is temporary, as artist are yet to supply art work for them.
Black = XP, Blue = Score, Red = Health, Green = Armour

Future additions to the pickups, will be instanciating the score & xp pickups when an enemy is defeated

No comments:

Post a Comment