Smooth Movement in Scratch - The EASY WAY

Поделиться
HTML-код
  • Опубликовано: 21 сен 2023
  • Although there are many tutorials on this subject, this tutorial will help you if they are a bit too challenging for you. Enjoy the video.
    Click this link, or Gobo will destroy your family. / @bigfatsnakeviiper
    More than 99% of crimes happen to people not subscribed to this channel. So, to protect yourself and your loved ones, consider subscribing.
    Liked this video? Check this out next: Making a Game - The Way Scratch Team Intended: • Making a Game the Way ...
    #scratch #coding #game #gamedev #easy #simple #viiperrr #smooth #smoothmovement #movement #scratchgames #scratchprogramming #programming #development #cat #scratchcat #fast #quick #arrowkeys #up #down #left #right #arrows #motioneffects #scratchprojects #codingtips #gamedevelopment #tutorial #codingforbeginners #moving #motioneffects #zonxscratch #quick #fast #scratchgames #theeasiestwaytomakeaplatformeronscratch #howtomakesmoothmovementinscratch #easiestway #theeasyway #easyway #smooth #smoooth #smooooth #new #howto #whyyourscratchgamesflopandtheeasysolutions

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

  • @thiccpizza1393
    @thiccpizza1393 7 месяцев назад +21

    this was very helpful, not only did he show us the script, he also explained it in a very simple way
    earned a sub!

  • @LightOfMyLife227
    @LightOfMyLife227 5 месяцев назад +2

    Nice job bro! You have a ton of potential, keep up the great work!

  • @fcninja_1211
    @fcninja_1211 Месяц назад +2

    TYSM man, this tutorial rlly helped 😁

  • @SadBacon139
    @SadBacon139 24 дня назад

    Good job and thank you. I was searching for a vid but I didnt find but thanks god I found you. Thank you for explaining in a very good way. DESERVE A SUB

  • @choonhuatin6775
    @choonhuatin6775 2 месяца назад +3

    thanks so much bro i needed this for the junior innovate competition!

  • @profiley.
    @profiley. 8 месяцев назад +9

    For the movement, you can also use
    Change [x vel] by ( key (right arrow) pressed?) - (key (left arrow) pressed?) * (Chosen speed))
    And the order must be the same on the keys or it will be reversed

    • @shawngurley1957
      @shawngurley1957 5 месяцев назад +1

      For people who want to know why, it's because if the right arrow key or left arrow key is pressed, it counts as a 1, so you could do if the right arrow key pressed = 1, it would be the same as doing it as he did in the video. And by subtracting the 2, let's say you are pressing the left arrow key, that's 0 - 1, which is a negative one, and that is your movement. Same vice versa but it's positive. Multiplying this makes those negatives and positives bigger so you move faster. If you hold both down simultaneously, it's 1 - 1 which is 0, which is why you don't move. This is the common way to do it, and I like this method. Here is a nice table explaining the different movements:
      right is the right arrow key, and left is the left arrow key
      1 = pressed and 0 = released
      1 - 0 = 1 (right movement)
      0 - 1 = -1 (left movement)
      1 - 1 = 0 (No movement)
      0 - 0 = 0 (No movement)
      And the it's the same with up and down.
      And as he was saying, if you flipped these, the keys would also be flipped as if you press down the left arrow key (which expects you go to left) it would be 1 - 0 which is 1, and that is right, and not left.

  • @mireinacelestia02
    @mireinacelestia02 8 месяцев назад +5

    Thank u sm for this, im adding this to my likes for future purposes. This tutorial is so concise and very easy to understand, i rlly believe this would blow up soon enough. Also, could u make a tutorial how to stop the sprites from moving when theres a play agaon button?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  8 месяцев назад +3

      Yes, make sure you are subscribed so that you don't miss it when it comes out. :)

    • @mireinacelestia02
      @mireinacelestia02 8 месяцев назад +2

      ofc, thank u!! @@bigfatsnakeviiper

  • @potionmaster100
    @potionmaster100 9 месяцев назад +40

    why is your scratch colored green

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  9 месяцев назад +21

      because im green (jk, i use scratch addons)

    • @sampatel7746
      @sampatel7746 8 месяцев назад +2

      @@bigfatsnakeviiperlol

    • @coolbrorett
      @coolbrorett 8 месяцев назад +1

      yes

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

      @@SeekersRobloxV2IsComingikr so much better

    • @juliocesarcamilo5132
      @juliocesarcamilo5132 3 месяца назад

      @@bigfatsnakeviiperwait...do you need scratch addons to colour a sprite differently?

  • @user-bz9ve3qf4w
    @user-bz9ve3qf4w 4 месяца назад +2

    thank you soo much! i used thease in alot of my games! you got a sub!!!

  • @Ocean10230
    @Ocean10230 7 месяцев назад +5

    you also can replace if ... pressed block to change [x vel] to d - a, and change [y vel] s - d

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  7 месяцев назад +2

      Yeah, I just decided to do it this way in this video to make it easier to explain.

    • @Ocean10230
      @Ocean10230 7 месяцев назад +3

      @@bigfatsnakeviiper true = 1 and false = 1; so d - a. If d pressed, the first value will become 1 and now you have 1 - 0 = 1 .Release it and it will set back to 1. Same for A. If a pressed, the second value will become 1 so you have 0 - 1 = -1

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

    Very helpful, you just earned a new sub :D

  • @Antman-db6hf
    @Antman-db6hf 2 месяца назад +1

    Very good/helpful tutorial!

  • @SonicTheories123
    @SonicTheories123 2 месяца назад +1

    tysm bro I just started scratch and this helped me understand some of the mechanics

  • @A300gamerfr
    @A300gamerfr 8 месяцев назад +5

    congratulations this is the 250th subscriber

  • @thegreatlevi123
    @thegreatlevi123 5 месяцев назад +2

    You’ve inspired me on making a second channel about Scratch

  • @Ilikejuicyoranges
    @Ilikejuicyoranges Месяц назад +2

    THE SLIDE IS WHAT I NEED! 1:32

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

    3.91 thousandth subscriber, you did a great job explaining this, I've been trying to figure out how the script works for a while, and you explained it in less than 3 minutes! (OMG he actually replied!)

  • @bigfatsnakeviiper
    @bigfatsnakeviiper  9 месяцев назад +6

    Comment "Smoooooth"
    Edit: Also, thank you all for 1000 views!
    Edit Edit: thank you all for 10000 views!

  • @lukethegoat915
    @lukethegoat915 7 месяцев назад +3

    this a w tutorial, keep it up man.

  • @user-yi7od9kk3c
    @user-yi7od9kk3c 6 месяцев назад +2

    Thank you so much this helped me enourmously,

  • @stupid-outline
    @stupid-outline 9 месяцев назад +6

    i thought that this would be one of the vids with >100k views, because it’s helpful, and really good, but 3k views!?? keep going and you’ll go big, homie 😁

  • @cormanvids
    @cormanvids 29 дней назад

    Hey, vsauce Michael here. This tutorial is the best!

  • @Ram_Bhakt0777
    @Ram_Bhakt0777 8 месяцев назад +2

    I LOVE YOU I LOVE YOUUU! THANKYOU SO MUUCHH!!

  • @elfboy-productionzz6815
    @elfboy-productionzz6815 7 месяцев назад +2

    I needed this bro thank you x500

  • @Alexbrawlstarz
    @Alexbrawlstarz 6 месяцев назад +3

    You are a Hero

  • @ErdemtugsC
    @ErdemtugsC 3 месяца назад

    You can also make a separate sprite and make the cat follow smoothly using distance to mouse pointer var

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

    thanks it was helpful :)

  • @bing-boing
    @bing-boing 2 месяца назад

    THANK YOU SO MUCH FOR HELPIING ME U EARNED A SUB!!!! :)

  • @StayAw
    @StayAw 8 месяцев назад +3

    Why is there a rainbow line going around the likes at the end

  • @user-oe1in2ot1v
    @user-oe1in2ot1v 7 месяцев назад +2

    Nice Video it help me alot Thanks! =)

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

    this is so damn useful

  • @gamingkid1125
    @gamingkid1125 5 месяцев назад +1

    ty so much

  • @amymello7481
    @amymello7481 4 месяца назад +1

    thanks💯💯

  • @shawngurley1957
    @shawngurley1957 5 месяцев назад +2

    If you had a (somehow) big map or a small character, I can see that there is no limit to how fast it can go as when you hold down the arrow key it keeps changing it by 1 or -1 forever until you let go, so doesn't that mean you can go like really fast if you can move on screen for a while?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  5 месяцев назад +1

      I see what you are thinking, but that isn't true. The player's speed will always slow down due to the set x vel to x vel *0.8 block. But, if you removed that block you would be correct.

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

      You guys are very smart lol.

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

    How do I do this with mouse instead of arrow keys or wasd? I need the sprite to follow my mouse, but also have the x and y vel variables so I can add collision.
    I'm making a drawing minigame, and I want the pen sprite to stay in the canvas area (I added an invisible "hitbox" border to the canvas, so it should work like your collision tutorial intends)

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

      When flag clicked
      forever (point towards mouse pointer, move (adjustable) steps

  • @sevan_1130
    @sevan_1130 6 месяцев назад +3

    Im not good at this, could someone explain why and what i need to do to stop one of these scripts controlling another sprite? I tried to have two sprites with this movement (with different keys controlling) and it didnt work.

    • @sevan_1130
      @sevan_1130 6 месяцев назад +2

      Nvm I figured it out, ty for the tutorial

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  6 месяцев назад +2

      Glad you figured it out

  • @-highertutorials272
    @-highertutorials272 9 месяцев назад +4

    Smoooooth

  • @zer0zyz
    @zer0zyz 4 месяца назад +1

    is it just me, or does Viiperrr deserve more attention on yt?

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

    THANKS

  • @Mc-cookie
    @Mc-cookie 9 месяцев назад +2

    this helped a ton! i was wandering how do i make my sprite look the way it is going?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  9 месяцев назад +1

      You can use a set rotation style to left right block at the top of your scripts. Then, in the right arrow key pressed condition point your character in direction 90 and in the left arrow key pressed condition point your character in direction -90. (I will make a tutorial on this subject in the near future, so consider subscribing.) :>

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

      i did sub and ty man@@bigfatsnakeviiper

  • @diegotalksmonke
    @diegotalksmonke 9 месяцев назад +3

    NO WAY THIS CHANNEL HAS LESS SUBS THAN ME! YOU'RE SO UNDERRRATED!

  • @filipnocon1859
    @filipnocon1859 8 месяцев назад +2

    Thanks so much for this tutorial it really helped my game look better(arcade simulator by bibideath on scratch(still working in progress rn)

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

    my character immediately flys to the corner

  • @njjc521
    @njjc521 9 месяцев назад +4

    Smoooooooooooooooth

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

    amazing

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

    why does multiplying the velocity by a decimal cause it to stop and not slide? is it because we set our velocity to a higher number than we set it to stop by, so it keeps going, but slows down after we stop inputting?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  3 месяца назад

      Pretty much. Multiplying any number by a decimal makes that number smaller, so that means that if we multiply our speed by a decimal we go slower.

    • @crazyunfair
      @crazyunfair 3 месяца назад

      @@bigfatsnakeviiper made sense, i was just primarily confused by how it stopped us at the end of our movement. is there physics in scratch that cause our velocity to come to a stop? i thought the movement would keep going

  • @aaron-nz4yu
    @aaron-nz4yu 6 месяцев назад +2

    Thank you!
    *subscribes*

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  6 месяцев назад +2

      Thanks for the sub!

    • @aaron-nz4yu
      @aaron-nz4yu 6 месяцев назад +2

      @@bigfatsnakeviiper You're welcome!

    • @aaron-nz4yu
      @aaron-nz4yu 6 месяцев назад +2

      @@bigfatsnakeviiper I'm attempting a game, and this really helped!

  • @bilyez
    @bilyez 9 месяцев назад +2

    where did u got the music???? I need that info please like.. PLEASE-

  • @AnimatedPizzaeater
    @AnimatedPizzaeater 15 дней назад

    i tried to mix this with your gravity tutorial but now the character cant do anything at all. Is there a way to fix this?

  • @taraktaras7327
    @taraktaras7327 8 месяцев назад +2

    Hey, my sprite just goes diagonally down-left and diagonally up-right and when I press left it goes down and when I press right it just speeds up and goes right

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  8 месяцев назад +2

      Make sure that you are changing the x vel variable for the left and right arrow keys and are changing the y vel variable for the up and down arrow keys. (If you need more help, I am happy to assist.)

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

    very useful! but how do I make it like its a animation?

  • @nenesinam3005
    @nenesinam3005 9 месяцев назад +2

    Smoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooth

  • @TheRealSniperTf2
    @TheRealSniperTf2 9 месяцев назад +3

    underrated scratch programmer fr

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  9 месяцев назад +2

      Thanks

    • @TheRealSniperTf2
      @TheRealSniperTf2 8 месяцев назад +2

      @@TheOffspringy hater

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

      @@TheOffspringy I didnt say it was the most impressive thing ever I just said that his channel was underrated nothing agaisnt you its just I never said anything about it being impressive just that he was underrated

    • @TheRealSniperTf2
      @TheRealSniperTf2 8 месяцев назад +1

      cool 😄😄@@TheOffspringy

  • @doogy_wants_doogcakes
    @doogy_wants_doogcakes 2 месяца назад +1

    me watching this as an advanced scratcher

  • @jimothy4
    @jimothy4 3 месяца назад

    1:44 bro sounds like my math teacher 💀

  • @Aarushioblade
    @Aarushioblade 9 месяцев назад +3

    Smoooth

  • @TNT_Creep
    @TNT_Creep 7 месяцев назад +3

    hey my sprite can only go up if im moving to the left? i cant get it figured out
    EDIT: i can only go up or down on the left side

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  7 месяцев назад +2

      Can you please explain again? I didn't understand what you were saying.

  • @sn4rkyshark
    @sn4rkyshark 4 дня назад

    this helped a lot, except when i hold the left arrow it goes slower than usual. how do i fix that?

  • @knowdaboibruh7408
    @knowdaboibruh7408 9 месяцев назад +2

    1:47 um... actually any number * number less than one = less number, any number * any decimal larger than 1 is still more than that number. little mistake there.

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  9 месяцев назад +2

      yeah, i was only thinking of decimals under 1, thanks for pointing that out!

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

    nice video
    but one issue i have:
    when i use the right and left arrows, and yes i set them up correctly, they don't work. the sprite doesn't move left or right.
    and when i added the up and down part, the left and right changed the y, but so did the up and down.

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

      Could you send me the link to your code? I'll be happy to fix it.

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

      @@bigfatsnakeviiper i'll try and find it but it might take a month because i dont even go on scratch too much and the time i am on scratch, i will loook for it

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

    how to make the character look the way you are going?

  • @elfboy-productionzz6815
    @elfboy-productionzz6815 7 месяцев назад +3

    Woah I got a rainbow outline on the like button when the vid ended
    How u do dat

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  7 месяцев назад +2

      That means that while you were watching the video, someone liked the video.

  • @ShadowStellar14
    @ShadowStellar14 8 месяцев назад +3

    Can you make a tutorial on wall collision using this movement script

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  8 месяцев назад +2

      Yeah, I am actually working on it right now. The video will be out in a week or two. :

    • @ShadowStellar14
      @ShadowStellar14 8 месяцев назад +2

      @@bigfatsnakeviiper TYSM!! I am making a game and all I can find is platform stuff which is not the type I'm looking for, I've been looking for just wall collision in general

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  8 месяцев назад +3

      Make sure you're subscribed with notifications on so you don't miss it! ;)

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  7 месяцев назад +1

      The video is out!

    • @ShadowStellar14
      @ShadowStellar14 7 месяцев назад +1

      @@bigfatsnakeviiper I'll watch it when I get home from school

  • @catttYT.
    @catttYT. 3 месяца назад

    How do I do it with w a s d it just makes s and d super fast

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

    It broke at the "Times x vel by 0.8" But I can still use the sliding feature for my game! I look upon you viper!
    For any scratch assistance.

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

      Did you use a set it up properly? (set x vel to x vel * 0.8)

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

      @@bigfatsnakeviiper I did :/

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

    the left and down movement won't work in my project, any ideas on how to fix this issue?

  • @adviknathpoloju7422
    @adviknathpoloju7422 9 месяцев назад +2

    Smooooooooooooooooooooooth

  • @freevipservers
    @freevipservers 9 месяцев назад +3

    Only issue is this is tied to fps, so adding delta time component would fix this.

    • @el_calorie2867
      @el_calorie2867 8 месяцев назад +1

      What do you mean by that, exactly ?

    • @freevipservers
      @freevipservers 8 месяцев назад +2

      @@el_calorie2867Say you have a forever loop that runs every frame, say the game is running at normal 30 fps then the game will be moving at the speed the developer wanted, but if they have a shitty computer and running at 20, then the game will be slower.

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

      @el_calorie2867 Multiplying something by delta time is pretty much the way of making laggy people move the same speed as normal people, so if you are laggy, multiplying by delta time (which will be higher if laggy) will make you move farther each frame to keep up with the normal person.

  • @palmossi
    @palmossi 9 месяцев назад +2

    I wish i had the materials to make this kind of good content, i dont even have a pc 😭

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

    1:46 is where i’m up to

  • @the1and0nlyyt27
    @the1and0nlyyt27 7 месяцев назад +2

    i love you for this. MARRY ME!!!!

  • @Jumper123_
    @Jumper123_ 9 месяцев назад +2

    If you want it to be more smooda then make it more smooda it's so easy

    • @irjatipner7501
      @irjatipner7501 8 месяцев назад +1

      Its Smooth Not Smooda

    • @Jumper123_
      @Jumper123_ 8 месяцев назад +1

      @@irjatipner7501 🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓🤓

    • @BarbequeGriller
      @BarbequeGriller 7 месяцев назад +1

      ​@@irjatipner7501Smoode

  • @Vento.capitaodogpaganossacoca
    @Vento.capitaodogpaganossacoca Месяц назад

    My animation is bugged, when i press Up arrow or Down arrow my character goes only 8 Y

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

    this helped alot, i have one problem.. i checked everything and I did it the same as you but my character for some reason wont go left, pls help

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

      Make sure that you are using a change x vel by -1 block in the key left arrow condition.

  • @Promshi
    @Promshi 5 месяцев назад +1

    doesnt work for me if i press left arrow it teleports to the center of the field although i did all like u

  • @dagger103
    @dagger103 24 дня назад

    I don't understand why x vel multiplied by 0.8 slows it down? I saw from grifft the same thing but i dont understand how it works exactly

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  24 дня назад

      Multiplying by 0.8 makes the player slow down b/c multiplying by a decimal makes any value smaller.

    • @dagger103
      @dagger103 23 дня назад

      ​@@bigfatsnakeviiperso is it that x vel for eg. was 8, it would keep on decrease in value as long as the key isn't clicked to move the player causing them to slow down?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  23 дня назад

      @@dagger103 Yeah, exactly, you got it. :)

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

    W toturial

  • @mirak3843
    @mirak3843 6 месяцев назад +1

    oh wait i forgot

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

    my sprite is not moving the way you showed in your video any suggestions?

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

      Could you add a link to your code?

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

      @@bigfatsnakeviiper i just fixed it ty for trying to help and sorry for wasting your time!

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

    < (Mouse) < (0) and >

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

    I'm impressed but only if you could add collisions

  • @thatone_dumpster
    @thatone_dumpster Месяц назад +1

    how the heck do you make a new script

  • @scrumpyscrumpy
    @scrumpyscrumpy 7 месяцев назад +2

    idk what but i did something wrong
    Up and down arrows act as backwards and forwards

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  7 месяцев назад +2

      Make sure you are changing y vel inside of x vel inside of the up and down arrow key conditions.

    • @scrumpyscrumpy
      @scrumpyscrumpy 7 месяцев назад +2

      @@bigfatsnakeviiper OHHH NOW I GOT IT
      thanks, you are actually really helpful

  • @Melo.Bemelo
    @Melo.Bemelo 4 месяца назад

    Is there a way to make it less laggy when stoping?

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

      I’m not really sure what you mean by laggy. I’ve used this script a lot and most people don’t notice any lag. Could you be a bit more specific?

    • @Melo.Bemelo
      @Melo.Bemelo 4 месяца назад

      @@bigfatsnakeviiper it getts really choppy and slow after letting go of a key, it could possibly just be the device im using but im not sure

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  4 месяца назад +1

      I think that it may just be your device, but I wouldn't mind checking your code to see if you made any mistakes. :)

  • @shaalvrr
    @shaalvrr 28 дней назад

    Bro , I tried it and it didn't even work. I keep sliding to down and I can't get back up. I already tried so many times and it just didn't work.

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

    idk why but the x works perfectly but not the y. I copy and pasted the y and it doesn't work

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

      and when I hit my up and down controls another piece of code runs meaning its picking up the input

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

    for some reason my dumbass brain does something wrong when following these tutorials

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

    i did smth wrong IT KEEPS SLIDING EEN AFTER I DID THE NEW SCRIPT

  • @johndesacada9893
    @johndesacada9893 8 месяцев назад +2

    I LOVE THIS HACK THANK YOU o((>ω< ))o I'M SUBBING YOU

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

    when i clicked left arrow it made me go down???

  • @marielamb-doyle654
    @marielamb-doyle654 Месяц назад +1

    Wait what if we want a joystick For mobile

  • @Cymock1
    @Cymock1 9 месяцев назад +2

    Is this really "smooth" or just fancy gliding?

    • @bigfatsnakeviiper
      @bigfatsnakeviiper  9 месяцев назад +5

      It's smoooooth

    • @Plbeats
      @Plbeats 9 месяцев назад +3

      Smooooooth

    • @calmguitar8530
      @calmguitar8530 9 месяцев назад +4

      Depends. If you multiply by a lower number, the movement will be more slippery, but if you multiply by the right amount it can be smooth instead of stopping instantly. Most platformers use this mechanic

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

    me: :0
    my brain: ...why did i spend 21 hours of scripting

  • @Thegachaireland
    @Thegachaireland 3 месяца назад

    Mine wasn’t moving and I checked but everything was correct

    • @Thegachaireland
      @Thegachaireland 3 месяца назад

      Wait I see what I might’ve done wrong

  • @GREYanimationofficial
    @GREYanimationofficial 2 месяца назад +1

    Cool but when I click the left key my character falls through the ground

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

      Could you explain that again?

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

      @@bigfatsnakeviiper it’s a cool video but when I try to move left my character just falls through the ground and it’s really weird

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

      So, do you have walls in your game?

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

      @@bigfatsnakeviiper not yet but here’s a link to the vid a used to jump so maybe that’s it

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

      ruclips.net/video/3AndUVQcGm8/видео.htmlsi=ZgD4wmUZPCQK43Fp

  • @Li4e819-0
    @Li4e819-0 Месяц назад

    bro said "scrack"

  • @Francoli19
    @Francoli19 4 месяца назад +1

    It dont work please tell me how to fix it

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

      How did it break? (What happens when you try to move.)

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

      @@bigfatsnakeviiper it moves horizontally

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

      Make sure that in the up and down arrow key conditions you are using a change y by block and not a change x by block.

    • @Francoli19
      @Francoli19 3 месяца назад

      @@bigfatsnakeviiper thanks

  • @1love.birds1
    @1love.birds1 6 месяцев назад +1

    Hi

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

    Where delta time

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

    didnt let me move :/