How to make a 2D Platformer Game in Fancade

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

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

  • @Illuminator99
    @Illuminator99 Год назад +6

    man, without you the whole world would suffer, that's for sure. thank you very much for helping

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

    6:31 I used these same blocks as you did still my jump ain't working I even copied the steps

    • @aliorio
      @aliorio  6 месяцев назад

      Hmmm, that's weird, can you try elaborate more in the Fancade discord server?

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

    I didn’t need to fix the jump, because my character was supposed to fly.

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

    How to fix the jump:
    Put an IF block then set the condition to U from a get truth
    Connect the IF block to another IF block and connect them in true.
    Add a raycast block and connect the raycast block and the 2nd IF block using the raycast's Hit? and If's condition.
    Add an Add Vector (math) and connect it to the raycast's To
    Add a vector (value) and set it to -0.6 at the bottom. Connect the vector to add vector's Vec2
    Add a Get position and connect the position to Add vector's Vec1 and Raycast's From
    Add a get object and connect it to the get position. Use $P
    Now get a Set velocity and connect it to the 2nd IF block. Put it as true.
    Get a Make Vector and connect it at Set Velocity's Velocity.
    Add an Add number and connect that to the Make Vector's Z. Make sure you connect it using the Num1 + Num2 wire
    Add a number (value) and put the number you want and connect it to Add Number's Num2 (i use 4)
    Add a Break Vector and connect it using Make Vector's X and Y and Add number's Num1
    Add a Get Velocity and connect it using Break Vector's Vector while using the Get Velocity's Velocity wire
    Lastly, add a Get Object on both Get Velocity and Set Velocity and set it to $P
    Nice! You fixed the jump! The number (value) connected to Add Number corresponds how high your jump will be.
    The script is made by Adhika!

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

      Still didnt work for me for some reason

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

    6:07 FINNALLY, SOMEONE THAT ALSO USES -0.51 INSTEAD OF -1

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

    It's works thanks!!!

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

    Awesome!

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

    PERFECT VIDEO

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

    Hey allorio, could you make a tutorial on how to make walking ai enemy or a destructable block? Im working on a platformer and that would be great :D

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

      Sorry, but i don't know how to make that, but you can check out my friend's video instead
      ruclips.net/video/Ew6z7zc7ePw/видео.html

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

      @@aliorio its fine! Thx for the great vids btw. High quality and ez to understand!

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

    NICE!

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

    Thanks it worked. my game scripts was wrong and messy

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

      But this tutorial helped

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

      You're welcome! I'm happy to help ^^

  • @zachgaelzara9642
    @zachgaelzara9642 11 месяцев назад +1

    When on the vector the 0 is changing to 1

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

      Wait, what vector

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

    I saw your box tatorial and can you do other stuff like -
    Lose block
    Portals
    Keys
    Door
    Collectables (coins)

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

      All of this is on the list!

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

      @@aliorio wait there's more
      Gravity switch( changes your jump raycast to 0.51 so you can jump)
      Checkpoint
      2nd player
      More things next day(let me think)

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

      @@udaygaur2473 I'll make some of these if i can (and if i have some time)

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

      @Alorio How Can I Make A 2D Platformer Game? I Have A New Version Of My Game...

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

      Where Did you Got Vitural Gamepad From?

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

    i can copy it
    I wish I had it while I was playing

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

    Im on the latest version and the win block isnt working. Could u make an updated version?
    Edit: wait nvm im dumb :p

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

    New Vid! Yay!

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

    Why if i hold just then i can fly and how to make it like clickable controlers like if i click then i move one block but not like if i hold then i move smoothly like 0.05 of a block and same with jumping.

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

      Sorry, i don't know how to do that

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

    Hey I'm trying this but now in fancade the gamepad script is not available so what to do instead

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

    I have The New Version Of My Game
    How am I Supposed to Do That?

  • @ASDLMR-AL330
    @ASDLMR-AL330 4 месяца назад +1

    Oh hi

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

    Thank you very much That helped me a lot for something I saw this video and if you can make an automatic shooting video of npc?

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

      Hmm, maybe i can try but no promise ✌😁

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

      ​@@aliorio ok i can wait

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

    Its not working on mine
    🤔

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

      That's weird, try rewatch the video

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

    Hi, im sorry maybe im dumb but, for the virtual gamepad, i clicked on the link and it loaded me a mini game where i can use the virtual gamepad. But how do i put it in my own fancade ? Is it already there somewhere ? Is it a button i missed on the website ? Please, and thanks for the amazing tutorial.

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

      Oh i found it ! You have to enter a game made by someone and tap on search

  • @Arrow-Pointer
    @Arrow-Pointer Год назад +1

    Help!!!
    Only the bottom-rightmost goal block works.

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

      Sorry, i don't get it

    • @Arrow-Pointer
      @Arrow-Pointer Год назад +1

      @@aliorio So, when i place multiple goal blocks, only the farthest down and to the right works.

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

      @@Arrow-Pointer ah, that beacuse this goal block was meant to be only 1 goal block (aka can't be used for multiple goal)

  • @LoredanaManolache-fw5np
    @LoredanaManolache-fw5np 4 месяца назад +2

    How did you get the "virtual gamepad"- (in the video)?

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

      you can check the link in the description, however i recommend you to try the newest version of this tutorial here:
      ruclips.net/video/PrKh3OlNvmo/видео.htmlsi=3D1QSXFSzULdk7d2

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

    Please help me, for some reason my win block (goal) isn't working when the player touches it. Can you help me?

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

      Hmmm, it'll hard if you asking me a help here, try to joining the fancade's discord server (link in the desc) and ping me there, so i (or other fancaders) can help you

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

      @@aliorio Please try, do your best I really want to make a game

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

      @@aliorio I realized the ground blocks are the goal and the goal isn't the goal

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

      @@tactical_paper_cup sooo, it's fixed now?

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

      @@aliorio no

  • @junior-mt7jl
    @junior-mt7jl Год назад +1

    Yo i have new versions and i dont know where is virtual gamepad (link show me only the things what this can do but dont show how to get + im trying to find that bud i cant find) say pls how to get virtual gamepad

    • @junior-mt7jl
      @junior-mt7jl Год назад +1

      Oh nvm I needed type in search virtual gamepad I'm dumb bruh

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

    I cant find that button script that you use but i can find one in the controls

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

      Me too

    • @aliorio
      @aliorio  6 месяцев назад

      Check the newest version of this tutorial in my channel

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

    I did but is there another way to make a jump script? Also my character keeps flying with I don't want😣😣😣

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

      There's actually a lot, you can try explore it by searching other tutorial made by others or edit a kit and look a the script inside it

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

    How can you make a level like that without camera follow?

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

      don't use set object for the position, use a normal vector script instead

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

      @@aliorio yeah but it doesn't work well and smooth.....I'll find a way

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

    Pls help i can't find any 'virtual gamepad' where is it

  • @Ashley-vv4mu
    @Ashley-vv4mu Год назад

    be careful not to make way too many script cable crisscrosses, as it will sometimes say stack overload

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

    Hey im need your help because im want publish one game but im can't

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

      What help do you need?

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

    Witch Tab Did You Get Virtual Keypad From?🧐🧐🧐

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

      Search tab or in build section, the script one

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

    Whyyy it cant work the camera wont focus to the character..

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

      Do you watch the video properly? It's should be working if you're not making a mistakes

  • @ASDLMR-AL330
    @ASDLMR-AL330 4 месяца назад +1

    And the spikes?

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

      I don't make spikes, instead I make simple lose block which you can see the tutorial in my short

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

    Where did you get the virtual gamepad?

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

      Check the video description

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

    Very helpful, but it still not the solution to my problem of my objects being stuck at the wall (vel x 4)

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

    Hi

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

    I already entered the discor how do I get in virtual Game

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

      Try to ask other people there

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

    WHERE IS THE LINK

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

    I enter the link but how do I make the gamepad enter the game because it is through the website that enters the game

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

      Hmm, this kinda complicated to do, can you please join the fancade's discord server (link in description) and explain more about your problem, it's hard to help if we're using youtube comment

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

    Can I know how to get the virtual pad?

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

      Check out the link at the description of this video

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

      Thank you so much

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

    I.m tryed but i can,t i copy but my chacter fly

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

      That's so weird

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

      But That is serious

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

      I,m telling the truth

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

      @@DaviGAME6767 sorry but i think i can't help if this is just a comment, maybe try join the fancade discord and ask for help? (Link at the description)

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

      Thanks so much

  • @the.longest.comment
    @the.longest.comment 2 года назад +2

    How did you get virtual Gamepad?

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

      Check the link at the description

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

    Can you pls publish this so I can copy it on fancade...

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

      The tutorial was not done yet, so i'm not gonna publish it before it's done

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

    0:06 school need to ends lol

  • @important.things690
    @important.things690 2 года назад +1

    Yeet i perfectly done

  • @ЮлияШабловская-р1ь

    I am jump not working. Why?

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

      Oh, that's weird, maybe try to recheck your script?

  • @guy-no.-101
    @guy-no.-101 2 года назад +1

    But how to get virtual gamepad

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

      Check the link at the description of this video

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

    Please how do you found that the first one i have set camera and i cant find the gamepad were is it?

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

    Why are you not making videos? School?

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

      Yes, and other irl things

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

      Wait aliorio, can you make a short tutorial how to make a pushblock dissappear when touching a killblock?

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

      @@wawserz Maybe no, maybe yes, no promises ✌😁

  • @Zakyツ
    @Zakyツ Год назад

    I can't find virtual gamepad

  • @junior-mt7jl
    @junior-mt7jl Год назад +1

    Btw you can't jump from the edge

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

      Yes, if you want to jump from edge then you have to set your own raycast laser

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

    The jumping is still not working 🙁

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

      Huh, thats weird, can you please joining the fancade server? (Link at the video desc) maybe the other member can help you

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

      NOTHING IS WORKING

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

    Where is vertual game pad

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

    I make the same thing but a bit diferent

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

    Ye

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

    i didn't have a gamepad to

    • @aliorio
      @aliorio  6 месяцев назад

      Check the newest version of platformer video in my channel

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

    THERE IS NO “LINK IN THE DESC”

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

      What do you mean? I put the link at the desc, i'm already check it

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

      It might be a youtube bug, if the link in the desc is not showing up, here is the link: play.fancade.com/5C56AAB7DA51D6E3

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

    PLS MAKE A VIDEO ON HOW TO FIX THE JUMP BUTTON PLS PLS PLS PLSSSSSSSSSSSS🤗

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

      What do you mean with "fix the jump"? The jump one is already working in the video

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

    I didn't have gamepad

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

      Check the description for the link to get the gamepad script

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

      Now I have a game pad

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

      Thanks

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

      @@aliorio thanks 👍😊😊😊😊😊👍 😊👍😊♥️♥️♥️❤️❤️❤️❤️❤️❣️❣️👍👍👍👍

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

    I want enemies.

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

      It's going a lil bit hard to make, check out my friend's video instead ruclips.net/video/Ew6z7zc7ePw/видео.html

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

      Thx for the reply.

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

      But the ai script dosent work...

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

      @@zachcapricorn3512 here's the ai script (made by the same person) ruclips.net/video/JbYJjS1ntls/видео.html

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

      @@aliorio i just maked the enemy not move and when touched you lose.

  • @Davizin2024
    @Davizin2024 25 дней назад

    Goal's doent's work

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

    One of the blocks is not there 😡😡

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

      What

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

      @@aliorio he probably meant the virtual gamepad

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

      @@isthe3573 oh, he should read the desc

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

    you'll need unplug

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

    bro it doest work >:(

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

      That's really weird, try rewatch the vid, maybe you missed something

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

      it just flys in air not on the floor moves

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

      @@oofer7543 you use raycast? I already do that in the video, try watching it properly

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

      yea it broken

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

      @@aliorio oh wait it was just glich now I make it work but when it spawn in air it lay down on the floor so it can just work that it ok for me

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

    😆 P r o m o S M!

  • @jaydennevins-lm4cd
    @jaydennevins-lm4cd 8 месяцев назад +2

    It’s works thanks!!!

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

    Hi I am asking where to find the virtual gamepad in which catogeary

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

      At the arcade category, search "Virtual Gamepad" And click search, the original one was made Martin Magni