Eco Defenders
Eco Defenders
A serious game about sustainability and eco-friendy practices
Developed as part of IGB200 (Semester 2, 2025)
The game was developed by a team of four, including myself as the programmer, two game designers, and one artist.
This project was developed as an industry partnership between our group and Be Ready (AWIC)
Roles on Project: Programmer, Audio Design (Sourcing SFX), VFX (Design and Sourcing)
Eco Defenders is an isometric tower defense game developed for PC, in which players must place 'towers' in the forms of tradespeople to defeat household waste that is manifesting within the house, while also aiming to minimise eco-threats through sustainable and environmentally friendly construction practices. The towers follow an upgrade path which drives them to either become more eco-friendly, granting an increase in power and sustainability, or non-eco-friendly, granting an initial boost in defensive capability, but over time may cause more damage than good.
Programming:
Friendly tower behaviour and attack logic
Tower upgrade system including tower selection and basic upgrade UI
Audio system
Tower placement logic
Audio:
Sourced OST and SFX
VFX:
Designed several VFX for Electrician and HVAC type towers using ShaderGraph and Unity's particle system.
Enemy death effects
Sourced remaining VFX
Other:
Delivered final presentation for both fellow students and industry partners
Through this project, I learnt the importance of building scaleable architecture within my code, exposing relevant fields to the inspector via [SerializeField], in addition to utilising ScriptableObjects to separate data into easily modifiable objects for designers to balance. I placed special emphasis on utilising the four principles of OOP in the behavioural logic of friendly towers and enemy behaviour.
Furthermore, I gained experience with both the Unity particle system, Shuriken, which I utilised for the HVAC attack effects, in addition to ShaderGraphs, which I used when designing the custom glow effect for the lightning attack objects.
Through this project, I learnt the importance of building scaleable architecture within my code. I also made sure to utilise the four principles of OOP in the behavioural logic of friendly towers. Seen below, I used an abstract BasicTower class to handle core game loops (range checking, smooth rotation and enemy targeting and upgrade timers), while inherited classes such as Electrician would implement unique combat behaviours such as chain lightning. To ensure designers had easy access to tower parameters such as stat configurations, level parameters and attack object prefabs, data was decoupled into ScriptableObjects such as ElectricianData, from which the Electrician class would read and take values.
Short snippet of code from BasicTower, with virtual and abstract methods to be used by inherited classes.
Short snippet of code from the Electrician script designed to control Electrician specific behaviour. Abstract and virtual methods inherited/overridden from BasicTower allow for dynamic dispatching from within BasicTower.