Mouse Raycasting - Tower Defense Tutorial #5

  Рет қаралды 254,388

GnomeCode

GnomeCode

Күн бұрын

Пікірлер: 709
@Pyr0Blox1
@Pyr0Blox1 3 жыл бұрын
Can we all agree that these tower defense stuff get better and better the more we watch them
@ekto3687
@ekto3687 3 жыл бұрын
@Cayden lee Cox yep probably
@yesimdre
@yesimdre 3 жыл бұрын
eye candy
@hetzo6718
@hetzo6718 3 жыл бұрын
Yessir
@TheLogster96
@TheLogster96 3 жыл бұрын
Ya
@mobileobbygod2589
@mobileobbygod2589 3 жыл бұрын
I do
@Ultimantecat
@Ultimantecat 3 жыл бұрын
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 Жыл бұрын
thats what tutorials are they teach you
@NeonLabsss
@NeonLabsss Жыл бұрын
yeah it's great I'm following the series to learn and test my scripting
@d00mprod
@d00mprod 10 ай бұрын
It's great when the SAME PERSON (Or should I say bot) COMMENTS THE SAME MESSAGE
@thewisearchitect
@thewisearchitect 22 күн бұрын
Thanks!
@GnomeCode
@GnomeCode 22 күн бұрын
Much appreciated, all the best with your game!
@foolspark
@foolspark 2 жыл бұрын
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.
@HoopsTheBee
@HoopsTheBee 3 жыл бұрын
Geez man! You really banging these out. Love it!
@morelakritssnovit4295
@morelakritssnovit4295 2 жыл бұрын
love ur vids
@ideal.leader
@ideal.leader 2 жыл бұрын
didnt expect you here at all hoops, i love your channel!
@certifiedbrickbattler
@certifiedbrickbattler 10 ай бұрын
BEE SWARM MAN!?
@accid_ttv3699
@accid_ttv3699 3 жыл бұрын
Finaly another episode that i can spend 5 hours to do what he did in 15 minutes
@Dashing_Geometry
@Dashing_Geometry 3 жыл бұрын
true
@masondoesxd
@masondoesxd 3 жыл бұрын
what? it takes like 30 mins to follow his tutorials unlike any other ones that actually take 5 hours...
@sivvim
@sivvim 3 жыл бұрын
it takes me 14 minutes 👀
@pixelatedluisyt
@pixelatedluisyt 3 жыл бұрын
you’re complaining about that instead of commenting something like “your teaching me a lot, love the tutorials”
@universlion
@universlion Жыл бұрын
8:48
@jigglyjosh5047
@jigglyjosh5047 3 жыл бұрын
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 3 жыл бұрын
you can use mouse.Target tho
@wallop560
@wallop560 3 жыл бұрын
@@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
@Norrday
@Norrday 3 жыл бұрын
FINALLY YES I'VE BEEN WAITING THANK YOU FOR MAKING THESE TUTORIALS SO MUCH!
@Wazzalish
@Wazzalish 3 жыл бұрын
I love how you make tutorials from scratch instead of a “Kit”.
@Axium3
@Axium3 Жыл бұрын
oh my gosh you are right. ive tried to make a fighting game but every tutorial said to use so many scripts
@PineBloxx
@PineBloxx 3 жыл бұрын
Merry Christmas Gnome! Well done for this year and best of luck for the next!
@mrflovs754
@mrflovs754 2 жыл бұрын
the outro is the best thing i've seen all week
@tweaker_deaker
@tweaker_deaker 2 жыл бұрын
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 2 жыл бұрын
god bless you
@tweaker_deaker
@tweaker_deaker 2 жыл бұрын
@@Ego_to_ID You're welcome.
@ouren3220
@ouren3220 Жыл бұрын
TYSM it saved a lot of time i think
@bowmin1
@bowmin1 Жыл бұрын
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
@sirmansir1964
@sirmansir1964 20 сағат бұрын
Had to participate in villainous laughing while turning my world red, peak tutorial, you've earned the likes
@murganes3107
@murganes3107 3 жыл бұрын
Thank you gnome, your tutorials are sooo amazing!!! Please keep up the great work!
@TiggyChiChi
@TiggyChiChi 4 ай бұрын
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*
@TotaIIyNotBanana
@TotaIIyNotBanana 3 жыл бұрын
Time Stamps: Intro - 0:00 Detecting the mouse position - 0:30 Getting mouse ray - 3:50 Making raycasts - 6:00 Using RunService - 8:06 Interacting on click - 10:35 Outro - 14:30
@susfallenking4131
@susfallenking4131 3 жыл бұрын
Not trying to be mean, but you can look at it in the description
@jamesclack882
@jamesclack882 2 жыл бұрын
Thank you this is an amazing tutorial this is the first GOOD one i have found in ages
@The_Randomized
@The_Randomized Ай бұрын
NIce outro!!
@drowsycosmic4854
@drowsycosmic4854 3 жыл бұрын
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 3 жыл бұрын
Good question. I always name services in PascalCase using their full name, then generally use camelCase for all other variables
@mageninjaballer1449
@mageninjaballer1449 3 жыл бұрын
@@GnomeCode what the difference??????
@drowsycosmic4854
@drowsycosmic4854 3 жыл бұрын
@@GnomeCode Thank you so much
@entityofanimations3952
@entityofanimations3952 3 жыл бұрын
@@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 3 жыл бұрын
@@entityofanimations3952 he said in the video it won't work on mobile.
@akiprox7
@akiprox7 2 жыл бұрын
Tysm man! Best TD series ever!
@theblaze89miller
@theblaze89miller 3 жыл бұрын
love this, hope to see part 6, cant wait to brag to my friends i made a tower defense game from scratch
@eiruujj
@eiruujj 3 жыл бұрын
you should not brag it will come back to you
@Wertyhappy27
@Wertyhappy27 3 жыл бұрын
Following a tutorial isn't from scratch
@GnomeCode
@GnomeCode 3 жыл бұрын
Best of luck with your game!
@theblaze89miller
@theblaze89miller 3 жыл бұрын
@@Wertyhappy27 what i mean is i didnt used that many free models
@theblaze89miller
@theblaze89miller 3 жыл бұрын
@@GnomeCode also the player colliding with mobs and the mobanimations scripts do not work and i don't know why
@BBTProductionsArchive
@BBTProductionsArchive 3 жыл бұрын
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. :)
@sliceggjd
@sliceggjd 3 жыл бұрын
This is just one word "AMAZING!"
@clapanimates
@clapanimates 3 жыл бұрын
I’ve always wanted to make a td game ever since below natural made one and now I can because you are making this!
@reddeadleisure
@reddeadleisure 3 жыл бұрын
0
@Dusty2763
@Dusty2763 3 жыл бұрын
the best tutorial KZbinr ever
@BrenFirely
@BrenFirely 3 жыл бұрын
Finally someone do tower defense tutorial which I wanna learn from a long time😥 thank u!!!
@WearWQLF
@WearWQLF 3 жыл бұрын
I bet you at the end of this tutorial 75k subscribers good work gnomecode
@janmorenob1615
@janmorenob1615 3 жыл бұрын
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 3 жыл бұрын
this is episode 5
@Norrday
@Norrday 3 жыл бұрын
too much for one episode.
@beniciogames4953
@beniciogames4953 3 жыл бұрын
Its basically one of those per ep but its too soon for that
@lukiValent
@lukiValent 3 жыл бұрын
idle animations for towers is just add a random animate script that loops forever
@DaWaffleman
@DaWaffleman 2 жыл бұрын
This episode is episode 5...
@Dafusionplays
@Dafusionplays 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!!
@baconlol3716
@baconlol3716 3 жыл бұрын
maybe
@pixelatedluisyt
@pixelatedluisyt 3 жыл бұрын
2 days least probably 5 days max
@Zane-Satoru
@Zane-Satoru 3 жыл бұрын
bro it came out 3 hours ago dont rush
@Dhfhdjhfjnd
@Dhfhdjhfjnd 3 жыл бұрын
I don’t understand very much of this but I still love watching it
@GnomeCode
@GnomeCode 3 жыл бұрын
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
@GamingCadeez
@GamingCadeez 10 ай бұрын
Wow! This is amazing!
@jhkz
@jhkz 3 жыл бұрын
That's so simple to understand, thank u bro ;)
@GnomeCode
@GnomeCode 3 жыл бұрын
Always great to hear, thank you!
@neutralizedadd3990
@neutralizedadd3990 2 жыл бұрын
2:23 I learned that not putting a wait is a bad idea the hard way lol
@Zylxk
@Zylxk 2 жыл бұрын
jeez, must have did the poor gpu a burden
@Tiny_bigninja
@Tiny_bigninja Жыл бұрын
@@Zylxknah the script just ends now (luckily)
@jokeyjosee4605
@jokeyjosee4605 6 ай бұрын
Another Awesome Video
@alskopim
@alskopim 3 жыл бұрын
You literally showed me all the things i needed to know, that other youtubers barely could make a tutorial on!
@GnomeCode
@GnomeCode 3 жыл бұрын
You're welcome, best of luck with your project!
@alskopim
@alskopim 3 жыл бұрын
@@GnomeCode Thanks!
@MrSpace5260
@MrSpace5260 3 жыл бұрын
i will probably never be abled to make a game like that but its fun to watch you make one ngl
@Scorpio894
@Scorpio894 3 жыл бұрын
Can you make a lobby and shop at the end of the series
@Scorpio894
@Scorpio894 3 жыл бұрын
I'm trying to make my own tower defense game and I was just wondering so I can make my dream game
@GnomeCode
@GnomeCode 3 жыл бұрын
Sure, though we need to make all the main game mechanics first - much to do!
@christiannacin728
@christiannacin728 3 жыл бұрын
@@GnomeCode thank you
@christiannacin728
@christiannacin728 3 жыл бұрын
@@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 3 жыл бұрын
@@GnomeCode im gonna add you as a tower youll be a jedi what color light saber you want
@ICEDSummer
@ICEDSummer 3 жыл бұрын
YO LETS GO THANKS FOR THE TUTORIAL
@jinxed-truly
@jinxed-truly 7 ай бұрын
thx for the tutorial i love this series!
@Jokubasas
@Jokubasas 7 ай бұрын
The code worked for you? Because mine doesnt
@jinxed-truly
@jinxed-truly 7 ай бұрын
@@Jokubasas it certainly does, did you double-check that your code is exactly the same as gnomecode's?
@Jokubasas
@Jokubasas 7 ай бұрын
@@jinxed-truly i did it a lot of times i even changed the BasePart into Part and none worked
@trashrobloxkid
@trashrobloxkid 2 жыл бұрын
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'
@BrianBaniewicz
@BrianBaniewicz Жыл бұрын
Try using a function
@Nepomni_Original
@Nepomni_Original 17 күн бұрын
Late then never ahh comment so there script how to script ur err function Raynew() local RayParams = RaycastParams.new() RayParams.FilterType = Enum.RaycastFilterType.Exclude RayParams.FilterDescendantsInstances = {plr.Character}
@NikolasH123
@NikolasH123 2 жыл бұрын
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
@theofficialjorden226
@theofficialjorden226 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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 3 жыл бұрын
@@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
@theofficialjorden226
@theofficialjorden226 3 жыл бұрын
@Bocho no, I know how to script and I'm not making a tower defense I'm making a platformer game
@theofficialjorden226
@theofficialjorden226 3 жыл бұрын
the game is being solo developed by me. It's hard, but everything is coming along great. the platformer mechanics let you do acrobatics like Mario and you can gain momentum by going down slopes and stuff like a sonic game. I also made the music soundtrack sound something like Sonic Adventure 2 and Sonic Mania. The game was supposed to be released this year but got delayed until next year because of Roblox being down and some school stuff.
@sebobebo10
@sebobebo10 3 жыл бұрын
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 3 жыл бұрын
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
@blockyee
@blockyee 3 жыл бұрын
This is amazing your so underrated
@dog_mco2701
@dog_mco2701 3 жыл бұрын
ik u upload next video fast but i want them faster i cant wait to complete my game thanks so much for helping me
@TheTomatoo
@TheTomatoo Жыл бұрын
Hello, GnomeCode! Can I use Player:GetMouse() instead of mouse raycasting ?
@Triploonic
@Triploonic 6 ай бұрын
​@minuscat666 I'm pretty sure you can.
@PeaKanin
@PeaKanin 3 жыл бұрын
i tried once... but failed. thanks for helping me see the light! you're the best!
@skaiomg
@skaiomg 3 жыл бұрын
A bit late, but congrats on 3 years gnome! :D
@GnomeCode
@GnomeCode 3 жыл бұрын
Thank you!
@skaiomg
@skaiomg 3 жыл бұрын
@@GnomeCode No problem! I love your content!
@policiamilitar9060
@policiamilitar9060 2 жыл бұрын
You too can do: Players = game:GetService("Players") Mouse = Players.LocalPlayer:GetMouse() task.wait(3) print(Mouse.Hit.Position)
@znightmxrę-wr
@znightmxrę-wr 3 жыл бұрын
Can you'd do the range of the tower
@GnomeCode
@GnomeCode 3 жыл бұрын
We covered this in the last episode. Remember that 'maxDistance' variable?
@erky2264
@erky2264 3 жыл бұрын
@@GnomeCode i think he means about the half transparent cylinder that shows their distance
@GnomeCode
@GnomeCode 3 жыл бұрын
@@erky2264 Ah yes, we'll be making things look a bit more pretty eventually
@mageninjaballer1449
@mageninjaballer1449 3 жыл бұрын
@@GnomeCode ah yes will we use brightness and stuff like that like bloom? For sun and like raycasting for rays?
@gobokoboobo4620
@gobokoboobo4620 3 жыл бұрын
For now you can attach a transparent cylinder part at the bottom center of your tower and change the size of it to whatever your maxDistance is times 2. If your maxDistance is 50, then the size of the cylinder should be 100x100.
@aaronmclemore3368
@aaronmclemore3368 3 жыл бұрын
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
@Wazzalish
@Wazzalish 3 жыл бұрын
Will we get to make difficulty buttons before round 1 starts? Like Easy, Normal, Hard modes?
@kam7822
@kam7822 2 жыл бұрын
I was having a ton of trouble with unions not changing colour and bam 14:08 he just solves it XD
@zoop08_
@zoop08_ 3 жыл бұрын
May you do a reverse path tutorial for humvees or things that come from exit
@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
@Venox2106
@Venox2106 5 ай бұрын
if you click and doesn't paint red You may need to change BasePart to Part
@TransportBacon
@TransportBacon 8 ай бұрын
very good going to do this episode later my tower defense game is forming because of this series
@br1an0729
@br1an0729 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 3 жыл бұрын
AGREED
@That_stupid_guy
@That_stupid_guy 3 жыл бұрын
It’s not that hard you just make one
@JayBeeLucas
@JayBeeLucas 3 жыл бұрын
@@That_stupid_guy HOW?
@GnomeCode
@GnomeCode 3 жыл бұрын
Yes, but it probably won't be until near the end
@putrisuryodinoto182
@putrisuryodinoto182 3 жыл бұрын
Agree, Btw gnomecode u will make lobby tutorial and the shop thing (or others) right?
@jakubkopyowski4238
@jakubkopyowski4238 2 жыл бұрын
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.🤗
@cryptex6709
@cryptex6709 Жыл бұрын
bro press play
@hamunja
@hamunja Жыл бұрын
hey GnomeCode! this video helped me alot but i cant seem to find a work around with a bug -.-" on realistic 1st person a headcam is inserted onto the player and made the subject but since its there on first person, the mouse ray detects only the headcam and not the otherparts
@gracetaylor7556
@gracetaylor7556 2 жыл бұрын
thanks gnomecode!! someone in ur discord helped me btw
@Arli24
@Arli24 2 жыл бұрын
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)
@pixelatedluisyt
@pixelatedluisyt 3 жыл бұрын
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 3 жыл бұрын
Much better broken down into individual episodes!
@pixelatedluisyt
@pixelatedluisyt 3 жыл бұрын
@@GnomeCode yep
@Trohten2Roblox
@Trohten2Roblox 3 жыл бұрын
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)
@BananaCode
@BananaCode 3 ай бұрын
Great tutorial, even after 2 years! The only thing I'd like to see is mobile support for the input.
@TDSUNI
@TDSUNI 3 жыл бұрын
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 3 жыл бұрын
yeah duh almost every TD game has that
@TheDevOfScript
@TheDevOfScript 22 күн бұрын
YAY GNOMECODE MAKING SURE TO PUT SHOUT OUT IN MY GAME UR THE BEST
@jasonfun4069
@jasonfun4069 Ай бұрын
Wait when i turned everything red, the tower and terrain i designed isn't changing color. Can you help?
@entityofanimations3952
@entityofanimations3952 3 жыл бұрын
GnomeCode everything is working but the raycasting doesn't work for mobile does anyone know a way to make it work on mobile also?
@sleepingcat7278
@sleepingcat7278 3 жыл бұрын
Hey u will do a video of how to make towers that can spawn things from the end to the start like a car and damage the enemies
@akiprox7
@akiprox7 2 жыл бұрын
Amazing! Thank you!
@triducal
@triducal 3 жыл бұрын
im assuming you will be able to place rhe tower anywhere in the ground and not in a grid-lock?
@sodiumchloride8886
@sodiumchloride8886 3 жыл бұрын
YESS PART 5!!!!!
@catthrower42
@catthrower42 3 жыл бұрын
Im not even gonna use this. But im watching it for fun (: keep up the Good work Gnomecode!
@GnomeCode
@GnomeCode 3 жыл бұрын
Thanks, will do!
@adam_always1945
@adam_always1945 8 ай бұрын
Is this video just for painting stuff different colors btw this is a question
@GrimGamingTheOfficial
@GrimGamingTheOfficial 8 ай бұрын
no its setting up for the next episode so the next episode isn't an hour long :)
@adam_always1945
@adam_always1945 5 ай бұрын
Okay thanks
@verybasicchannel
@verybasicchannel 3 жыл бұрын
on the first few parts of scripting, it only waited there for 3 secs (because task.wait was equal to 3) then gave me the location, i counted 3 again, and what popped up was nothing, so i had to put it under a while true do function. And when i put processed at line 18, it appeared undefined, explains the blue line under processed. SAME THING WITH INPUT.
@CheeseCookie_TD
@CheeseCookie_TD 6 ай бұрын
it doesnt work for me, i did everything right and theres not even an error message, why?
@chasesheridan3109
@chasesheridan3109 2 жыл бұрын
When i did the part where it would print what material the mouse is touching, it broke to only say i was touching the baseplate
@jackinoz
@jackinoz 5 ай бұрын
@GnomeCode Im having issues when ever I click on anything it would say "color is not a valid member of (what i clicked)" you know what's wrong
@catdoor3676
@catdoor3676 3 жыл бұрын
Oh nice
@notgamegamebrotrust
@notgamegamebrotrust 4 ай бұрын
can anyone tell me why his animations magically started working after the episode before at the end of the video where they were broken?
@bigbungas1132
@bigbungas1132 Ай бұрын
If u got a model just highlight it instead i used chatgpt so istead of coloring it highlighted
@ambarkegamer4528
@ambarkegamer4528 3 жыл бұрын
Ths is so cool I'm excited if you end of crate the map
@Mighty180681
@Mighty180681 3 жыл бұрын
in episode 6 will we make bullets that show if the zombies get hit or not? if not thats an idea for yah
@Gumbibull
@Gumbibull 2 жыл бұрын
just keeps getting betterawwerrwe
@MasterDiddyVR
@MasterDiddyVR 9 ай бұрын
I know i am a little late but was wondering what was happening because in the last video at the output it had it going every second but in this video i saw a 30 second gap between the waves is there a way I can fix this?
@IcyOmnivore
@IcyOmnivore 3 жыл бұрын
So I have a problem with my mouse ray problem when it said : is not calling a member function Getservice and my loadAnimation said require the humanoid object to be a decsendant of the game object
@Sergiottooo
@Sergiottooo 3 жыл бұрын
I have a problem, ehr script say me “position is not a valid member of model “workspace. Tower”
@PacmanTV31
@PacmanTV31 3 жыл бұрын
For an episode could you show us how to make different enemies have different health values? + healthbar?
@kittykatgameree7590
@kittykatgameree7590 3 жыл бұрын
if you go to humanoid under your enemies you should be able to set health and maxhealth from there
@Babtu78
@Babtu78 6 ай бұрын
I stuck here becouse Playerscripts (or how its named) dont work WHAT shuld i do?
@sodiumchloride8886
@sodiumchloride8886 3 жыл бұрын
12:55 I'm confused because "processed" and "input" show up orange underlined. Anybody know what this is?
@sodiumchloride8886
@sodiumchloride8886 3 жыл бұрын
OHHH nevermind i found out what it meant
@noobynate_4955
@noobynate_4955 2 жыл бұрын
Is there a way to change their targetting to not be the closest? (ex: first instead)
@codingidiot6754
@codingidiot6754 2 жыл бұрын
how would you shoot a raycast to the mouseray hit position?
@totallyoofify5319
@totallyoofify5319 3 жыл бұрын
Is there a way to make hidden enemies that you need to upgrade your tower to kill
@RomRomChoppa
@RomRomChoppa 2 жыл бұрын
uhh the mouse position wont print
@Windy9132
@Windy9132 Ай бұрын
I know this is late but you have to play as the player instead of camera
@fireplayz8268
@fireplayz8268 3 жыл бұрын
Hey question on episode #4 the mobs didnt walk anymore and u wil be able to see that on ur screen how did u fix these?
@monke_744
@monke_744 3 жыл бұрын
my computer died from your great knowledge
@iwogold
@iwogold 3 жыл бұрын
can part 6 be about making the base health or something
@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!
@Donalionchik
@Donalionchik 3 жыл бұрын
make video on animate attack tower pls!
Tower Placement  - Tower Defense Tutorial #6
40:12
GnomeCode
Рет қаралды 417 М.
I Played Every Roblox Tower Defense Game
27:01
propellars
Рет қаралды 1,2 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Base Health  - Tower Defense Tutorial #8
28:12
GnomeCode
Рет қаралды 170 М.
I spent 500 DAYS Building My Roblox Game!
14:21
DeHapy
Рет қаралды 1,3 МЛН
Can 6 DEVS Make a Tower Defense Game Without Communicating?
14:01
The Fall of Roblox's #1 Game
20:22
Schlep
Рет қаралды 875 М.
Creating Towers + Killing Mobs  - Tower Defense Tutorial #4
16:22
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,9 МЛН
Evolving AIs - Predator vs Prey, who will win?
12:15
Pezzza's Work
Рет қаралды 2,9 МЛН
What if Old Minecraft Mobs were Created Today?
28:05
KazooCat
Рет қаралды 782 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН