How to make a Tower Defense Game (E11 CURRENCY) - Unity Tutorial



In this video we add money to our game and tidy up the Shop and Build Manager. ♥ Support my videos on Patreon: http://patreon.com/brackeys/ ● Download the Assets: http://bit.ly/2alys6G ● Download Project on GitHub: http://bit.ly/29rvq0Y ···················································································· Learn how to make a 3D Tower Defence Game using Unity. All code is written entirely in C#. Difficulty: Intermediate. ···················································································· ♥ Subscribe: http://bit.ly/1kMekJV ● Website: http://brackeys.com/ ● Facebook: https://facebook.com/brackeys/ ● Twitter: https://twitter.com/BrackeysTweet/ ········································­­·······································­·­···· ► All content by Brackeys is 100% free. I believe that education should be freely available to everyone. Want to support me in my mission? Become a Patron: http://patreon.com/brackeys/ ········································­­·······································­·­···· ♪ Intro Music by Brackeys ♪ Baby Plays Electro Games http://teknoaxe.com/Link_Code_2.php?q=326

Comments

  1. Hey, everything seems to work fine except for my "Start Money" to be at 0 instead 400, how to solve it?
  2. I dont undertand anything anymore :(
  3. You made my chilhood dream come true <3
  4. i cant put CanBuild in nodes for some reason?
  5. These are great tutorials. The only times I have trouble following is when you switch tabs in Visual Studio or switch objects in the Unity editor. When things go wrong, I realize I've been typing in the wrong place or modifying the wrong object. But other than one little observation, all of these lessons have been remarkably terrific! Highly recommended!
  6. There is a bug I noticed when a single enemy is simultaneously shot down by multiple turrets. The money is multiplied by the number of turrets that killed it.
  7. Best tutorial I watch. But i have some bug. While I use public void BuildTurrertOn( Nodes node) replace old function, have new bug
    "InvalidCastException: Cannot cast from source type to destination type.
    UnityEngine.Object.Instantiate[GameObject] (UnityEngine.GameObject original, Vector3 position, Quaternion rotation) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:207)
    BuildManager.BuildTurretON (.Nodes node) (at Assets/Scripts/BuildManager.cs:28)
    Nodes.OnMouseDown () (at Assets/Scripts/Nodes.cs:31)
    UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)"

    if i build turet on node but game play still normal, no crash. How I fix it?
  8. Dude you write some clean code.
  9. Dat ponytail though
  10. Thank you Asbjorn! Your tutorials are awesome! <3
  11. If it wasn''t for your tutorials I wouldn't be able to be learning to code man, keep it up!!!
  12. After this tutorial when I select a turret from my shop I no longer have a hover color on my nodes. If I don't select a turret to place my hover color is still functioning, but once I select a turret to place, I lose the hover color on the nodes my mouse passes over.
  13. Fpr some reason, now whener i hover my mouse of the nodes i get "NullReferenceException: Object reference not set to an instance of an object" . pls pls help
  14. Immediately after you've finished typing a sentence you switch straight to a different tab and start working on your next code with absolutely no pause. It's very, very difficult to use two screens for this tutorial without constantly having to go back in the video to see what you put and where.

    I love the tutorials, but slow down!
  15. 13:26 i got scared by you saying "Scary"!xD
  16. Who is the guy holding the laptop in the intro
  17. Honestly.. You're the best tutor.. I really understand it :D
  18. Is there going to be anymore 2D Platfromer videos coming? Thanks LOVE you videos!!
  19. Thanks for the great tutorials!
    Keep up the good work
  20. Can you replace the waypoints to navmesh? Just because that is more common in games. And then maybe you can use different enemy speed without they walking through each other.


Additional Information:

Visibility: 14018

Duration: 21m 41s

Rating: 331