Author Archives: Andrée Henriksson

We now have a playable version of our TD. It is not yet a game, but almost there. Towers can be placed, they shoot when they detect enemy within their range. The bullets can now collide with the enemy and their damage is done to the enemy’s health. When its health reaches 0 it dies and is removed. When the last enemy dies, the next wave spawnes after a short delay.
To do before it can be called a game: Win-condition […]

/ Comments Off on
Program: Programming

We now have a playable version of our TD. It is not yet a game, but almost there. Towers can be placed, they shoot when they detect enemy within their range. The bullets can now collide with the enemy and their damage is done to the enemy’s health. When its health reaches 0 it dies and is removed. When the last enemy dies, the next wave spawnes after a short delay.
To do before it can be called a game: Win-condition […]

/ Comments Off on
Program: Programming

TD – an entire day of programming is good for the soul!

Programmed from 10 in the morning to about 11 in the evening (with a couple of hours lunch and dinner pauses).
When everything “works as intended” it is really hard to stop, so things I got done today: * State-transitions * Tower placement (an ugly way, but it works!) * Projectile shooting
Things to do tomorrow: * Collision between projectiles and enemies * Esc-menu with Resume, Quit to Main Menu and Quit to Windows.´
States: Got Start-menu, Main game and an Exit-screen, which […]

/ Comments Off on TD – an entire day of programming is good for the soul!
Program: Programming

TD – an entire day of programming is good for the soul!

Programmed from 10 in the morning to about 11 in the evening (with a couple of hours lunch and dinner pauses).
When everything “works as intended” it is really hard to stop, so things I got done today: * State-transitions * Tower placement (an ugly way, but it works!) * Projectile shooting
Things to do tomorrow: * Collision between projectiles and enemies * Esc-menu with Resume, Quit to Main Menu and Quit to Windows.´
States: Got Start-menu, Main game and an Exit-screen, which […]

/ Comments Off on TD – an entire day of programming is good for the soul!
Program: Programming

Tower Defense – Stupid animations!

Today I have learned that I hate animations! REALLY hate animations!For some reason I can’t get it to work for me… I know I have missed something, but can’t find the missing line or maybe it is just a single word…The search continues tomorrow, will probably find it and laugh at myself for being so stupid

/ Comments Off on Tower Defense – Stupid animations!
Program: Programming

Tower Defense – Stupid animations!

Today I have learned that I hate animations! REALLY hate animations!For some reason I can’t get it to work for me… I know I have missed something, but can’t find the missing line or maybe it is just a single word…The search continues tomorrow, will probably find it and laugh at myself for being so stupid

/ Comments Off on Tower Defense – Stupid animations!
Program: Programming

Tower Defense – not much today

Didn’t do much today. I only programmed for about an hour. I did go through most of the code and found some useless bits I don’t know why I put there in the first place, like:
direction.m_x = direction.m_x; direction.m_y = direction.m_y;
For those of you that know nothing of programming, this doesn’t do anything useful. It sets directions m_x and m_y variables to the same as it was before, which is pretty useless and redundant
I also commented some of […]

/ Comments Off on Tower Defense – not much today
Program: Programming

Tower Defense – not much today

Didn’t do much today. I only programmed for about an hour. I did go through most of the code and found some useless bits I don’t know why I put there in the first place, like:
direction.m_x = direction.m_x; direction.m_y = direction.m_y;
For those of you that know nothing of programming, this doesn’t do anything useful. It sets directions m_x and m_y variables to the same as it was before, which is pretty useless and redundant
I also commented some of […]

/ Comments Off on Tower Defense – not much today
Program: Programming

Tower Defense, different states

Yesterday I said I was going to work on states, so that’s what I did.
A State is the different states the game can be in, for example: * StartMenuState would be the screen with New Game, High Score, Load Game, Options and Quit/Exit. * GameState would be with the screen where the actual game is played. * GameOverState would show when the game is over due to you losing.
I used a GameStateManager to keep track of what […]

/ Comments Off on Tower Defense, different states
Program: Programming

Tower Defense, different states

Yesterday I said I was going to work on states, so that’s what I did.
A State is the different states the game can be in, for example: * StartMenuState would be the screen with New Game, High Score, Load Game, Options and Quit/Exit. * GameState would be with the screen where the actual game is played. * GameOverState would show when the game is over due to you losing.
I used a GameStateManager to keep track of what […]

/ Comments Off on Tower Defense, different states
Program: Programming

Tower Defense, continues

Didn’t have much time during Christmas and New Year to program, so have to catch up now.

Finished the path finding, enemy wave spawning and it seems to work good. (The green squares are placeholders, so not final art for the enemies )
Tomorrow I will try to implement different states: Esc-menu state, Start-menu state and Game state.
Short post, I know, but didn’t have much to comment on this time. Might be more tomorrow

/ Comments Off on Tower Defense, continues
Program: Programming

Tower Defense, continues

Didn’t have much time during Christmas and New Year to program, so have to catch up now.

Finished the path finding, enemy wave spawning and it seems to work good. (The green squares are placeholders, so not final art for the enemies )
Tomorrow I will try to implement different states: Esc-menu state, Start-menu state and Game state.
Short post, I know, but didn’t have much to comment on this time. Might be more tomorrow

/ Comments Off on Tower Defense, continues
Program: Programming