Daniel López

Lead Programmer

As a Lead programmer, I have to take care of the code so it's as optimized and clean as possible. I also explained to everyone who needed help with the code so they could work comfortably.

On this page i'll explain in detail what task i did by myself besides of the rest of the work that i helped with.

Buildings

Buildings are the part of the project that i've been most time working on. They're the most important pillar in our game so I've been updating them during the development of our game so they work perfectly.

They're created based on being as simple as possible so it can be changed at will. 
Each tower type has it's own stats so when you upgrade them, they are updated with the pre-introduced data.

Towers

Inside the buildings, towers are distinguished. There are 8 types of towers, and their status can be easily changed by changing its number in their constructor. 

Resources

The resource class has been created so they work as 1. when you create a resource, you can introduce it's resource type, the time it takes for collecting the resource, and the amount of resources it collects. 

https://gyazo.com/b63b0e514a13b4d96dd3b468315a5e29

Projectiles & Projectile Manager

I created a projectile manager used by units and towers so we can manage their projectiles easily.

https://gyazo.com/3193950afc0c337806da19fa289645f3

We have 8 types of projectiles as we have 8 types of towers.
I made the projectile as easy to modificate as I could so you can change so many parameters of it.

With this constructor, you can change all the parameters you can see in this image. You're able to change from its type, until it's time to impact, it's curvy and damage

Constructible Maps

Our map is divided into 2 different zones, one of them is based on a classic tower defense, and the other one is an open zone where you can also build walls to stop units from attacking your towers or making their way more difficult to reach the town hall.

I used this different maps to have a cleared differentiated zone in code where you can see in which zone are you building and return a quick response by asking in which zone you are by introducing the desired position. 

Save And Load

I managed our Save and Load methods so we can Save and Load correctly every feature of the game. 

I divided the Save file in different parts to save Building, units and resources separately.I Also managed to save all features related to score and UI.

Finally, I created a different file to save the achievement progression.

/*Example of the tower part in a saved file. 

Key Bindings

The key binding system that I created is pretty simple. Using an XML file you can replace the keys you want to use so they will be changed easily converting its string to a SDL_Scancode and saved.

Helping with other task

Code Tasks

As the coder of the project, if been as active as possible helping people who needed help with the code of our game.
I passed the most of the time working with Marc and Marti so it they needed something i'll be there to help them so we could solve things earlier and better. 
Mainly i helped José to understand almost every part of the code and how it works so he could change any parameter he wanted to balance the game.
I also helped and worked with Juliá with button tasks, creating them so we could have every button functioning correctly.

Art Tasks

When has been needed, I helped fixing errors in our map and adding new icons to buildings, units and investigations.

 

CITM, C/ de la Igualtat, 33, 08222 Terrassa, Barcelona
Creado con Webnode
¡Crea tu página web gratis! Esta página web fue creada con Webnode. Crea tu propia web gratis hoy mismo! Comenzar