Unreal Engine 5 - Making A 2D Platformer in UE5 - Beginner Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 มิ.ย. 2024
  • In this tutorial I go over how make a 2D Platformer Game In Unreal Engine 5 ( UE5 ) From complete scratch
    👉 Learn How To Create A 2D Platformer In Unreal Engine 5 With The 2D Platformer Course : bit.ly/3PRQVbD
    📚 Chapters
    Intro 0:00
    Project Set Up 0:30
    Creating A 2D Player Character 2:23
    Adding Movement Input 5:53
    Adding Animations 8:40
    Adding Player Rotation 11:31
    Camera settings 15:55
    Creating The Master Actor 17:01
    Creating A Falling Platform 18:37
    Creating A Trampoline 25:16
    Creating Spikes 30:13
    Creating A Player Respawn 31:22
    Commenting My Blueprints 35:42
    Creating Checkpoint 37:23
    Creating A Turret 40:11
    Retractable Spikes 47:01
    Creating A Timer 52:44
    Creating A Gem 58:26
    Creating A Map 1:01:23
    Errors you may encounter when building a level 1:07:29
    Creating A Win screen 1:11:04
    Final Result + Outro 1:12:35
    Other Links :
    🎮 Marketplace Assets To Help You Build Games : bit.ly/3VvNkBQ
    📝 Learn more about Unreal Engine On My Blog : www.uisco.blog/Links :
    Kenny Assets : www.kenney.nl/assets/pixel-pl... ( I also edited the spikes and checkpoints from this assest in this video )
    Smoke Death : pimen.itch.io/smoke-vfx-1
    Grafxkid Cave : grafxkid.itch.io/cave-tileset
    #unrealengine5 #2DPlatformer #Uisco
    Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel. Subscription Link👉: uisco.shor.tn/3

