This is the most well explained and complete lerp video. This is a great resource
@MarxismOfficial Жыл бұрын
DUDE, I'VE BEEN WANTING TO MAKE THIS FOR SO LONG. THANK YOU VERY MUCH!
@Badubiy Жыл бұрын
Why only 452 views? You deserve millions! Your videos are so useful and important
@GnomeCode
Жыл бұрын
Thanks for the support
@horrorgamedev
Ай бұрын
@@GnomeCode i may be hyper late to this video, but how could i make a part lerp or tween to another part. im trying to make a script that pulls the player towards a part
@RanDanRunned9 ай бұрын
very useful, been porting a game to an older client without tweenservice so this will be very helpful!
@TheAmazingRobloxDev9 ай бұрын
I watch your videos almost every day sins 5 months ago and i love all the work you put for all you viewers
@candykid44 Жыл бұрын
Very interesting tutorial idea! Keep up the good work gnome! :)
@mr_griffolukegriffiths9166 Жыл бұрын
Superb video! Really thorough and without overcomplicating it. Bravo you awesome Gnome 👌
@GreatRamilYT Жыл бұрын
wow, thx GnomeCode for new video! keep up the good work creating amazing content!
@cryytics2730 Жыл бұрын
Thank you, I am learning how to script right now and this taught me alot.
@EndeXlol Жыл бұрын
Great video, exactly what i needed 👍
@MontiBloxxer Жыл бұрын
Yo I was looking for a tutorial on this. Thanks!
@cocostars_37 Жыл бұрын
As always, perfect !
@uliveulearnandregret11 ай бұрын
ngl this is more helpful compared to most of the tutorials out there, they don't really explain what tween is in a good way, I'm hoping the raycast video can get to me too :)
@tist203 Жыл бұрын
Excellent video and demo
@koainanis5840 Жыл бұрын
That's a pretty interesting little nice helper ! The GnomeCode made it =)
@Batimox Жыл бұрын
Nice video, however I have a question, will you still continue with the doors tutorial?
@CodenameLucky Жыл бұрын
tbh gnome code = W ive been following him since his first learn how to code video I think it was
@Im_crybilon11 ай бұрын
This has been the traditional code for coding since I started back in 2014; I think I should get back developing-kinda nostalgic
@beanoslol Жыл бұрын
I also learned how to make a map system with this
@FEG_Studio10 ай бұрын
Underrated !
@universed49310 ай бұрын
Amazing video! Roblox documentation really doesn’t have a lot on this subject. I’m currently making inverse kinematics feet in r6, I’ve finished mostly everything, but I just needed a way to get the feet to lerp smoothly to the target within the renderstep.
@oofoof69
Ай бұрын
Do you plan pn making that a plugin?
@glenrose300 Жыл бұрын
0 Views, 0 Comments And 0 Likes. Don't Know How I Got A Notification Early When My WiFi Is Terrible.
@epixerty
Жыл бұрын
doesn't have anything to do with your wifi its youtube
@Shiba6442
Жыл бұрын
@@epixerty if you have bad WiFi your youtube will be terribble
@groboggan9535
Жыл бұрын
It’s because you are the chosen one my lord “bows down respectfully and does a little jig”🥔
@epixerty
Жыл бұрын
@@Shiba6442 a bad wifi is just going to delay the notification less than 2 seconds, doesn't change the fact that you would be very early
@CuteBricks
Жыл бұрын
Maybe the 0 was for the wifi
@stroyosh4670 Жыл бұрын
I've learned a lot 😃
@SunkenOcean Жыл бұрын
could you break down/explain what the for *for i =* means?
@bardiumtrove Жыл бұрын
thanks it helped!
@DrDougan11 ай бұрын
is there a way i could use this to rotate a model colockwise constantly in the run service loop, while ocislating it up and down slightly, in other words, can i lerp 2 or more properties at once?
@rumin_al6428 ай бұрын
so we can use this method for elevators in td?
@_dev_wolwaz56329 ай бұрын
How to make the main part lerp to the target and then lerp back to its original position?
@darky_gamer4820 Жыл бұрын
Gnomecode will you work more on doors I LOVE THAT!
@LeCanardYT Жыл бұрын
Thanks you for the help, you need more likes !
@alejandrorivera9694 Жыл бұрын
Very nice tutorial! I really needed to learn that but... How do I make the Animate2 Script compatible with other animation scripts?Help me to fix that please! (I already subscribed and liked)
@walsterburns450 Жыл бұрын
Damn nice vid
@NukegamerboyRA Жыл бұрын
This is what I needed for my game thank you!
@epixerty
Жыл бұрын
no you didn't
@NukegamerboyRA
Жыл бұрын
@@epixerty yes I do I'm making a game with a group of people and I'm the scripter. So stop assuming what people need and don't
@epixerty
Жыл бұрын
@@NukegamerboyRA You're the type of guy to comment the same thing on every video, just because you feel like commenting something. Lerp isn't even that advanced, and if you are a "scripter" you would at least know about TweenService which is almost the same thing
@qwerty_qwerty
Жыл бұрын
@@epixerty did you even watch the video? The reason Gnome is showing us this is because using TweenService you can't change the target while the Tween is running. And it doesn't matter that it's not advanced, no one said it was.
@epixerty
Жыл бұрын
@@qwerty_qwerty I know that, but that's for very specific situations which this guy clearly hasn't even encountered yet
@TheHeadlessMario Жыл бұрын
Good video, i learned lerping from your rush AI video, Thanks :) btw just one question, when does doors part 8 come out?
@Shadow_06735
Жыл бұрын
thats what im questioning as well!
@fatcat90007 ай бұрын
any idea how to tween an object with proximity prompts?
@petah_goofister Жыл бұрын
Idea for series: How to make a game like “Natural Disaster Survival”
@octobober47 Жыл бұрын
Love the video, could we get a video on more towers from the tower defense series, like aviators or summoners that’d be super helpful! Keep the videos coming!
@danisactive62546 ай бұрын
soo once alpha equaled more than 1, how do i make it so that it moves smoothly again after making part.CFrame equal to startCFrame
@user-jy9yv7to8u Жыл бұрын
Bro Gnome are you seeing my project or something cause i needed a way to move my models
@Despacite Жыл бұрын
Nice Video!
@MiroSynthBit Жыл бұрын
Great useful tutorial! , but what i'l appreciate more is that you make a tutorial on camera manipulation. such as if you click a part the camera goes to the part.
@GnomeCode
Жыл бұрын
I may do a standalone video on that soon. In the meantime, you may find this helpful: kzread.info/dash/bejne/h3551I-gc7iwZc4.html
@djcrutzfighter_rbx Жыл бұрын
Hiiiiio 28 mins early best content
@hike8932 Жыл бұрын
this is like super advanced and i think tweening is more efficient so ima leave it here and head to the next tutorial or if you want to learn maybe learn cframes a little bit more and the runservice too
@hike8932
24 күн бұрын
Look at you, your so epic, because im now here to learn how to incorporate lerping, bezier curves and some maths stuff into coding. Good job, me. Keep going.
@kxhu10 ай бұрын
i really like to use the math formula ``` {end} - x position where you want to move the part to ( X * 2 + {end} ) / 3 ``` ,where it will execute the code, until the part is on it's destination
@Fujui
10 ай бұрын
Can you elaborate please?
@iloveapplejuice5947 Жыл бұрын
When is the best gnome jam?
@qester5 Жыл бұрын
gnomecode when will you make another doors tutorial?
@real_logangifty07 Жыл бұрын
Hey can you do part 8 of doors because part 1 of doors, I tried but don't work people kept saying it, maybe you know how to fix the bugs for room generated, entity and etc.
@kennethkline77027 ай бұрын
Please turn this into a camera sequence
@beanoslol Жыл бұрын
What about if I use PivotTo() instead of Lerp()
@arandomguywithfriends Жыл бұрын
When is part 8 of doors?
@rockyes32392 ай бұрын
lerp cant be used on strings?
@DeveloperPop Жыл бұрын
I have a damage code with a part that will lerp to a location. If the part is deleted why is the damage code still working when the Lerp is complete ((the damage script works when the lerp is complete so its inside the lerp script))
@GamingStudiosX Жыл бұрын
why are your newer videos like darker than the videos you made a few days ago ??
@abnormal_gamer3 Жыл бұрын
mr gnome code i cant even use roblox studio and try to make a tds Game! how do i fix this problem?
@nickkingpiggy2651 Жыл бұрын
I like it i might use it for my games ??? 👌👌
@aimbro6912 күн бұрын
how do u lerp model
@SuperGamer-kr1dn Жыл бұрын
n the tower defence series that GnomeCode created, i have a problem in it. When i load my game, the lobby's data is working and loading, but when i play the game the data in the game is not connecting with the data in the lobby. Please can someone help me with this, i am so frusterated and have been trying this for sooooo many hours
@iloveapplejuice5947 Жыл бұрын
Nice
@thechannel7988 Жыл бұрын
can you create a monster that randomly attacks the player like Charles from "Choo Choo Charles" I understand that this game was made on a different game creation engine, but if possible, please do a tutorial on this
@kevinakid2024 Жыл бұрын
Hey Gnome can you make video about gamepass and save it in shop, like "mini extra Tower Defense game" so you can buy limited tower by robux and use it in match. I hope you do it 😢
@ImVerySorry Жыл бұрын
Remember: you can select something and then press ''CTRL + X'' to delete + copy it. So if you press ''CTRL + V'' it will be pasted. c:
@Mlues Жыл бұрын
Hey im making a tds game i watched your first tds coding thing but it didnt work for me :C
@Cowboy_Hat202 Жыл бұрын
When another doors tutorial?
@sebalby34 Жыл бұрын
cool video! whe next doors tutorial tho?
@Stas-ON
Жыл бұрын
yeah would like to see next series
@alejandrorivera9694
Жыл бұрын
It's been 2 months... 🥱🥱
@animatnetic25459 ай бұрын
Hey ugh, I probs wont get a reply, but when you defined "startTime", you actually never used it???
@CraftMineBuilds Жыл бұрын
when r u making the doors tutorials??????????????????????
@timelapseman3318 Жыл бұрын
i want to play a chinese war game but there is none that is good can you start a series on how to make a war game?
@andyengine2661 Жыл бұрын
would love it if you could do a tutorial for first person weapons .. from scratch ... including arms and reloading etc, etc... their doesn't seem to be a definitive tutorial on the subject that doesn't use pre-made code etc.
@bigamingplayer2409
Жыл бұрын
Your gonna need to learn a TON of scripting and techniques before you get to advanced stuff such as FPS weapons as they could be coded in many different ways
@andyengine2661
Жыл бұрын
@@bigamingplayer2409 I already know quite a lot of scripting basics for Roblox ... The idea of a tutorial is to teach ... A reloading weapon tutorial would be great for learning new scripting techniques. My area isn't really scripting/coding but in 3D asset creation. My scripting knowledge mainly comes from using Unreal Engine 2 and Unreal Script.
@F1Frankie2511 Жыл бұрын
When’s the next doors tutorial
@hxmornyless Жыл бұрын
Gnomecode make the part 8 please
@jacobfromohio5347 Жыл бұрын
An interesting way to move parts! I do have a question though, if a player were to stand on a lerping part, would they stay on it?
@GnomeCode
Жыл бұрын
No, when you directly set the CFrame of a part you're not using the roblox physics engine (Which is required for standing on moving items). Instead you should make use of BodyMovers/Contraints for that.
@UltraDubzYT
Жыл бұрын
@@GnomeCode whats that
@triducal
Жыл бұрын
@@UltraDubzYTlook it up
@arandomguywithfriends Жыл бұрын
Part 8 of doors idea: Screech and Dark rooms or Timothy or coins or other items,
@gemmken Жыл бұрын
doors episode when? I'm waiting for the beautiful start room 👍👍
@RobloxPuppet Жыл бұрын
When teddy Chapter 5 come out
@eduerob1012 Жыл бұрын
Make another escape game like teddy plsssssss
@jackoboy7766 Жыл бұрын
I'm confused on why the alpha value is runningTime divided by lerpTime. Could someone explain it?
@BasedOnBrian
Жыл бұрын
Getting its speed
@BasedOnBrian
Жыл бұрын
and move in constant
@jackoboy7766
Жыл бұрын
@@BasedOnBrian yeah but he said that the runningTime was 1.5 and I don't understand where that came from, because the value in the variable was 0.
@BasedOnBrian
Жыл бұрын
@@jackoboy7766 Heartbeat detects ur frame wdym
@pepperdayjackpac4521
9 ай бұрын
Bc needs to get the percentage. .5 = 50% for example; it has to be a value between 0 and 1, and you do that by dividing by the maximum amount.
@twizdev Жыл бұрын
niceee
@atomizerplayz Жыл бұрын
Hey GnomeCode! Can you help me please? Im trying to code a tower defence game but right now im stuck. I cant get the tower finding zombie thing to work and i really want to create my own animations but i don't have the animation editor. So please help me.
@GnomeCode
Жыл бұрын
The Animation Editor can now be found on the 'Avatar' tab of roblox studio
@atomizerplayz
Жыл бұрын
thx for help
@jonac0426 Жыл бұрын
cool
@Revilser Жыл бұрын
what about part touch sound play only for the player who touched the part it's a great idea believe me
@itsnotloveitslust
Жыл бұрын
Local Script and Remote Event.
@randombrandon3085
Жыл бұрын
define the sound and copy it to the local players gui who fired the touch events and then play the sound. If you need help let me know I'll go in studio and make the script
@gabgabsgameworld Жыл бұрын
Yo gnomecode i know the "how to make a tower defense game" series ended but how do you make a enemy that spawns another enemy (such as a necromancer or mystery in tower defense games)
@jimsmowingofficial10 ай бұрын
You should add a math.clamp to the alpha, otherwise it could go over what it should
@TheOgKingEnderKill Жыл бұрын
when doors tutorial
@Juxlaque Жыл бұрын
Hi bro, could you redo the tower defense series because each episode has bugs, are you working on it?
@Beta_kid Жыл бұрын
Please make more teddy
@Dolne4 Жыл бұрын
It would be nice to learn how to script a car so the player would be able to drive it
@GamerlazaMPG1703 Жыл бұрын
Hi gnomecode
@kendelon_ Жыл бұрын
part.CFrame.Position.X += 10 easy
@westside319
Жыл бұрын
not smooth
@alejandrorivera9694
Жыл бұрын
This would be a LOT better: part.CFrame.Position.X += ((part2.CFrame.Position.X - part.CFrame.Position.X)*0.1) basically takes the difference and multiplies it by 0.1 making it smooth cuz when the part is closer starts to go slower because we multiply the difference by 0.1 meaning the closer it is, the slower it is. (honestly this is a TERRIBLE option, but also an option.)
@Ilike_brains Жыл бұрын
How does this still have 329 views
@WoofyDoesStuff Жыл бұрын
Day 4 of asking gnome code to make a game like flee the facility
@epixerty Жыл бұрын
the only downside is easing styles
@GnomeCode
Жыл бұрын
Yes, when you go custom you don't get off the shelf tools. You could make your own custom tweenstyles with lerps if you really wanted to though. Simply a matter of adjusting the alpha value in accordance with a curve
@epixerty
Жыл бұрын
@@GnomeCode yeah that's right. I don't know much about trigonometry and math in general, so I would need to do a lot of research
This instantly sets it from one position to another. It doesn't 'move' as in transition from one to another
@p2l
Жыл бұрын
@@GnomeCode true
@blurristic Жыл бұрын
27th
@pothangus1118 Жыл бұрын
E
@orangutan1535 Жыл бұрын
first
@epicspider2003 Жыл бұрын
First
@AkamiChannel5 ай бұрын
I'm a simple man. I see a GnomeCode video, I give it a thumbs down. Why? Because he never puts the code where you can copy-paste it. It's offensive.
@niko-ye1si
3 күн бұрын
That just makes you sound super lazy..
@Rosenex Жыл бұрын
local part = script.parent local startCFrame = script.CFrame local targetCFrame = script.CFrame * CFrame.new(0, 30 ,0) for i=0, 1, 0.01 do part.CFrame = startCFrame:Lerp(targetCFrame, i) task.wait() end
Пікірлер: 156
This is the most well explained and complete lerp video. This is a great resource
DUDE, I'VE BEEN WANTING TO MAKE THIS FOR SO LONG. THANK YOU VERY MUCH!
Why only 452 views? You deserve millions! Your videos are so useful and important
@GnomeCode
Жыл бұрын
Thanks for the support
@horrorgamedev
Ай бұрын
@@GnomeCode i may be hyper late to this video, but how could i make a part lerp or tween to another part. im trying to make a script that pulls the player towards a part
very useful, been porting a game to an older client without tweenservice so this will be very helpful!
I watch your videos almost every day sins 5 months ago and i love all the work you put for all you viewers
Very interesting tutorial idea! Keep up the good work gnome! :)
Superb video! Really thorough and without overcomplicating it. Bravo you awesome Gnome 👌
wow, thx GnomeCode for new video! keep up the good work creating amazing content!
Thank you, I am learning how to script right now and this taught me alot.
Great video, exactly what i needed 👍
Yo I was looking for a tutorial on this. Thanks!
As always, perfect !
ngl this is more helpful compared to most of the tutorials out there, they don't really explain what tween is in a good way, I'm hoping the raycast video can get to me too :)
Excellent video and demo
That's a pretty interesting little nice helper ! The GnomeCode made it =)
Nice video, however I have a question, will you still continue with the doors tutorial?
tbh gnome code = W ive been following him since his first learn how to code video I think it was
This has been the traditional code for coding since I started back in 2014; I think I should get back developing-kinda nostalgic
I also learned how to make a map system with this
Underrated !
Amazing video! Roblox documentation really doesn’t have a lot on this subject. I’m currently making inverse kinematics feet in r6, I’ve finished mostly everything, but I just needed a way to get the feet to lerp smoothly to the target within the renderstep.
@oofoof69
Ай бұрын
Do you plan pn making that a plugin?
0 Views, 0 Comments And 0 Likes. Don't Know How I Got A Notification Early When My WiFi Is Terrible.
@epixerty
Жыл бұрын
doesn't have anything to do with your wifi its youtube
@Shiba6442
Жыл бұрын
@@epixerty if you have bad WiFi your youtube will be terribble
@groboggan9535
Жыл бұрын
It’s because you are the chosen one my lord “bows down respectfully and does a little jig”🥔
@epixerty
Жыл бұрын
@@Shiba6442 a bad wifi is just going to delay the notification less than 2 seconds, doesn't change the fact that you would be very early
@CuteBricks
Жыл бұрын
Maybe the 0 was for the wifi
I've learned a lot 😃
could you break down/explain what the for *for i =* means?
thanks it helped!
is there a way i could use this to rotate a model colockwise constantly in the run service loop, while ocislating it up and down slightly, in other words, can i lerp 2 or more properties at once?
so we can use this method for elevators in td?
How to make the main part lerp to the target and then lerp back to its original position?
Gnomecode will you work more on doors I LOVE THAT!
Thanks you for the help, you need more likes !
Very nice tutorial! I really needed to learn that but... How do I make the Animate2 Script compatible with other animation scripts?Help me to fix that please! (I already subscribed and liked)
Damn nice vid
This is what I needed for my game thank you!
@epixerty
Жыл бұрын
no you didn't
@NukegamerboyRA
Жыл бұрын
@@epixerty yes I do I'm making a game with a group of people and I'm the scripter. So stop assuming what people need and don't
@epixerty
Жыл бұрын
@@NukegamerboyRA You're the type of guy to comment the same thing on every video, just because you feel like commenting something. Lerp isn't even that advanced, and if you are a "scripter" you would at least know about TweenService which is almost the same thing
@qwerty_qwerty
Жыл бұрын
@@epixerty did you even watch the video? The reason Gnome is showing us this is because using TweenService you can't change the target while the Tween is running. And it doesn't matter that it's not advanced, no one said it was.
@epixerty
Жыл бұрын
@@qwerty_qwerty I know that, but that's for very specific situations which this guy clearly hasn't even encountered yet
Good video, i learned lerping from your rush AI video, Thanks :) btw just one question, when does doors part 8 come out?
@Shadow_06735
Жыл бұрын
thats what im questioning as well!
any idea how to tween an object with proximity prompts?
Idea for series: How to make a game like “Natural Disaster Survival”
Love the video, could we get a video on more towers from the tower defense series, like aviators or summoners that’d be super helpful! Keep the videos coming!
soo once alpha equaled more than 1, how do i make it so that it moves smoothly again after making part.CFrame equal to startCFrame
Bro Gnome are you seeing my project or something cause i needed a way to move my models
Nice Video!
Great useful tutorial! , but what i'l appreciate more is that you make a tutorial on camera manipulation. such as if you click a part the camera goes to the part.
@GnomeCode
Жыл бұрын
I may do a standalone video on that soon. In the meantime, you may find this helpful: kzread.info/dash/bejne/h3551I-gc7iwZc4.html
Hiiiiio 28 mins early best content
this is like super advanced and i think tweening is more efficient so ima leave it here and head to the next tutorial or if you want to learn maybe learn cframes a little bit more and the runservice too
@hike8932
24 күн бұрын
Look at you, your so epic, because im now here to learn how to incorporate lerping, bezier curves and some maths stuff into coding. Good job, me. Keep going.
i really like to use the math formula ``` {end} - x position where you want to move the part to ( X * 2 + {end} ) / 3 ``` ,where it will execute the code, until the part is on it's destination
@Fujui
10 ай бұрын
Can you elaborate please?
When is the best gnome jam?
gnomecode when will you make another doors tutorial?
Hey can you do part 8 of doors because part 1 of doors, I tried but don't work people kept saying it, maybe you know how to fix the bugs for room generated, entity and etc.
Please turn this into a camera sequence
What about if I use PivotTo() instead of Lerp()
When is part 8 of doors?
lerp cant be used on strings?
I have a damage code with a part that will lerp to a location. If the part is deleted why is the damage code still working when the Lerp is complete ((the damage script works when the lerp is complete so its inside the lerp script))
why are your newer videos like darker than the videos you made a few days ago ??
mr gnome code i cant even use roblox studio and try to make a tds Game! how do i fix this problem?
I like it i might use it for my games ??? 👌👌
how do u lerp model
n the tower defence series that GnomeCode created, i have a problem in it. When i load my game, the lobby's data is working and loading, but when i play the game the data in the game is not connecting with the data in the lobby. Please can someone help me with this, i am so frusterated and have been trying this for sooooo many hours
Nice
can you create a monster that randomly attacks the player like Charles from "Choo Choo Charles" I understand that this game was made on a different game creation engine, but if possible, please do a tutorial on this
Hey Gnome can you make video about gamepass and save it in shop, like "mini extra Tower Defense game" so you can buy limited tower by robux and use it in match. I hope you do it 😢
Remember: you can select something and then press ''CTRL + X'' to delete + copy it. So if you press ''CTRL + V'' it will be pasted. c:
Hey im making a tds game i watched your first tds coding thing but it didnt work for me :C
When another doors tutorial?
cool video! whe next doors tutorial tho?
@Stas-ON
Жыл бұрын
yeah would like to see next series
@alejandrorivera9694
Жыл бұрын
It's been 2 months... 🥱🥱
Hey ugh, I probs wont get a reply, but when you defined "startTime", you actually never used it???
when r u making the doors tutorials??????????????????????
i want to play a chinese war game but there is none that is good can you start a series on how to make a war game?
would love it if you could do a tutorial for first person weapons .. from scratch ... including arms and reloading etc, etc... their doesn't seem to be a definitive tutorial on the subject that doesn't use pre-made code etc.
@bigamingplayer2409
Жыл бұрын
Your gonna need to learn a TON of scripting and techniques before you get to advanced stuff such as FPS weapons as they could be coded in many different ways
@andyengine2661
Жыл бұрын
@@bigamingplayer2409 I already know quite a lot of scripting basics for Roblox ... The idea of a tutorial is to teach ... A reloading weapon tutorial would be great for learning new scripting techniques. My area isn't really scripting/coding but in 3D asset creation. My scripting knowledge mainly comes from using Unreal Engine 2 and Unreal Script.
When’s the next doors tutorial
Gnomecode make the part 8 please
An interesting way to move parts! I do have a question though, if a player were to stand on a lerping part, would they stay on it?
@GnomeCode
Жыл бұрын
No, when you directly set the CFrame of a part you're not using the roblox physics engine (Which is required for standing on moving items). Instead you should make use of BodyMovers/Contraints for that.
@UltraDubzYT
Жыл бұрын
@@GnomeCode whats that
@triducal
Жыл бұрын
@@UltraDubzYTlook it up
Part 8 of doors idea: Screech and Dark rooms or Timothy or coins or other items,
doors episode when? I'm waiting for the beautiful start room 👍👍
When teddy Chapter 5 come out
Make another escape game like teddy plsssssss
I'm confused on why the alpha value is runningTime divided by lerpTime. Could someone explain it?
@BasedOnBrian
Жыл бұрын
Getting its speed
@BasedOnBrian
Жыл бұрын
and move in constant
@jackoboy7766
Жыл бұрын
@@BasedOnBrian yeah but he said that the runningTime was 1.5 and I don't understand where that came from, because the value in the variable was 0.
@BasedOnBrian
Жыл бұрын
@@jackoboy7766 Heartbeat detects ur frame wdym
@pepperdayjackpac4521
9 ай бұрын
Bc needs to get the percentage. .5 = 50% for example; it has to be a value between 0 and 1, and you do that by dividing by the maximum amount.
niceee
Hey GnomeCode! Can you help me please? Im trying to code a tower defence game but right now im stuck. I cant get the tower finding zombie thing to work and i really want to create my own animations but i don't have the animation editor. So please help me.
@GnomeCode
Жыл бұрын
The Animation Editor can now be found on the 'Avatar' tab of roblox studio
@atomizerplayz
Жыл бұрын
thx for help
cool
what about part touch sound play only for the player who touched the part it's a great idea believe me
@itsnotloveitslust
Жыл бұрын
Local Script and Remote Event.
@randombrandon3085
Жыл бұрын
define the sound and copy it to the local players gui who fired the touch events and then play the sound. If you need help let me know I'll go in studio and make the script
Yo gnomecode i know the "how to make a tower defense game" series ended but how do you make a enemy that spawns another enemy (such as a necromancer or mystery in tower defense games)
You should add a math.clamp to the alpha, otherwise it could go over what it should
when doors tutorial
Hi bro, could you redo the tower defense series because each episode has bugs, are you working on it?
Please make more teddy
It would be nice to learn how to script a car so the player would be able to drive it
Hi gnomecode
part.CFrame.Position.X += 10 easy
@westside319
Жыл бұрын
not smooth
@alejandrorivera9694
Жыл бұрын
This would be a LOT better: part.CFrame.Position.X += ((part2.CFrame.Position.X - part.CFrame.Position.X)*0.1) basically takes the difference and multiplies it by 0.1 making it smooth cuz when the part is closer starts to go slower because we multiply the difference by 0.1 meaning the closer it is, the slower it is. (honestly this is a TERRIBLE option, but also an option.)
How does this still have 329 views
Day 4 of asking gnome code to make a game like flee the facility
the only downside is easing styles
@GnomeCode
Жыл бұрын
Yes, when you go custom you don't get off the shelf tools. You could make your own custom tweenstyles with lerps if you really wanted to though. Simply a matter of adjusting the alpha value in accordance with a curve
@epixerty
Жыл бұрын
@@GnomeCode yeah that's right. I don't know much about trigonometry and math in general, so I would need to do a lot of research
part.CFrame = part2.CFrame (illegal in 69 countries) (gone wrong) (omg) (real method)
@GnomeCode
Жыл бұрын
This instantly sets it from one position to another. It doesn't 'move' as in transition from one to another
@p2l
Жыл бұрын
@@GnomeCode true
27th
E
first
First
I'm a simple man. I see a GnomeCode video, I give it a thumbs down. Why? Because he never puts the code where you can copy-paste it. It's offensive.
@niko-ye1si
3 күн бұрын
That just makes you sound super lazy..
local part = script.parent local startCFrame = script.CFrame local targetCFrame = script.CFrame * CFrame.new(0, 30 ,0) for i=0, 1, 0.01 do part.CFrame = startCFrame:Lerp(targetCFrame, i) task.wait() end
first
E