Skip to main content

Python PyGame Tower Defence - 0.8.3

A TD implemented in python and pygame.


Austin Morgan
(duckfin)
I'm closing the gap to Beta status. I'll be giving this project the Beta tag when it hits version 0.9. I've got a lot of work to go before it gets there, but the game is already quite playable. The basics are typical to Tower Defense games all over.

There are only seven maps thus far, and only three playable. I have not put great effort into balancing them yet, as things change constantly. That said, I played through all of them before releasing this and found them to be fairly spot-on in difficulty, if a bit lacking in variety. Balance will not be a top priority until the Beta, version 0.9.

The art is nowhere close to tops and there is no sound whatsoever. I am neither an artist nor musician. If anyone would like to contribute either, I would happily give credit for your work.

Comments are welcome and encouraged!

Changes

  • Took the Achievement system back out.
  • Added in an XP bar at the top of the screen. XP per level starts at 10 and increases each level by 50% of the previous level.
  • Implemented support for saving and loading XP states.
  • Added in a Player Upgrade Screen, accessed by right-clicking the XP Bar. Right-click to get out of the Player Upgrade Screen.
  • The Chain Bonus now applies to XP gains instead of tower stats.
  • Tower Upgrade Screen removed, as it is replaced by the Player Upgrade Screen.
  • Player Upgrade requirements implemented. Most player upgrades require at least one other upgrade, shown as a line connecting the two upgrades.
  • Number of available Player Upgrades is shown on top of the XP bar in red.
  • Player Upgrades you currently have are Green. Player Upgrades you qualify for are Blue, or not hued at all if there is an icon image for it. Player Upgrades you do not qualify for are Red.
  • Moved Tower Access over to the Player Upgrade Screen, it is no longer determined by maps completed.
  • Rolled icons over for Player Upgrade Screen.
  • Fixed a bug where losing all a player's lives did not stop them from continuing play.
  • Player.modDict now populates dynamically, making expansion much easier.
  • Killing all enemies in a wave gives 50 plus five times the wave number plus five times the map number XP.
  • Added a new tower: the Ranger; specializing in longer range, medium damage, and slow attack speed. It eventually has the ability to slow enemy units.
  • Links

    Home Page
    https://sourceforge.net/projects/ppgtd/
    Source
    http://sourceforge.net/projects/ppgtd/files/src083.zip/download

    Releases

    Python PyGame Tower Defence 0.8.0 — 10 Mar, 2012

    Python PyGame Tower Defence 0.8.1 — 14 Apr, 2012

    Python PyGame Tower Defence 0.8.5 — 18 Nov, 2012

    Python PyGame Tower Defence 0.8.3 — 15 Jun, 2012

    Python PyGame Tower Defence 0.5.2 — 25 Feb, 2010

    Python PyGame Tower Defence 0.2.4 — 7 Oct, 2009

    Python PyGame Tower Defence 0.3.5 — 14 Oct, 2009

    Python PyGame Tower Defence 0.2.1 — 6 Oct, 2009

    Python PyGame Tower Defence 0.3.4 — 13 Oct, 2009

    Python PyGame Tower Defence 0.3.2 — 12 Oct, 2009

    Python PyGame Tower Defence 0.2.6 — 8 Oct, 2009

    Python PyGame Tower Defence 0.3.0 — 11 Oct, 2009

    Python PyGame Tower Defence 0.2.2 — 6 Oct, 2009

    Python PyGame Tower Defence 0.5.7 — 1 Apr, 2010

    Python PyGame Tower Defence 0.5.0 — 21 Feb, 2010

    Python PyGame Tower Defence 0.5.1 — 25 Feb, 2010

    Python PyGame Tower Defence 0.7.7 — 28 Jan, 2011

    Python PyGame Tower Defence 0.7.5 — 9 Jan, 2011

    Python PyGame Tower Defence 0.7.6 — 13 Jan, 2011

    Python PyGame Tower Defence 0.5.6 — 14 Mar, 2010

    Python PyGame Tower Defence 0.5.5 — 11 Mar, 2010

    Python PyGame Tower Defence 0.5.3 — 2 Mar, 2010

    Python PyGame Tower Defence 0.5.4 — 9 Mar, 2010

    Python PyGame Tower Defence 0.8.6 — 17 Dec, 2012

    Python PyGame Tower Defence 0.8.7 — 27 Aug, 2013

    Pygame.org account Comments

    • Bemoniri 2012-01-06 14:21:55

      is there a way to win?:d

      James Lu 2012-06-17 21:56:07

      me too

    • Dylan Raub 2012-06-16 15:14:33

      Good to see you are still working on this! Good on ya, mate :D

    • James Lu 2012-06-17 21:55:41

      i'll upload my music soon
      when i get on win7...
      win 8 i can't do it, i secured it.

    • Steve 2012-06-19 02:20:24

      Rewards.py is missing from the latest build... I can't get it to run even if I grab Rewards.py from an older build though... will have a tinker with it and see if I can figure out why not...

      Steve 2012-06-19 02:26:24

       Got it running, that was my fault... but Rewards.py is def. missing

    • Austin 2012-06-19 02:26:58

      Thanks for the support, Dylan!

      Steve, Rewards.py isn't used in version 0.8.3. I replaced that whole mess with the Player Upgrade Screen, accessed by right-clicking on the XP Bar. If you're getting an import error, just remove the "import Random" line near the top of localdefs.py. I think that's the only one I missed.

      Thanks for all the feedback, guys!

    • A faggot 2012-07-09 12:43:53

      cool

    • sipiatti 2012-07-10 08:08:34

      ImportError: No module named Rewards
      It seems one file missed from the zipball?

    • Mich Nannings 2012-11-27 14:49:54

      it works nice, didnt find any bugs

    • wcb98 2013-10-08 01:30:24

      Great Game, but can you include python 3 builds?