ความคิดเห็น • 90

  • @bo-dg3bh
    @bo-dg3bh 13 วันที่ผ่านมา +1

    certificate ✅! this makes it look so simple and i realized the hardest part is the assets lol.

  • @Ftradorex-oficial
    @Ftradorex-oficial 2 ปีที่แล้ว +10

    Wow, nice. Thanks for taking the time to do this long video. It surely helps to learn almost everything one needs for a 2D game. God bless.

  • @KD9-37
    @KD9-37 ปีที่แล้ว +4

    Thank you so much for such an in-depth and thorough Tutorial! Absolutely Love your Channel!

  • @OpinionatedHuman
    @OpinionatedHuman ปีที่แล้ว +23

    Tip for beginners: It's a good habit to learn from the start not to use ticks for everything, moving the custom animation and rotation event to the end of the InputAxis line will only check your animation needs when you actually moved as you don't need to check it 60 times a second (in a 60fps game) when not doing any movement anyway. Learning to avoid the tick as much as possible from the beginning will help you in your future game creations.
    Good tutorial all in all just try and minimize the tick usage even if this optimization is not really needed for a small game like this, bad habits tend to bite you in your behind later on.

    • @mojobone5352
      @mojobone5352 ปีที่แล้ว +4

      I kind of disagree, but the way you're thinking is agreeable. Before these visual editors the entire game loop was cycled and checked each frame, if FPS was needlessly high the whole block is skipped or paused. To your point, there will be more than just user input triggering animations, and the tick loop can be fed more or less commands if you decide to keep animation events in one place. I'd say you're right though, be mindful of how much you're putting in that loop, but a few hundred operatrions aren't going to hurt

  • @akankshakajal9843
    @akankshakajal9843 ปีที่แล้ว +7

    thankyou!! you explain perfectly for beginners like myself.. please keep making more videos... psst! a little more volume next time :)

  • @ProAsu
    @ProAsu 2 ปีที่แล้ว +6

    I would love to see more videos like this its actually amazing how much people can learn from you and I plan to make this myself, in the next video I would like to see you add mobile controls as well, Thanks!! :))

    • @UnrealUniversity
      @UnrealUniversity  2 ปีที่แล้ว +1

      yeah I want to do a mobile project and some more longer videos, just need to plan it all out

  • @Dealman15
    @Dealman15 2 ปีที่แล้ว +7

    When you create the keybindings, you can just press the keyboard icon and then press the key you want to add instead of fiddling around with the dropdown menu.

  • @DailyPaily
    @DailyPaily 2 ปีที่แล้ว +2

    Cool , thank mate !

  •  ปีที่แล้ว

    Great Video!, Thanks!

  • @vedantbhoyarxd
    @vedantbhoyarxd 2 ปีที่แล้ว

    Awesome 🔥

  • @dburton3939
    @dburton3939 3 หลายเดือนก่อน +2

    ignore this comment I'm just putting the timestamp of how far into it I am incase youtube doesn't save it sometimes
    25:23
    great vid btw!!

  • @pineliki
    @pineliki 8 หลายเดือนก่อน

    Thank you

  • @mness2nd
    @mness2nd 2 ปีที่แล้ว +2

    Hi Uisco, can you make a fps sliding tutorial ?

  • @NDNGR
    @NDNGR 2 ปีที่แล้ว +2

    2d terrain generation character can punch and place block add inventory system and trade system like pixel world

  • @ExploreSweden
    @ExploreSweden ปีที่แล้ว +12

    As a complete beginner to Blueprints and making games, following this was quite easy (even though a lot of parts were very quickly explained), but I don't understand why I am doing most of the stuff. It's basically "Add these nodes, then you can do this", but I have no clue what I am actually doing.

    • @xWisdomWavex
      @xWisdomWavex ปีที่แล้ว +3

      Very relatable. A quick description of every process, even a one liner would be very helpful.

    • @nunomgvaz
      @nunomgvaz ปีที่แล้ว +4

      I felt exactly the same... I just kept hearing "and then" "and then" "and then" and got a bit frustrated. It's a nice video but it would be better if you he explained better what we were doing all along.

    • @Mason-is4mr
      @Mason-is4mr ปีที่แล้ว +2

      ​@@nunomgvaz Just look at what you're doing and think about it. Pretty simple.

    • @mistahswick4065
      @mistahswick4065 3 หลายเดือนก่อน +1

      hey did you ever find a better tutorial im not done with this one but i have got fed up with the lack of explanation from him for anything that he is doing if i didnt have a small understanding of c++ or SFML i would be lost as to go off and create my own game from this video. I'd like to learn how and why he is doing everything instead of being told just to do something.

  • @fnanfne
    @fnanfne 2 ปีที่แล้ว +3

    Love it! Did you ever find a fix for the sprite being able to just walk up ledges and other objects without jumping? You tried to fix this around 29:30 by changing the "Max Out Of Water Step Height" and "Walkable Floor Angle" parameters to 0 (under character movement) to no avail.

    • @andrewsneacker1256
      @andrewsneacker1256 3 หลายเดือนก่อน

      In the character movement component of your player blueprint there is a parameter (In the details tab) called "Max Step Height" set it to something like 10-15. Or zero if you want manualy jump for stepup.

  • @user-rs1xn1oo9v
    @user-rs1xn1oo9v ปีที่แล้ว

    Hello I have a question, I'm curious on how to display the time at the end of the game run on the screen in the center in big numbers before I change levels, maybe have a widget that displays the time it took you to finish that level then ask if you want to go to the next level with buttons.
    I'm new to blueprints so If you have a video describing how to do it like this video that would be amazing. Thanks so much =)

  • @jarnine9803
    @jarnine9803 ปีที่แล้ว

    Im having a problem when the gem loads into a certain distance it triggers the win screen. Im using the gem in a map that is about 150 map width (im making a long style map) and when i get to around the haft way point the win screen triggers. By moving the gem way back untill it triggers at the end of the level has turned my pc off 2 times, so i dont really want to cheese it that way. Seems to be a problem with the collision box and im still to newbie to work it out.

  • @flyens2722
    @flyens2722 9 วันที่ผ่านมา

    Thx!

    • @antobss-oj7zp
      @antobss-oj7zp 8 วันที่ผ่านมา

      no♋

    • @flyens2722
      @flyens2722 8 วันที่ผ่านมา

      @@antobss-oj7zpok

  • @angelcontreras614
    @angelcontreras614 ปีที่แล้ว +1

    when are the door and key made?

  • @turboninja7770
    @turboninja7770 5 หลายเดือนก่อน +2

    you didnt show how to make the block and key just an fyi

  • @Yaman.Y.J
    @Yaman.Y.J ปีที่แล้ว

    hey bro am at 30:00 and I having problem when I fall from ground without jumping the character fall immediately
    Edit: and if there is to block above each over the character just go up

  • @scottbaddley72
    @scottbaddley72 ปีที่แล้ว

    Do you have a link so I can download the spikes plz ?

  • @Ower2525
    @Ower2525 2 ปีที่แล้ว

    Can you make blind character in unreal engine 4?

  • @user-hz2fi7qe3k
    @user-hz2fi7qe3k 2 ปีที่แล้ว

    Good

  • @rowanchandlee437
    @rowanchandlee437 ปีที่แล้ว

    Hey, don't know if anyone else is having this problem but for some reason all of the sprites and tile sets are super low definition and the tile sets have a white background instead of a transparent one. Thanks!

  • @profstv9109
    @profstv9109 6 หลายเดือนก่อน

    how do you make key?

  • @NewMateo
    @NewMateo 2 ปีที่แล้ว

    Is the orthographic camera supposed to be black wireframes? Why cant I preview the actual orthographic view in the viewport?

    • @UnrealUniversity
      @UnrealUniversity  2 ปีที่แล้ว

      yeah the preview will look like that, maybe in future update it will be fixed in ue4 it did not look like that

  • @gandygamer5897
    @gandygamer5897 2 หลายเดือนก่อน +1

    what is your pc spec??

  • @jeremyhofmann7034
    @jeremyhofmann7034 13 วันที่ผ่านมา

    Is there some other basic tutorial to watch before this one? I'm lost at the first step trying to figure out how to get the assets imported. I went to the "Kenny Assets" link, but the zip file there has a very different folder structure than in the tutorial. Or should be buying the all in one bundle? Just not sure how to proceed at 1:30 in. 🥺

    • @antobss-oj7zp
      @antobss-oj7zp 10 วันที่ผ่านมา

      you need extract this files.

  • @natsu_7607
    @natsu_7607 ปีที่แล้ว

    The tutorial is very well explained, but a problem with the movement of the character. Jumping works well and horizontal movements too (the character turns correctly when going right or left). However, the character automatically climbs over obstacles (if they are not too high). It's as if there was an "autojump".
    I personally want the character to be forced to jump if there is an obstacle (even if the obstacle is only half the size of the character).
    Would you have a solution?

    • @andrewsneacker1256
      @andrewsneacker1256 3 หลายเดือนก่อน

      In the character movement component of your player blueprint there is a parameter (In the details tab) called "Max Step Height" set it to something like 10-15. Or zero if you want manualy jump for stepup.

  • @user-hq9ux2tp5n
    @user-hq9ux2tp5n 2 ปีที่แล้ว +3

    Please support 2D more I need to know how the metrodivine camera works

    • @Yaman.Y.J
      @Yaman.Y.J ปีที่แล้ว

      حجي هم زين لكيت واحد عربي
      اكلك سويت نفس ما سوا هو بالشخصية بس من امشي يمين تضل تباوع لليسار وعدت مرتين وهم مفاد تعرف ليش؟

  • @Valkyrienn
    @Valkyrienn ปีที่แล้ว +2

    Where are the assets for this tutorial? I tried all the download links in the description and none of the assets you are using are in those links.

    • @gamestheworld2113
      @gamestheworld2113 10 หลายเดือนก่อน

      hello, did you manage to find the assets? if so can you please tell me where?
      olá, você conseguiu encontrar os assets? se conseguiu por favor pode me dizer onde?

  • @LtDramaticOctopus
    @LtDramaticOctopus 10 หลายเดือนก่อน

    For the Add Movement section, if you cannot get the Left movement working like I had based on the instructions. Change the "-1.0" in the Axis Mapping dropdown value for Scale to "1.0" or default to have Left Movements function.

  • @carlosrivadulla8903
    @carlosrivadulla8903 2 ปีที่แล้ว +4

    I think scaling the sprite to -1 in Z axis is easier than rotate the sprite for the axis movement

  • @gg_asu
    @gg_asu 3 หลายเดือนก่อน

    Thank you but my character animations are not working 😢

  • @NDNGR
    @NDNGR 2 ปีที่แล้ว

    Sir in the next video can you make tutorial how to create 2d games sandbox mmo in unreal engine 4
    The games like pixel worlds

    • @UnrealUniversity
      @UnrealUniversity  2 ปีที่แล้ว +2

      Sorry don't think I am going to do 2d sandbox mmo in ue4

  • @m.h.kstudio1740
    @m.h.kstudio1740 2 ปีที่แล้ว +1

    Can i use this tut in 2.5d platformer

    • @UnrealUniversity
      @UnrealUniversity  2 ปีที่แล้ว +1

      yeah just probably not the first bit where I create the 2d character controller

  • @mklmk-vjhbj
    @mklmk-vjhbj 3 หลายเดือนก่อน +1

    37:51. Курс достатньо непродуманий. Мені як новенькому дуже незручно в неприємно, що я повинен ще розбиратись у фотошопі і в цілому його купляти. Можна ж було окремо його в опис кинути, наче як колір змінений і авторські права вже не стосуються цих спрайтів💁
    Пс, щоб зробити так само, можнв скористатись властивістю Color. Замість Set Flickbook знайдіть Set Sprite Color і оберіть зелений.
    47:08 відсутні такі шипи. Пс. Замість цього ви можете змінювати Z координату (висоту).
    40:30 не показали як додали ключ і двері

  • @modytech2977
    @modytech2977 2 ปีที่แล้ว

    👌🏻👌🏻👌🏻👌🏻

  • @ProAsu
    @ProAsu 2 ปีที่แล้ว +1

    I really like this video but you didn't go over the key the lock in your level and i would love to know how to do that could you make a tutorial on that or explain it plsss :))

    • @UnrealUniversity
      @UnrealUniversity  2 ปีที่แล้ว

      oh that was by mistake I didn't realise I forgot that, I will see if I can find the footage and upload it unlisted

    • @ProAsu
      @ProAsu 2 ปีที่แล้ว

      @@UnrealUniversity okay if you can find the footage link it in a reply :))

    • @memetthoca
      @memetthoca ปีที่แล้ว

      @@ProAsu did you find it?

  • @mukaker
    @mukaker 18 วันที่ผ่านมา

    im on falling platform part, and i cant make it. my platform is not falling, i have same everything in code, i need help. i spend hour on finding problem and i dont get it

    • @Undead_City
      @Undead_City 13 วันที่ผ่านมา

      Check you've added the fallingsprite from the blueprints folder to the level and not the sprite itself?

    • @mukaker
      @mukaker 13 วันที่ผ่านมา

      @@Undead_City i added, i can step on it and everything, but its not falling. it creating new platform every time, it just not deleting

  • @lucaspawprint1888
    @lucaspawprint1888 ปีที่แล้ว

    you dont have a download link for the green flag or the retracting spikes

    • @UnrealUniversity
      @UnrealUniversity  ปีที่แล้ว

      Those are modified assets from Kenny's pack I did not want to redistribute them as my own. I edited them in photoshop

    • @eanoxd
      @eanoxd ปีที่แล้ว

      you have it in the tiles folder just go look for it

  • @IsaacCode95
    @IsaacCode95 2 ปีที่แล้ว +1

    its nice that you are continue to do 2D tutorials.
    But Honestly it would be really good if you could make an actually good 2D template.
    everybody is doing the movement shit jump and thats it.
    attach the sprite a gun, various guns, make enemies, something that doesnt exist all you guys just redoing the same tutorial we already have.

  • @_.tiki.tiki._
    @_.tiki.tiki._ 8 หลายเดือนก่อน

    Guys, I-m not seeing the spikes and checkpointflag folders in dowload links.

    • @UnrealUniversity
      @UnrealUniversity  8 หลายเดือนก่อน

      they are at the bottom click show more

  • @RubiksHnK
    @RubiksHnK 6 หลายเดือนก่อน

    I'm UE5.3 and I have a weird thing where the sky flips instead of the player and the player always move left. But it's only after adding rotation. Everything is fine until that point. Anyone else run into that?

    • @RubiksHnK
      @RubiksHnK 6 หลายเดือนก่อน

      After 15+ re-watches. The answer was at 15:33. Happened so fast I missed it.. A lot. lol

    • @lowfade3273
      @lowfade3273 5 หลายเดือนก่อน

      @@RubiksHnK yeah this tutorial is weird, so much info but he is horrible at delivering it

    • @RubiksHnK
      @RubiksHnK 5 หลายเดือนก่อน

      @@lowfade3273 It's not that it was horrible delivery. If I was a little more familiar with UE5 and the settings, following along wouldn't have been an issue. Just went over the settings a bit fast, I would have liked a touch of explanation why some things were changed. I also haven't coded in blueprints much since I program primarily in the C variants but it seems that everyone recommends a blend of C# and blueprints. I got the overall structure but just typing a few letters and hitting enter on the default isn't consistent with the video.

  • @randommister8856
    @randommister8856 3 หลายเดือนก่อน

    15:52

  • @mayurtamboli3128
    @mayurtamboli3128 หลายเดือนก่อน

    green flag missing ?

  • @jaywok814
    @jaywok814 ปีที่แล้ว

    24:09

  • @thediamooond
    @thediamooond ปีที่แล้ว +1

    why am i passing through my collapsing platform

    • @thaddeus2217
      @thaddeus2217 3 หลายเดือนก่อน

      I was having this issue as just make sure everything is on the same x,y,z

  • @TheSpinner7
    @TheSpinner7 ปีที่แล้ว +1

    I have followed the whole tutorial but my character does not jump and does not move

  • @HoneyHandsH
    @HoneyHandsH 2 หลายเดือนก่อน

    1 millisecond = 1/1000 second

  • @kolehmainen6678
    @kolehmainen6678 ปีที่แล้ว

    for the most part the project is literally same as in ue4 (My computer fucking cant handle ue5)

  • @komuniGMD
    @komuniGMD ปีที่แล้ว

    WHHHHHHHHHHHHHHYYYYYYYYYYYYY!!!!!!!!!!!!!! I don't have the money to buy the pack!!!! Just make it FREE!!!!

    • @itsdehj7588
      @itsdehj7588 ปีที่แล้ว +2

      it is free

    • @RubiksHnK
      @RubiksHnK 6 หลายเดือนก่อน

      Late, but don't download the inline or whatever. There's two links.

  • @mentalprogram5256
    @mentalprogram5256 หลายเดือนก่อน

    To much... wayyyy to much

  • @insta.trends4153
    @insta.trends4153 4 หลายเดือนก่อน

    is the mentioned assets in the description are payed.?

  • @lwc2349
    @lwc2349 2 หลายเดือนก่อน

    I’m 15 minutes in, great vid, everything is working for me except when I got right the sprite disappears but the camera still goes right? Going left works fine? Any help would be appreciated