Development, Gamemaker, Joseph Coupland

Energy System

Because the aim of our game is to evolve we decided that when the enemies were defeated they would drop energy which would be spent in a shop to evolve, because of this I needed a system to make sure the player could get money (energy) to evolve.

To make sure this would work I created a scoring system that is drawn at the top left of the screen and I made it displayed its self as “Energy” I then made sure when the player collected the energy it would +1 to the energy’s score. Energy was created by Sam, so once the player defeated/hit enemies it spawned energy to which because of my coding could be collected and used.

When researching into how in tower defence games the player collects money I found that in most situations the game automatically collects the money for the player, I found that when playing the Plants vs Zombies the game was more interesting than the others in the sense of collecting money as the player had to collect the energy themselves, I believe it was more interesting as it engaged the player into the game more and because of it the had more things to do within the game, because of this I decided this would be the way the player collects their money. (energy)

Below is a video showing my energy code in game.

energy feature

Leave a comment