Download

Tower Defense Tips

Sup. So I’m total zero in this programming thing, I’m more like gamedesigner, not a coder, even a bit. Working on tower defense game with classical mechanics (no roleplay or heroes stuff, just classical TD mechanics like WC3’s Green TD had). Here I’m looking for help in questions that can sound easy to you, but totally dark for me. Is there any way I can find or easily code with blueprints next things:

  1. Spawning monsters.
  2. Programming monster’s logic so they would walk from point A to point B using only Splines as a road.
  3. Strategic camera (top-down).
    3.5. Interactive interface on the bottom of the screen (simillar to Warcraft 3 and Dota 2).
  4. Click on tower’s icon on game interface, than click on special platform in game field - bam, tower’s ready to fight.
  5. Mechanics of tower attacking monsters.
  6. Mechanics of tower slowing every monster in X radius.
  7. Mechanics of tower attacking only certain type of targets (flying).
  8. Mechanics of tower leaving a small damaging area after shooting a projectile (talking about magma).
  9. Text blocks, appearing on screen as a tutorial.
  10. Some of the actions (like monster spawning) should only start after clicking on particular text blocks.
  11. Stats for towers and monsters (HP, attack power, attack speed, etc.)

I’ve found some simmilar things in Unreal Engine 4’s StrategyGame, but as far as I saw all the programming represented in C++ code, so I was wondering is there any way to just use blueprints for this?

First, we can’t make your games, there’s a lot of blueprint tutorials on YouTube that are made by unreal.

  1. With the first or second tutorial you will already find your answer.
  2. Search for behavior tree.
  3. There is already a top down view template.
    3.5. There is a special kind of blueprint for HUD, search HUD and blueprint.
    4
    5
    6
    7
    8
    9
    10
    11 The tutorials would be a great start after that come back and we’ll be happy to help you (not building your game for you).

Thank you!!

First, we can’t make your games, there’s a lot of blueprint tutorials on YouTube that are made by unreal.

  1. With the first or second tutorial you will already find your answer.
  2. Search for behavior tree.
  3. There is already a top down view template.
    3.5. There is a special kind of blueprint for HUD, search HUD and blueprint.
    4
    5
    6
    7
    8
    9
    10
    11 The tutorials would be a great start after that come back and we’ll be happy to help you (not building your game for you).

Thank you!!

Hey, i will give you the names of the nodes and classes etc you will need to look for:

  • Look into the Tower Defense Game called “Strategy Game” in the Learning Tab of the Unreal Engine Launcher that you mentioned
  1. Spawn Actor from Class
  2. Behavior Tree
    • Strategy Game
      3.5 UMG, Strategy Game uses Slate, which is the Code Version of UMG, so better stay with UMG (nearly everything is possible with it)
  3. This is a UMG thing too, but you can have a look at the Strategy Game here too
    5./6./7./8. * Strategy Game, although not all types of towers can be found there. You will need to come up with somethings yourself
  4. That’s UMG again
  5. That’s UMG + Spawn Actor from Class
  6. Basic classes

I don’t know if there is another thing only for blueprint, but the Strategy Game can be used as a non programmer too.
You don’t have to know exactly what is happening, but you can still learn alot.

If it is too hard for you to come up with way to implement this i would recommened you to make something smaller, maybe something
that has a full Blueprint Version already or where you can find a full tutorial.

Because most of your points are basic things (like spawning, camera, the whole UMG thing and stats).
The different towers are just 4 classes that have a baseclass which stores all information.
Like “What type is this tower of, how much damage does it deal, etc.”
The AI, monster logic, is Behavior tree topic. There are tutorials on youtube that show you some basics, but again not related to Tower Defense.

(: For most of your problems you will have to come up with your own code and logic. You can only start learning the base of coding/blueprinting
and then create a TD Game.

Thx for the tip, but how do I actually copy a camera from Strategy Game? And is it legal to do this, to use the Epic’s assets in my further game?

Hi MrVovun,

Yes, you are able to use any assets within the learning materials and projects provided by Epic in your games. Here is the particular information from the FAQ page:

You can find more information from the FAQ here:

I have an amazing template for game designers like you :slight_smile:
Have a look: