Mouse Raycasting - Tower Defense Tutorial #5

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 718

  • @foolspark
    @foolspark 2 года назад +29

    I'm only a couple of episodes into this series and this is honestly amazing. I've seen so many roblox scripting tutorial youtubers try and do game development series like these, but never manage to execute it as well as you do. You go really into depth and explain thoroughly whenever you try to teach something, instead of just giving us the code, and telling us to copy it down.

  • @Pyr0Blox1
    @Pyr0Blox1 2 года назад +174

    Can we all agree that these tower defense stuff get better and better the more we watch them

  • @Ultimantecat
    @Ultimantecat 2 года назад +10

    I like how he doesnt just create tutorials and tell you how do do things... he teaches you as well and shows you common mistakes people do. thats awesome

    • @snowtotoy9177
      @snowtotoy9177 Год назад +1

      thats what tutorials are they teach you

    • @NeonLabsss
      @NeonLabsss Год назад +1

      yeah it's great I'm following the series to learn and test my scripting

    • @d00mprod
      @d00mprod 7 месяцев назад

      It's great when the SAME PERSON (Or should I say bot) COMMENTS THE SAME MESSAGE

  • @jigglyjosh5047
    @jigglyjosh5047 2 года назад +34

    with this in hand, we could use this to when we hover over an enemy it can display their health, as well as towers, we can see their level, range etc. This series is very helpful!

    • @LeoKhol
      @LeoKhol 2 года назад +2

      you can use mouse.Target tho

    • @wallop560
      @wallop560 2 года назад

      @@LeoKhol thats what i was saying LMAO

    • @inactive3772
      @inactive3772 2 года назад

      @@LeoKhol mouse is superseded

    • @pepperdayjackpac4521
      @pepperdayjackpac4521 2 года назад

      @@inactive3772 but it’s not deprecated

    • @inactive3772
      @inactive3772 2 года назад

      @@pepperdayjackpac4521 its recommended to use other methods

  • @Wazzalish
    @Wazzalish 2 года назад +7

    I love how you make tutorials from scratch instead of a “Kit”.

    • @Axium3
      @Axium3 Год назад +1

      oh my gosh you are right. ive tried to make a fighting game but every tutorial said to use so many scripts

  • @accid_ttv3699
    @accid_ttv3699 2 года назад +48

    Finaly another episode that i can spend 5 hours to do what he did in 15 minutes

    • @Dashing_Geometry
      @Dashing_Geometry 2 года назад +1

      true

    • @masondoesxd
      @masondoesxd 2 года назад +3

      what? it takes like 30 mins to follow his tutorials unlike any other ones that actually take 5 hours...

    • @sivvim
      @sivvim 2 года назад

      it takes me 14 minutes 👀

    • @pixelatedluisyt
      @pixelatedluisyt 2 года назад

      you’re complaining about that instead of commenting something like “your teaching me a lot, love the tutorials”

    • @universlion
      @universlion Год назад

      8:48

  • @HoopsTheBee
    @HoopsTheBee 2 года назад +14

    Geez man! You really banging these out. Love it!

  • @Norrday
    @Norrday 2 года назад +9

    FINALLY YES I'VE BEEN WAITING THANK YOU FOR MAKING THESE TUTORIALS SO MUCH!

  • @Pap3rf0ld
    @Pap3rf0ld Год назад +42

    The Mouse Raycast Script is here:
    local RunService = game:GetService("RunService")
    local UserInputService = game:GetService("UserInputService")
    local Camera = workspace.CurrentCamera
    local Item = nil
    local function MouseRaycast() --[ONLY ENABLE THE PRINT FUNCTION TO GET RESULTS OF MOUSE LOCATION]--
    local MousePosition = UserInputService:GetMouseLocation()
    --print(mousePosition)
    local MouseRay =Camera:ViewportPointToRay(MousePosition.X, MousePosition.Y)
    --print(mouseRay)
    local RaycastResult = workspace:Raycast(MouseRay.Origin, MouseRay.Direction * 100)
    --print(raycastResult)

    return RaycastResult
    end
    UserInputService.InputBegan:Connect(function(input, processed)
    if processed then
    return
    end

    if input.UserInputType == Enum.UserInputType.MouseButton1 then
    if Item:IsA("Basepart") then
    Item.Color = Color3.new(255, 0, 0)
    end
    end
    end)
    RunService.RenderStepped:Connect(function()
    local result = MouseRaycast()
    if result and result.Instance then
    Item = result.Instance
    end
    end)
    If the part doesn't change color, change Basepart into Part and it should work. Hope I was of any help. :)

    • @Nacker_official
      @Nacker_official Год назад +1

      what does the like on the print

    • @JohnGaming756
      @JohnGaming756 11 месяцев назад

      thanks bro i was struggling cus of an error which it said: "attempted to index nil with "GetMouseLocation""

    • @RobbyTheBall
      @RobbyTheBall 10 месяцев назад +2

      you dont need to change Basepart to Part you need to change Basepart to "BasePart" BasePart with an uppercased P

    • @Pap3rf0ld
      @Pap3rf0ld 10 месяцев назад

      @@RobbyTheBall The roblox studio concept changes in further updates so it might be different between other people

    • @sledgerfrost5181
      @sledgerfrost5181 10 месяцев назад

      we gotta make this top comment

  • @mrflovs754
    @mrflovs754 2 года назад +1

    the outro is the best thing i've seen all week

  • @Trollmonster3
    @Trollmonster3 Год назад +70

    Here's the script so you don't have to do it all and get stressed because you get an error! GameController: local RunService = game:GetService("RunService")
    local UserInputService = game:GetService("UserInputService")
    local camera = workspace.CurrentCamera
    local item = nil
    local function MouseRaycast()
    local mousePosition = UserInputService:GetMouseLocation()
    --print(mousePosition)
    local mouseRay = camera:ViewportPointToRay(mousePosition.X, mousePosition.Y)
    --print(mouseRay)
    local raycastResult = workspace:Raycast(mouseRay.Origin, mouseRay.Direction * 1000)
    --print(raycastResult)
    return raycastResult
    end
    UserInputService.InputBegan:Connect(function(input, processed)
    if processed then
    return
    end
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
    if item:IsA("BasePart") then
    item.Color = Color3.new(1, 0, 0)
    end
    end
    end)
    RunService.RenderStepped:Connect(function()
    local result = MouseRaycast()
    if result and result.Instance then
    item = result.Instance
    end
    end)

    • @Ego_to_ID
      @Ego_to_ID Год назад +3

      god bless you

    • @Trollmonster3
      @Trollmonster3 Год назад +2

      @@Ego_to_ID You're welcome.

    • @ouren3220
      @ouren3220 Год назад +1

      TYSM it saved a lot of time i think

    • @bowmin1
      @bowmin1 Год назад +13

      I wouldn't just copy and paste this. I would advise trying to understand it and write it yourself. You aren't learning if you just paste it, and if you don't understand it you can't make updates and changes in the future.

    • @roblox-w6d6l
      @roblox-w6d6l Год назад

      w rizz

  • @PineBloxx
    @PineBloxx 2 года назад +6

    Merry Christmas Gnome! Well done for this year and best of luck for the next!

  • @ThickLlama
    @ThickLlama 2 месяца назад

    its like each of these videos is a boss battles for me because at end i always do something wrong. *best roblox coding youtuber ever btw*

  • @Dhfhdjhfjnd
    @Dhfhdjhfjnd 2 года назад +1

    I don’t understand very much of this but I still love watching it

    • @GnomeCode
      @GnomeCode  2 года назад +1

      Thanks for dropping by. I know some of the things shown here are a little advanced bit if you're looking to get into scripting I'd recommend Che king out my beginner series on making your first game

  • @murganes3107
    @murganes3107 2 года назад +1

    Thank you gnome, your tutorials are sooo amazing!!! Please keep up the great work!

  • @BrenFirely
    @BrenFirely 2 года назад

    Finally someone do tower defense tutorial which I wanna learn from a long time😥 thank u!!!

  • @Dusty2763
    @Dusty2763 2 года назад

    the best tutorial RUclipsr ever

  • @sliceggjd
    @sliceggjd 2 года назад +1

    This is just one word "AMAZING!"

  • @Arli24
    @Arli24 Год назад +5

    local RunService = game:GetService("RunService")
    local UserInputService = game:GetService("UserInputService")
    local camera = workspace.CurrentCamera
    local function MouseRaycast()
    local mousePosition = UserInputService:GetMouseLocation()
    print(mousePosition)
    local mouseRay = camera:ViewportPointToRay(mousePosition.X, mousePosition.Y)
    print(mouseRay)
    local raycastResult = workspace.Raycast(mouseRay.Origin, mouseRay.Direction * 1000)
    print(raycastResult)

    return raycastResult
    end
    UserInputService.InputBegan:Connect(function(input, processed)
    if processed then
    return
    end

    if input.UserInputType == Enum.UserInputType.MouseButton1 then
    if item:IsA("BasePart")then
    item.Color = Color3.new(1,0,0)
    end
    end
    end)
    RunService.RenderStepped:Connect(function()
    local result = MouseRaycast()
    if result and result.Instance then
    print(result.Instance.Name)
    end
    end)

  • @BBTProductionsArchive
    @BBTProductionsArchive 2 года назад +7

    Amazing tutorials!
    With this new feature, I'm wondering if we could do stuff like level up towers, view range, etc. looking forward to seeing where this tutorial goes. :)

  • @clapanimates
    @clapanimates 2 года назад +1

    I’ve always wanted to make a td game ever since below natural made one and now I can because you are making this!

  • @WearWQLF
    @WearWQLF 2 года назад

    I bet you at the end of this tutorial 75k subscribers good work gnomecode

  • @janmorenob1615
    @janmorenob1615 2 года назад +5

    Gnome, please do this in episode 5:
    Make inventory system of towers
    Animations of tower (shooting, idle) ofc
    Saving system
    Lobby
    Special abilities of towers

    • @theblaze89miller
      @theblaze89miller 2 года назад

      this is episode 5

    • @Norrday
      @Norrday 2 года назад

      too much for one episode.

    • @beniciogames4953
      @beniciogames4953 2 года назад

      Its basically one of those per ep but its too soon for that

    • @lukiValent
      @lukiValent 2 года назад

      idle animations for towers is just add a random animate script that loops forever

    • @DaWaffleman
      @DaWaffleman 2 года назад

      This episode is episode 5...

  • @jamesclack882
    @jamesclack882 2 года назад

    Thank you this is an amazing tutorial this is the first GOOD one i have found in ages

  • @MrSpace5260
    @MrSpace5260 2 года назад

    i will probably never be abled to make a game like that but its fun to watch you make one ngl

  • @PeaKanin
    @PeaKanin 2 года назад +1

    i tried once... but failed. thanks for helping me see the light! you're the best!

  • @Zehave
    @Zehave Месяц назад

    Great tutorial, even after 2 years! The only thing I'd like to see is mobile support for the input.

  • @alskopim
    @alskopim 2 года назад +1

    You literally showed me all the things i needed to know, that other youtubers barely could make a tutorial on!

    • @GnomeCode
      @GnomeCode  2 года назад +1

      You're welcome, best of luck with your project!

    • @alskopim
      @alskopim 2 года назад

      @@GnomeCode Thanks!

  • @chrisk5397
    @chrisk5397 Год назад

    im making a case game where you can build with a hammer and needed to get something to help me out, this was the perfect video 10/10

  • @TransportBacon
    @TransportBacon 5 месяцев назад

    very good going to do this episode later my tower defense game is forming because of this series

  • @akiprox7
    @akiprox7 2 года назад

    Tysm man! Best TD series ever!

  • @Dafusionplays
    @Dafusionplays 2 года назад +3

    When is episode 6 coming out? I’ve always wanted to make a tds game for years but here it is!! Thanks so much GnomeCode!!

  • @policiamilitar9060
    @policiamilitar9060 2 года назад +1

    You too can do:
    Players = game:GetService("Players")
    Mouse = Players.LocalPlayer:GetMouse()
    task.wait(3)
    print(Mouse.Hit.Position)

  • @neutralizedadd3990
    @neutralizedadd3990 2 года назад +2

    2:23 I learned that not putting a wait is a bad idea the hard way lol

    • @Zylxk
      @Zylxk Год назад

      jeez, must have did the poor gpu a burden

    • @Tiny_bigninja
      @Tiny_bigninja Год назад

      @@Zylxknah the script just ends now (luckily)

  • @NikolasH123
    @NikolasH123 2 года назад +1

    i thought you were making a tower defence not a paintball :D jk, really appritiate this tutorial, im not even making a towr defence, i watched this on random and it really helped me with my game, thnaks

  • @trashrobloxkid
    @trashrobloxkid 2 года назад +6

    The GameController script is kind of working but also not. I can make my avatar red by clicking it but not the baseplate or anything else. It says (Players.Me.PlayerScripts.GameController:24: attempt to index nil with 'IsA'

  • @GamingCadeez
    @GamingCadeez 8 месяцев назад

    Wow! This is amazing!

  • @theblaze89miller
    @theblaze89miller 2 года назад +1

    love this, hope to see part 6, cant wait to brag to my friends i made a tower defense game from scratch

    • @eiruukk
      @eiruukk 2 года назад

      you should not brag it will come back to you

    • @Wertyhappy27
      @Wertyhappy27 2 года назад

      Following a tutorial isn't from scratch

    • @Crazy4Beyonce
      @Crazy4Beyonce 2 года назад

      Copy scripts isn’t from scratch

    • @GnomeCode
      @GnomeCode  2 года назад

      Best of luck with your game!

    • @theblaze89miller
      @theblaze89miller 2 года назад

      @@Wertyhappy27 what i mean is i didnt used that many free models

  • @jhkz
    @jhkz 2 года назад +1

    That's so simple to understand, thank u bro ;)

    • @GnomeCode
      @GnomeCode  2 года назад

      Always great to hear, thank you!

  • @pixelatedluisyt
    @pixelatedluisyt 2 года назад

    yes i knew it came today
    this is gonna be great
    Oh also fun fact
    all episodes put together (so far) are 1 hour, 20 minutes, and 28 seconds long

    • @GnomeCode
      @GnomeCode  2 года назад

      Much better broken down into individual episodes!

    • @pixelatedluisyt
      @pixelatedluisyt 2 года назад

      @@GnomeCode yep

  • @jokeyjosee4605
    @jokeyjosee4605 4 месяца назад

    Another Awesome Video

  • @dog_mco2701
    @dog_mco2701 2 года назад

    ik u upload next video fast but i want them faster i cant wait to complete my game thanks so much for helping me

  • @Mr.Spudsterz
    @Mr.Spudsterz Месяц назад +1

    This one felt so short😂

  • @drowsycosmic4854
    @drowsycosmic4854 2 года назад +5

    What's your philosophy behind naming your variables? Which variables do you name using PascalCase, camelCase, snake case, etc.
    Also keep up the great content always look forward to your next video!

    • @GnomeCode
      @GnomeCode  2 года назад +2

      Good question. I always name services in PascalCase using their full name, then generally use camelCase for all other variables

    • @mageninjaballer1449
      @mageninjaballer1449 2 года назад

      @@GnomeCode what the difference??????

    • @drowsycosmic4854
      @drowsycosmic4854 2 года назад

      @@GnomeCode Thank you so much

    • @entityofanimations3952
      @entityofanimations3952 2 года назад

      @@GnomeCode GnomeCode everything is working but the raycasting doesn't work for mobile does anyone know a way to make it work on mobile also?

    • @Norrday
      @Norrday 2 года назад

      @@entityofanimations3952 he said in the video it won't work on mobile.

  • @monke_744
    @monke_744 2 года назад

    my computer died from your great knowledge

  • @ICEDSummer
    @ICEDSummer 2 года назад

    YO LETS GO THANKS FOR THE TUTORIAL

  • @skaiomg
    @skaiomg 2 года назад

    A bit late, but congrats on 3 years gnome! :D

    • @GnomeCode
      @GnomeCode  2 года назад +1

      Thank you!

    • @skaiomg
      @skaiomg 2 года назад

      @@GnomeCode No problem! I love your content!

  • @masondoesxd
    @masondoesxd 2 года назад +1

    YASSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

  • @kam7822
    @kam7822 2 года назад

    I was having a ton of trouble with unions not changing colour and bam 14:08 he just solves it XD

  • @blockyee
    @blockyee 2 года назад

    This is amazing your so underrated

  • @robloxplayz5014
    @robloxplayz5014 2 года назад

    Bro u gonna make me best tower defence simulator game

  • @Scorpio894
    @Scorpio894 2 года назад +5

    Can you make a lobby and shop at the end of the series

    • @Scorpio894
      @Scorpio894 2 года назад

      I'm trying to make my own tower defense game and I was just wondering so I can make my dream game

    • @GnomeCode
      @GnomeCode  2 года назад +1

      Sure, though we need to make all the main game mechanics first - much to do!

    • @christiannacin728
      @christiannacin728 2 года назад

      @@GnomeCode thank you

    • @christiannacin728
      @christiannacin728 2 года назад

      @@Name_thing it is gonna be star wars tower defense not the best graphics since im a solo developer but trying my best

    • @christiannacin728
      @christiannacin728 2 года назад

      @@GnomeCode im gonna add you as a tower youll be a jedi what color light saber you want

  • @catdoor3676
    @catdoor3676 2 года назад +1

    Oh nice

  • @OAUTN
    @OAUTN 2 года назад

    One thing: To make a TD game like TDS, you need to get a lobby with elevators teleporting you to the main game, telling you which wave your on,
    intermission for placing towers, and spaced out enemies.

    • @tomfooIeryz
      @tomfooIeryz 2 года назад

      yeah duh almost every TD game has that

  • @Gumbibull
    @Gumbibull 2 года назад

    just keeps getting betterawwerrwe

  • @DribblePlayz635
    @DribblePlayz635 2 дня назад +1

    “We will take things slow and steady!”
    Me looks away for 1 millisecond
    And that’s it for this tower defense series’s!
    Me: Wait what-

  • @jinxed-truly
    @jinxed-truly 5 месяцев назад

    thx for the tutorial i love this series!

    • @Jokubasas
      @Jokubasas 5 месяцев назад

      The code worked for you? Because mine doesnt

    • @jinxed-truly
      @jinxed-truly 5 месяцев назад +1

      @@Jokubasas it certainly does, did you double-check that your code is exactly the same as gnomecode's?

    • @Jokubasas
      @Jokubasas 5 месяцев назад

      @@jinxed-truly i did it a lot of times i even changed the BasePart into Part and none worked

  • @BucketBloxxer
    @BucketBloxxer 2 года назад

    Im not even gonna use this. But im watching it for fun (: keep up the Good work Gnomecode!

  • @maxielius8544
    @maxielius8544 2 года назад

    Merry christmas everyone god bless us all

  • @zoop08_
    @zoop08_ 2 года назад +1

    May you do a reverse path tutorial for humvees or things that come from exit

  • @Trohten2Roblox
    @Trohten2Roblox 2 года назад

    Nice but wait if actually we use world raycast to the last checkpoint to the before last checkpoint for see if zombie, if not then we world raycast again to the before last checkpoint and if not zombie we continue right to the start and if result then we check if it s an enemy and if yes then we found the 1 enemy Tada, sorry for the long text x)

  • @sodiumchloride8886
    @sodiumchloride8886 2 года назад

    YESS PART 5!!!!!

  • @sebobebo10
    @sebobebo10 2 года назад +4

    This series is actually really helpful, I do have one question about line of sight. So basically, if there was a tower placed in the middle of the map and there was terrain between the tower and the enemy, the tower cannot shoot the enemy. So how would that be scripted

    • @GnomeCode
      @GnomeCode  2 года назад +1

      You could use raycasting for that if you wanted, though I don't think many games use line of sight for there towers. After all, it's more of an 'arcade' type game

    • @charlenebell7026
      @charlenebell7026 Год назад

      I don’t know how many parts he has anyway

  • @ambarkegamer4528
    @ambarkegamer4528 2 года назад

    Ths is so cool I'm excited if you end of crate the map

  • @jakubkopyowski4238
    @jakubkopyowski4238 2 года назад +3

    i have a question to GnomeCode and you guys: How did GnomeCode turned the animations back on? In last episode animations didn't work. Can someone tell me how? GnomeCode answer please.🤗

  • @akiprox7
    @akiprox7 Год назад

    Amazing! Thank you!

  • @theofficialjorden226
    @theofficialjorden226 2 года назад +6

    Will you do things like a shop, unlocking towers with levels, tower upgrades, and animations, certain places where towers can be placed, or enemies attacking towers and cool stuff like that, or some of the basic stuff like things from Bloons TD?
    Either way, it's helping people who don't know much about scripting create a tower defense game

    • @calengo454
      @calengo454 2 года назад +4

      That's the problem. IMO people who are new to scripting should start with much simpler projects in which don't make you just copy scripts, like 89% are doing. I wish every person in the comments would know that you won't learn or make a good game if you ALWAYS use other's stuff and pollute the comment section with "Hi WiLl yOu mAkE a flYIng rObOT That SHooTs Cars?? Btw I'M haVinG proBLEms with The ScRipT i litEraLLy juSt CopIeD fRom YOu!!!1 whIch meAns tHe TuToRIAl wON't WoRK and it'S YOuR faULt!!!!1 "

    • @lambarini
      @lambarini 2 года назад +1

      @@calengo454 true but at the same time no. I learned ALOT from tutorials and now I can code stuff but nothing crazy. The problem with people is that they just copy and don't look into it.

    • @calengo454
      @calengo454 2 года назад

      @@lambarini yes, that's what i meant. i was referring to people that always ask for others to make stuff for you, without even trying anything. i had a friend like this and thankfully i didn't make anything for him. i also learned from "how to make a game" tutorials but their comment sections are filled with people that think scripting is just copying from a tutorial, which almost always end up in them saying "tutorial doesn't work". sure copying some stuff is ok who doesn't do it but it's like you said, they don't look into it and have absolutely no idea what they're doing
      my biggest problem with doing gigantic projects is that i tried to make one when i didn't know anything and i almost gave up forever, and i don't really want that to happen to other people... it sucks

    • @Crazy4Beyonce
      @Crazy4Beyonce 2 года назад

      Are u trying make a TDS game without know how script? The idea of these videos are learn and make urself, not copy and waiting for the next episode lol

    • @theofficialjorden226
      @theofficialjorden226 2 года назад +1

      @@Crazy4Beyonce no, I know how to script and I'm not making a tower defense I'm making a platformer game

  • @br1an0729
    @br1an0729 2 года назад +3

    ur videos are so good, I'm also trying to make a tower defense game and I want a main lobby in it. Can u make a video about how to do this plss?

    • @JayBeeLucas
      @JayBeeLucas 2 года назад

      AGREED

    • @That_stupid_guy
      @That_stupid_guy 2 года назад +1

      It’s not that hard you just make one

    • @JayBeeLucas
      @JayBeeLucas 2 года назад +1

      @@That_stupid_guy HOW?

    • @GnomeCode
      @GnomeCode  2 года назад +4

      Yes, but it probably won't be until near the end

    • @putrisuryodinoto182
      @putrisuryodinoto182 2 года назад +1

      Agree, Btw gnomecode u will make lobby tutorial and the shop thing (or others) right?

  • @gracetaylor7556
    @gracetaylor7556 2 года назад

    thanks gnomecode!! someone in ur discord helped me btw

  • @Venox2106
    @Venox2106 3 месяца назад +1

    if you click and doesn't paint red You may need to change BasePart to Part

  • @milosquad6747
    @milosquad6747 3 месяца назад +1

    wheres the "my fellow gnomes"?? good tutorial though nice job

  • @Wazzalish
    @Wazzalish 2 года назад +2

    Will we get to make difficulty buttons before round 1 starts? Like Easy, Normal, Hard modes?

  • @hampster0853
    @hampster0853 2 года назад

    i WATCHED YOU OTHER VIDEO THERE AMAZING :OOOOOOOOOOOOOOOOOOOOOOOO

  • @Misteramen
    @Misteramen 2 года назад

    Additional towers and their repsective abilities and specialities (e.g AOE) should be a thing for the next episode(s)

  • @ghostbear1169
    @ghostbear1169 2 года назад

    You should make another video about advanced enemys. Like editing speed of enemys. Changing tower targets to strongest, closest, or first enemy.

    • @raginggshorts5094
      @raginggshorts5094 2 года назад

      Changing the speed of enemies is easy it’s in the humanoid properties

    • @silo9596
      @silo9596 2 года назад

      @@raginggshorts5094 ikr

  • @rafaels.chanel4219
    @rafaels.chanel4219 2 года назад

    when you said "GameController" i accedentaly typed "GamingController"
    i guess im just a true gamer B)

  • @iiRazix
    @iiRazix 2 года назад +1

    Can u do a matchmaking - lobby please and thanks for your tutorial !

  • @clappingtoday7167
    @clappingtoday7167 2 года назад

    this is literally what I’ve been looking for

  • @Glagmi
    @Glagmi 2 месяца назад

    this is working so far i made a leak for my td game

  • @PacmanTV31
    @PacmanTV31 2 года назад +1

    For an episode could you show us how to make different enemies have different health values? + healthbar?

    • @kittykatgameree7590
      @kittykatgameree7590 2 года назад

      if you go to humanoid under your enemies you should be able to set health and maxhealth from there

  • @celix4741
    @celix4741 2 года назад

    YES

  • @mrlollypopfan2mrlollypop880
    @mrlollypopfan2mrlollypop880 2 года назад

    NOICE vid

  • @SRTdowned
    @SRTdowned 2 года назад

    Wooo made it to #5

  • @xevior1319
    @xevior1319 2 года назад

    Hey gnome, can you make a part 6 where you can get different towers? If you could, that would help alot, thanks!

  • @ItzAtariYT
    @ItzAtariYT 21 час назад

    "we had this tower that striked hell and fury"
    -gnomecode

  • @aaronmclemore3368
    @aaronmclemore3368 2 года назад +1

    Hey gnome I have a question could u show a tutorial on how to make a map voting system and when the map gets the higher votes it teleports u to that map with a timer when the game is done and a intermission so u can be ready to select that map

  • @XedricPlays
    @XedricPlays 2 года назад

    yes thank you!

  • @Somftix
    @Somftix 7 месяцев назад

    Thanks 😊

  • @O2U_
    @O2U_ 2 года назад +2

    The ray-casting is not working for me and neither is the mouse position, but this is a great tutorial series so far! Keep it up :)

  • @TheTomatoo
    @TheTomatoo Год назад +1

    Hello, GnomeCode!
    Can I use Player:GetMouse() instead of mouse raycasting ?

    • @lllllllll--8
      @lllllllll--8 5 месяцев назад +1

      i aint gnome but- no

    • @Triploonic
      @Triploonic 4 месяца назад

      ​@@lllllllll--8 I'm pretty sure you can.

    • @lllllllll--8
      @lllllllll--8 4 месяца назад

      @@Triploonic ye now that the darn code ain't working I think so too

  • @a.izhan15
    @a.izhan15 2 года назад

    Basiclly i get noob enemie then i did remodel as my model for tower defense game.By the way, thank you so much because other are just outdated 😁

  • @DaWaffleman
    @DaWaffleman 2 года назад

    Should I just disable first person, because it doesn't work in first person at least for me? But that was a really good video, good job!

  • @KielRussee
    @KielRussee 2 года назад +1

    You know you're doing everything right when you colored the whole map in the color

  • @EggVrGtag
    @EggVrGtag 2 года назад

    keep up the Good Work 1 thing tho soon can u teach us how to make units like jeeps and so that the dev can spawn enemys with admin cmds pls

  • @Donalionchik
    @Donalionchik 2 года назад +1

    make video on animate attack tower pls!

  • @makitheking028
    @makitheking028 2 месяца назад

    Imma do this next week
    6:10

  • @ItsFinaleee
    @ItsFinaleee Год назад

    you should get to 100K subs

  • @arkanabrar304
    @arkanabrar304 2 года назад

    You should do the upgrade tower

  • @PFearr
    @PFearr 2 года назад

    Nice

  • @tigertylan1133
    @tigertylan1133 Год назад

    Peaceful tower defence game for at least 10 sec before you start… TESTING OUT YOUR RAYCASTING SYSTEM