Jump to content


Photo
- - - - -

Advanced Tower Defence Tutorial


  • Please log in to reply
12 replies to this topic

#1 Zilven

Zilven

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM:Studio

Posted 11 January 2012 - 12:50 AM

  • Title: Advanced Tower Defence Tutorial
  • Description: This is athanato's TD tutorial, but with a LOT of new features, now displays tower's max and min damage, posion damage and a LOT more using easy coding. - None of the sprites/sounds where mine.
  • GM Version: :GM8:
  • Registered: Yes.
  • File Type: .gmk
  • File Size: 2.8 MB.
  • File Link: .GMK


Info

An advanced TD tutorial, using athanato's engine, if you want to give credit, give it to athanatos, the link to his tutorial is here.


Images

Posted Image
  • 0

#2 Bcm27

Bcm27

    GMC Member

  • New Member
  • 333 posts
  • Version:GM8

Posted 11 January 2012 - 06:07 PM

I'll download the file and take a look at it this afternoon, looks really good from a quick glace mate. :thumbsup:

==edit==
Woah, this looks almost like a complete game. :D Just add levels. :D
==edit==
Screw schoolwork, I'm gonna take a look at this now. As a side note, you might want to add a word document, there's allot of information here.

Edited by Bcm27, 11 January 2012 - 06:15 PM.

  • 0

#3 Sir

Sir

    Jedi Poodoo

  • GMC Member
  • 380 posts
  • Version:GM:Studio

Posted 11 January 2012 - 08:04 PM

Downloading. going to take a look at this...
  • 0

#4 Sirosky

Sirosky

    GMC Member

  • GMC Member
  • 1323 posts
  • Version:GM8

Posted 12 January 2012 - 02:00 AM

Downloading, will post comments later. Posted Image

EDIT: Looks really nice! Too bad I don't have time >.>

Edited by Sirosky, 16 January 2012 - 05:32 PM.

  • 0

#5 Monolisk

Monolisk

    GMC Member

  • GMC Member
  • 62 posts
  • Version:GM:Studio

Posted 15 January 2012 - 08:18 AM

This is pretty good but there is a glitch with the piercing tower it builds right underneath the button. fyi pretty good though
  • 0

#6 Morpheas

Morpheas

    GMC Member

  • New Member
  • 66 posts
  • Version:GM8

Posted 13 April 2012 - 09:28 AM

hi.
don't know if this post is alive but i want to thank u about ur tutorial it helped me a lot.
i am working in a td game and i was wondering if u could explain a little more on how to make the enemy waves array?
i don't know much of gml or math but if i see an example i will be able to figure it down.
at this point im almost all done in the graphics and tower ai and i can send mixed waves of 1-3 enemies but not in a way of lets say
3 of the same kind now and when wave reaches some number to be able to make a new array.
so i was wondering if u could help.

my site

edit:ok i found what i wanted in the link u gave above forget the request.

Edited by Morpheas, 13 April 2012 - 10:44 AM.

  • 0

#7 ghest1138

ghest1138

    GMC Member

  • New Member
  • 4 posts
  • Version:GM8

Posted 20 April 2012 - 07:07 PM

Super good
  • 0

#8 Marvelo

Marvelo

    GMC Member

  • New Member
  • 4 posts

Posted 25 June 2012 - 01:51 PM

It's very good. Just what I wanted. Thanks so much for sharing this.

I found two bugs though. First something about ice towers and stun towers combination makes the enemy run backwards. And after the easiest waves it freezes and says something about missing black holes, little bit amazed how come you didn't notice this yourself. Any advice on how to fix those?
  • 0

#9 Zilven

Zilven

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM:Studio

Posted 01 July 2012 - 07:46 PM

It's very good. Just what I wanted. Thanks so much for sharing this.

I found two bugs though. First something about ice towers and stun towers combination makes the enemy run backwards. And after the easiest waves it freezes and says something about missing black holes, little bit amazed how come you didn't notice this yourself. Any advice on how to fix those?


I've been always aware of that bug, and it has a very easy fix, just make a new variable in the object "obj_android_easy", that will be equal to
myspeed-frozen-stuned-weather
, and make it so that variable can't be below 0, and then in the code of the step event, set the path speed equal to that variable, I really don't know why I didn't fix it in the tutorial though.

About the "missing black holes" bug, I really don't know what is it about, maybe it's just a problem with the tutorial, because I've never encountered that problem in the full game: http://sandbox.yoyog...-tower-defense#
  • 0

#10 Mirac7

Mirac7

    GMC Member

  • New Member
  • 37 posts
  • Version:GM:HTML5

Posted 20 July 2012 - 05:24 PM

why is everybody using host-a.net? i can't download anything from there.

could anybody upload it somewhere else?
  • 0

#11 Terrified Virus

Terrified Virus

    Moderators Plaything

  • GMC Member
  • 721 posts
  • Version:GM:Studio

Posted 20 July 2012 - 07:12 PM

This is nearly a full game. It is awesome!
  • 0

#12 reaktor

reaktor

    GMC Member

  • New Member
  • 1 posts
  • Version:Unknown

Posted 29 December 2012 - 10:05 AM

I'm bit baffled by one question: How are bullets moved? I see that towers have targeting code, which creates "ii" instance, which contains speed/direction/ new X (xx) / new Y (yy), but where are these used for drawing? "ii" -instance seems to be local variable, so I guess it doesn't exists outside of this single script? Could someone clarify this bullet-moving & drawing for me? Thanks.
  • 0

#13 Zilven

Zilven

    GMC Member

  • GMC Member
  • 18 posts
  • Version:GM:Studio

Posted 30 December 2012 - 07:37 AM

I'm bit baffled by one question: How are bullets moved? I see that towers have targeting code, which creates "ii" instance, which contains speed/direction/ new X (xx) / new Y (yy), but where are these used for drawing? "ii" -instance seems to be local variable, so I guess it doesn't exists outside of this single script? Could someone clarify this bullet-moving & drawing for me? Thanks.


ii=instance_create(x,y,bullet) ii.speed=12 ii.damage=15
That code just creates an object, but also sets ii to that object so I can access to its variables, much like
with instance_create(x,y,bullet) {speed=12 damage=15}

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users