"Towers" + shots [#2 Tower Defence in GameMaker ]

Channel:
Subscribers:
12,000
Published on ● Video Link: https://www.youtube.com/watch?v=7t5XWwqMMf4



Category:
Tutorial
Duration: 15:15
485 views
19


This is the 2nd video in a short Tower Defence series made in GameMaker.

After we established enemy spawning and their redirection we need to have the Tower Defence part ready. So we need towers that shoot, which we do here by houses. The houses have an alarm looped and check if there is any instance of the enemy in game plus if the nearest enemy is in range. If these conditions are met we fire off a fast moving shot creates an explosion on impact with the enemy. That's it!


🚧 For the future: This series will have 3 videos where all the basics are setup and a 4th optional one where constructors are used as a solid spawning setup. The project can be downloaded and since it is ultra small, is free to use (graphics are free also, check out the notes)



πŸ’»Project + assets found here:
https://1up-indie2.itch.io/free-tower-defence-project-gamemaker

overworld graphics: Beast CC0
https://opengameart.org/content/overworld-grass-biome

Enemies:
ThKaspar Orga by
https://opengameart.org/content/micro-character-bases-basics

explosion:
JROB774 CC3by
https://opengameart.org/content/pixel-explosion-12-frames



πŸ‘‘ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
πŸ“Έ Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
πŸ’¬ Discord: https://discord.gg/gvr98nb
πŸ“œ Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)

CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:27 Subscribe
0:40 The concept what we do
1:44 Creating a bullet instance, destroy after 4 seconds
2:40 Resize the bullet
3:21 Setup the collision of the bullet, give spawn hp/health
4:39 Setup an explosion instance
6:02 Create a shooting house/tower with an alarm
7:32 Shoot a bullet in the house/tower and shoot at nearest spawn
11:10 Create an explosion on bullet spawn collision
12:08 Limit house/tower by an attack range







Tags:
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial
game dev
game developer
gamemaker tower defense tutorial
gamemaker studio 2 tower defense tutorial
gamemaker studio tower defense tutorial
gms tower defence
gamemaker tower defense
gamemaker studio tower defense
tower defense game programming