Kwisses / BlockDefence

Tower defence game made with Python and Pygame
http://www.kwisses.ca/blog/blockdefence-game-project/
Apache License 2.0
0 stars 0 forks source link

Player tower to AI bullet collision #2

Open Kwisses opened 8 years ago

Kwisses commented 8 years ago

Create function(s) for player tower bullets to hit AI blocks (visually and functionally).

A player tower will shoot at an AI block when it gets in range of the player tower. When the AI block is in range, there needs to be a visual cue to confirm the "hit." Once an AI block is hit, it needs to take "damage" and when its health hits null, it dies and awards the player x amount of money.

Notes:

I suggest coding one function for tower aoe, one for bullet collision, and one fo AI block health.

Kwisses commented 8 years ago

I have coded the bullet blit function and now need to implement the following:

There is a lot to do here, but after this is all done, the game will be playable!

Kwisses commented 8 years ago

Independent bullet placement has been implemented. The bullet does not flash as of yet. Fixed the range issue and implemented the subtraction of enemy block health.

Game now has 10 playable levels.