Back to Browse

Complete Tower Defence Tutorial in Pygame From Scratch

30.3K views
Jul 2, 2023
3:05:10

In this Python tutorial I code a tower defence game using the PyGame module. The video goes through the full process from scratch, creating the map, the turrets, enemies and their waypoints. Code & assets on github: https://github.com/russs123/tower_defence_tut Credits for assets used: Tileset: https://www.kenney.nl/assets/tower-defense-top-down Turrets: https://zintoki.itch.io/ground-shaker Heart: https://nicolemariet.itch.io/pixel-heart-animation-32x32-16x16-freebie Coin: https://totuslotus.itch.io/pixel-coins Timestamps: 00:00:00 Intro 00:06:27 Create Enemy 00:16:23 Waypoints & AI 00:31:10 Load Level Map 00:46:45 Placing Turrets 01:02:51 Adding Buttons 01:17:48 Animations 01:30:57 Aiming and Firing 01:47:28 Upgrading Turrets 02:00:16 Automatically Spawn Enemies 02:14:59 Game Mechanics 02:27:14 Game Over Handling 02:49:38 Finishing Touches

Download

1 formats

Video Formats

360pmp4282.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Complete Tower Defence Tutorial in Pygame From Scratch | NatokHD