How to make a 2D game in Unreal Engine 5 - Beginner Tutorial

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 1,1 тис.

  • @CobraCode
    @CobraCode  Рік тому +44

    Get my 12 hour course on how to make 2D games with Unreal Engine:
    tinyurl.com/Ultimate2D
    If you're using UE 5.1 or higher and are having trouble with the Input system, there's an updated video which covers something similar to this:
    ua-cam.com/video/JixekcYjy9k/v-deo.html

    • @aceventura8966
      @aceventura8966 Рік тому +4

      Don't forget to click the viewport when running to recognise key presses in the game. I spent a while wondering why the legacy input wasn't working until I clicked the game window.

    • @thpplayzai
      @thpplayzai Рік тому

      hey i was trying to do this but the camera showed the correcct picture even tho i coppied u it didi= not go to the camera view

    • @Adrian-oo7kr
      @Adrian-oo7kr Рік тому

      For some reason I’m using the second option and the input does not work. Any suggestions?

    • @Duncanois
      @Duncanois Рік тому +2

      @@Adrian-oo7kr Not sure if you've fixed this yet, but I'll post this here in case anyone else is battling.
      If you're having the same problem where input is not working despite these steps, there's one more step you potentially have to do:
      In your PaperCharacter class, select "Class Defaults" (should be above your Viewport, Construction Script, Event Graph etc. tabs), find "Input" and if "Auto Receive Input" is "Disabled", or set to anything other than "Player 0", change this to "Player 0". This should now get your input working.
      Let me (and others) know if this worked for you. I'm glad to be of assistance if this helps.

    • @malmaxx_662media
      @malmaxx_662media Рік тому +1

      Do u want to build me a game app ???????

  • @HeyImJustus
    @HeyImJustus Рік тому +107

    After the BS that Unity is doing at the moment, I'm seriously considering using Unreal Engine now. Thank you for the video!

    • @csiguszfoxoup
      @csiguszfoxoup Рік тому +6

      I am here for the same reason. Surprisingly easy to do 2D on unreal considering it is built around 3D photorealism. Love the unreal team. Marketplace is also filled with tons and tons of free assets and hundreds dollars 100% discounts on a monthly basis. I honestly don't regret switching. Used unreal before unity, but 3D was too complicated for me. However with UE5 and how well it goes with 2D, I do not regret switching a bit. Loved every moment of it so far.

    • @chadcat420
      @chadcat420 Рік тому +3

      unreal engine is way better than Unity in almost every single way. i prefer 4 over 5 but will transition full time to 5 once more updates are released

    • @MarshallLeeEditz
      @MarshallLeeEditz Рік тому +1

      So, should i use unreal engine to make a game?

    • @ascpixII
      @ascpixII 5 місяців тому

      @@chadcat420 what? for 2D, UE5 is way more inferior compared with Unity's URP renderer. as an example: Unity w/ URP has sprite lights, post-processing designed for 2D, an animator system that integrates perfectly with 2D, pixel perfect processing, etc... plus, you have to use either C++ or Blueprints - compare that with a more elegant language like C#.

  • @KahL1One
    @KahL1One 3 місяці тому +5

    Started this from scratch end to end and lived in this video for an entire day. Got a base engine up and running for me go get my PNG file base started. SUBSCRIBED officially. Best tutorial for UE 2D design!!

  • @NeverduskX
    @NeverduskX 2 роки тому +160

    This is so nicely paced and well explained. I'll definitely be coming back to this one from time to time.

  • @paulcarroll473
    @paulcarroll473 2 роки тому +100

    At 6:40 I recommend scaling up the sprite, or the scale of any 3d objects added in the future will be mega scaled down. It's so important to get the scale right at the beginning

    • @jjcream306
      @jjcream306 2 роки тому +3

      scale it up to what value tho

    • @inksplosiongames
      @inksplosiongames 2 роки тому +5

      @@jjcream306 He linked a time that the video goes over making the capsule smaller. I believe he meant that he would instead make the character larger up to the size of the capsule rather than lowering the capsule. This makes sense with the following sentence "scale of any 3d objects added in the future will be mega scaled down." but I could be wrong.

    • @nospimi99
      @nospimi99 Рік тому

      Would that still be an issue if all the other sprites that are used are made at a similar resolution?

    • @nirmalroyalrich9304
      @nirmalroyalrich9304 Рік тому +2

      @@nospimi99 i mean it would be easier to do math like for example why would you do 0.365 * 3 if you can do 1 * 3 instead by making everything to run by default.

  • @muzz2108
    @muzz2108 2 роки тому +24

    I highly rate this video, it's a nice, easy to pick up explanation of how to make a 2D came. No waffle and no nonsense, love it! Please make more.

    • @CobraCode
      @CobraCode  2 роки тому +1

      Thank you :D

    • @ZrionDev
      @ZrionDev Рік тому

      I having a problem if i click AxisMappings it dont show up But it create i see in the Event graph@@CobraCode

    • @ZrionDev
      @ZrionDev Рік тому

      nvm i fix it

  • @thomaschurch1969
    @thomaschurch1969 11 місяців тому +3

    Thanks for repackaging the Sunnyland files, I was getting turned around trying to reorder them myself, and then decided to read the video description to see if I missed something.

  • @pistolerointergalactico9019
    @pistolerointergalactico9019 4 місяці тому +3

    This is the best game engine tutorial ive ever seen in my life thank you for taking the time to explain it so clearly

  • @RatedSant
    @RatedSant 8 місяців тому +2

    I can't believe I finished work today and finally check marked on that task "Make a basic game in Unreal Engine" in less than 2 hours!!!!!!!!!!!!! Thanks so much for this great video! ♥

  • @Nico-hm2mk
    @Nico-hm2mk 2 роки тому +32

    Absolutely legendary. Thank you so much for all of this. i feel like I can make any 2D game I want now!

    • @welovethesnorks
      @welovethesnorks Рік тому +1

      yes exactly! every 2d game is just a camera and a player object and a collision! thats it! no other programming necessary

  • @toxicdoguk
    @toxicdoguk Рік тому +4

    The clarity of voice is excellent! Thank you

  • @barelyvisibl
    @barelyvisibl 2 роки тому +3

    working with 2D in UE really lacks tutorial videos. Thank you dude.

  • @nicom4282
    @nicom4282 2 роки тому +14

    Thank you so much for this tutorial! You’re an absolute blessing. I am completely new to Unreal and game development and this is such a well-explained video.

  • @certifiedmemer6000
    @certifiedmemer6000 2 роки тому +7

    You've actually got so quality stuff on your channel. Keep that up man!

  • @russellschreiber7421
    @russellschreiber7421 2 роки тому +118

    When I make tilemap I found there're annoying ugly lines around tiles.
    If you have ever met the same problem like me, there is a solution.
    Open the texture "tileset" and set Texture Group to 2D Pixels(unfiltered) , Compression Settings to UserInterface2D(RGBA).
    You'll fix it.😄

    • @CobraCode
      @CobraCode  2 роки тому +5

      Awesome, thanks for sharing the fix!

    • @michabednarski5555
      @michabednarski5555 2 роки тому +1

      @@CobraCode where to find this option?

    • @CobraCode
      @CobraCode  2 роки тому +4

      @@michabednarski5555 The options are on the texture asset, not on the tileset!

    • @russellschreiber7421
      @russellschreiber7421 2 роки тому +5

      Update:In fact you don't have to do such complicated operations.Just right click the texture, move your mouse to sprite operations and apply paper2d texture settings will be fine.

    • @lt.facepalm9566
      @lt.facepalm9566 2 роки тому +7

      For me tearing between the tiles was still happening. My one fix I found was to make a "padded" version of the texture by right clicking the tileset asset (and not the texture) and choose "condition tile sheet texture" at the very top. this made a padded version of the tileset texture, no loss of content, the tileset switches to use the padded version automatically. :) hope that helps!
      This is something that also happens with 3D textures, sometimes the engine makes abstraction of where the edges of the UV starts and ends on the texture leaving seams at the edges of UVs as an effect, this is one of the reasons 3D texturing softwares like Substance Painter have built in functions to add "padding" around your UV islands, and by proxy, why its a good idea to have at least a small gap between them so the info from one island doesnt bleed over into another. it seems the same problem is happening with Paper2D textures here.

  • @magnaomega
    @magnaomega 2 роки тому +13

    This is a pretty amazing Tutorial, very great explained! Thank you so much for sharing this gold!

    • @CobraCode
      @CobraCode  2 роки тому +1

      Thank you so much :D

  • @Cartonus_prime
    @Cartonus_prime Рік тому +1

    I've found this channel with UA-cam suggestions, and i've already Watch 3 video ! I love your content

  • @erionmema1
    @erionmema1 2 роки тому +1019

    2d in UE5 is like using a bazooka to kill a fly.

    • @smileychess
      @smileychess 2 роки тому +237

      So... it's awesome?

    • @qwekwe
      @qwekwe 2 роки тому +17

      No

    • @mikem.6761
      @mikem.6761 2 роки тому +13

      what would you use then?

    • @smileychess
      @smileychess 2 роки тому +33

      @@mikem.6761 - both Unity and Godot are popular 2D game engines.

    • @erionmema1
      @erionmema1 2 роки тому +21

      @@mikem.6761 for 2d? Godot. Game Maker, Unity. Construct 3.

  • @Statebot
    @Statebot 5 місяців тому +1

    Your voice is awesome clear loud, any one can understand if they are not native English speakers, love from India❤❤

  • @endergame8267
    @endergame8267 2 роки тому +3

    this is the video that started my game dev journey, thank you alot

  • @ZaynNaz
    @ZaynNaz 2 роки тому +7

    This video is really good, I learned a lot -- thank you, and the flip books and coding in the character remind me of the blueprint animation setups -- I can't wait to see any more 2D tutorials from you!

    • @CobraCode
      @CobraCode  2 роки тому +2

      Awesome, glad to hear that :D
      Yeah I'll make sure to sprinkle in some 2D tutorials every once in a while.

    • @ZaynNaz
      @ZaynNaz 2 роки тому +2

      @@CobraCode that would be great, I would like to see a in depth tutorial on how to set up a combat system - perhaps an arpg style 2d or beat em’ up.

  • @Cyber_One
    @Cyber_One Рік тому +3

    Very nice video! Thanks! One thing though:
    That "auto-exposure" and brightness thing, right? That's what the tonemapper does. It takes the image rendered by the camera and post processes it. This is done to make unreal engine feel more realistic. Basically, the tonemapper takes HDR (High dynamic range) and makes it LDR (Low dynamic range) (or SDR (Standard dynamic range)). For example, in an aircraft, when looking at the cabin, the cabin is nicely lit, but the windows are completely white. When you get close to a window, the auto exposure reduces how much light can get into the camera, and then you can see the outside. That's what unreal engine basically tries to replicate, however, for 2D games, this messes up the image and prevents you from getting a color-accurate result. So, we have to disable the tonemapper. This may also reduce load on the computer.
    To disable the tonemapper, create a material, open it, set the material domain to "Post Process" and set the blendable location to "Replace Tonemapper" (very important!). Then, in the material graph, create a "SceneTexture:PostProcessInput0" node. Now, because we are overriding the tonemapper, we must do the gamma correction ourselves (which is a good sign, because we now have full control of how the image is displayed). Create 3 ComponentMasks, the first set to R, the second to G, and the third to B. Then, create 3 "LinearTosRGB" nodes. Wire each of the masks into one LinearTosRGB node. Then, add an "AppendMany" node, and connect the R, G, and B channels of the LinearTosRGB nodes to the R, G, and B channels of the AppendMany node. Take the RGB output of the AppendMany node and wire it into the "Emissive Color" input of the material. Now, apply and save the material, close the material editor, then select each camera and find "Rendering Features" -> "Post Processing", and add an entry to the array. Then select post processing material. Now, when viewing the world through the camera, the image should be color-accurate. To make the editor-viewport do that as well, just change the lighting mode from "Lit" to "Unlit" in the top left of the editor-viewport. We could have also used a Post Processing Volume with bounds set to infinite to apply our material to the camera and viewport, but it's your choice.

    • @CobraCode
      @CobraCode  Рік тому +1

      Thanks for the advice and the detailed write up!
      I'll definitely look into this.
      I recently also found a nice blog post that I believe talks about something similar (It's in Japanese though)
      www.hakobuneworks.com/posts/2021/12/04/

  • @DATECStudio
    @DATECStudio Рік тому +2

    WOW, in 22 minutes you did learn this much stuffs which so useful, so clear and easy to follow for beginners, congratulations, great tutorial.

  • @TheMaP142
    @TheMaP142 2 роки тому +4

    But still able to explain each stage in a basic manner. Honestly thanks man!

  • @Zibidi0
    @Zibidi0 Рік тому +1

    Great video! Just started learning UE5 yesterday and your channel helped me a lot. Keep it up man

    • @CobraCode
      @CobraCode  Рік тому +1

      Thank you :D
      Awesome, happy to have you here with us on your learning journey!
      There will be another video for beginners coming out today, so keep an eye out for that.

    • @Zibidi0
      @Zibidi0 Рік тому +1

      @@CobraCode looking forward to it

  • @CobraCode
    @CobraCode  2 роки тому +71

    Support Cobra Code on Patreon: www.patreon.com/CobraCode
    Didn't expect this video to get such a great reception. Thanks everybody!
    Also thanks to Ludvík Koutný for pointing out a better method of setting the exposure than using Max Brightness.
    I can confirm that setting Metering Mode to Manual and then playing around with the Exposure Compensation Value (In my case 10.0 was best) is a more stable way of fixing the exposure, so please set that on your camera under Lens->Exposure instead!

    • @Troyseph
      @Troyseph 2 роки тому +4

      I paid £40 for a 6 hour course that teaches this, and yet this 21 minute video does it SO MUCH better! You clearly know more about Unreal than the course tutor did!

    • @Yaman.Y.J
      @Yaman.Y.J 2 роки тому

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

    • @gavinmcc.518
      @gavinmcc.518 2 роки тому

      I just started your tutorial, and I'm having a couple issues with how close the camera is to the player when I delete the sprite and add the player start. I've rotated the spring arm to -90 degrees and also set the target arm length to 200, but when I hit play the camera is zoomed in so close you can't even see the full character, or any of the map I've made so far. Any helpful hints as to how to fix this? I'm loving the tutorial so far! I'm a big fan of pixel art and 2D sprites / animations, and this is the first 2D project I've attempted so far. Going to continue to follow your tutorials in the future! Currently in school for Game Design, and looking to increase the amount of projects I have for my portfolio. Keep up the awesome work, and if you think of anything that could help with my current issue, reply back!

    • @gavinmcc.518
      @gavinmcc.518 2 роки тому +3

      I answered my own question with amount 10 more watch throughs of the tile set and map. Didn't have my back layer set to -50, which was quickly shown in the video. On track now! Now, onto character movement

  • @smoss9813
    @smoss9813 Рік тому +1

    Perfect pace and tone of voice, subbed!

  • @doblajesimberbe1966
    @doblajesimberbe1966 2 роки тому +3

    This is my first time with Unreal engine and I just lost it the moment I created the flip book :_) so beautiful

  • @Statebot
    @Statebot 5 місяців тому

    This video is great for absolute beginners, please continue this series or like this series, from million of YT video I found this one is is great for me as a beginner, easy to understand or focus on details/basic other developer don't, , speaking speed is excellent not slow not very fast, please continue this series❤❤

  • @OJGamingYT
    @OJGamingYT 2 роки тому +8

    Im surprised you didnt use PaperZD just because I think it is a massive improvement over the default Paper2D, however ZD isnt free so alot of people may not want to use it. Good video man!

    • @CobraCode
      @CobraCode  2 роки тому +4

      Thank you!
      I'm actually using PaperZD in my devlog series about making a side scrolling beat 'em up!
      Yeah I just wanted everybody to be able to follow along for this one.

    • @bernardosardinha
      @bernardosardinha 2 роки тому +2

      Actually...Paper ZD is now Free?

    • @CobraCode
      @CobraCode  2 роки тому +2

      @@bernardosardinha Yes it is and they also released a huge update!
      Not quite sure if it's free forever though or just for a limited time.

    • @CarlosVGMEspresso
      @CarlosVGMEspresso 2 роки тому +1

      ​@@CobraCode That's a surprise!
      We're going to give more info with the official announcement that we're preparing later

  • @jean-francoistuaillon4312
    @jean-francoistuaillon4312 2 роки тому +1

    I just tried this method and it really works perfectly for me. Thank you.

  • @arthurdarocharuzinsky8182
    @arthurdarocharuzinsky8182 2 роки тому +5

    Love the tutorial, it helps me a lot to make things on Unreal!

  • @AmarsirToYou
    @AmarsirToYou 4 місяці тому +3

    Crucial note at 6:30. By default for me it opened to a "data only blueprint", which doesn't have Viewport, Components Window, etc. You have to click on Open Full Blueprint Editor.
    (This drove me nuts for about 60 minutes until out of desperation I started trying things. I don't if it helps everyone, but maybe it will save someone a lot of frustration.)

  • @marvin8291
    @marvin8291 2 роки тому +2

    Thanks so much for these videos. I would like to be a patreon supporter soon. Youre videos are extremely helpful and simple. Keep making this type of content! We really appreciate it!❤

    • @CobraCode
      @CobraCode  2 роки тому +1

      Thank you so much :D
      The patreon is currently still in the planning phase since I hope to provide additional value with it right away. I hope I can get it ready by the end of this year/early next year!

    • @CobraCode
      @CobraCode  2 роки тому +1

      Hey again and thanks for the suggestion to start Patreon.
      I started my own page now :D
      www.patreon.com/CobraCode/

  • @erdbeerbus
    @erdbeerbus 2 роки тому +3

    G.R.E.A.T. - thank you bro! fast, very concentrated to the basics! good work!

  • @corrindon245
    @corrindon245 Рік тому +1

    Thank you for that. I love watching your video and the fact that you share your actual results makes you more of an authority in my eyes 👏👏👏

  • @肥宅大宝子
    @肥宅大宝子 2 роки тому +3

    At end of 10:33 , if you cannot see you player after appending a PlayerStart in the scene, please ensure that if the PlayerStart collision conflict with the background sprite.
    The Spring Arm will move to the target if the collision happens.

    • @SARATHIMAYAA
      @SARATHIMAYAA 2 роки тому

      Can you explain it in simple words?

    • @squinkatron
      @squinkatron 2 роки тому

      It still doesnt work for me when i press play everything is just blank

    • @jskoob
      @jskoob Рік тому

      THANK YOU SO MUCH!! Ive spent ages trying to figure out why my character was falling off the front.. absolute godsend

    • @BOT-ALX
      @BOT-ALX Рік тому

      i dont understand pls help

    • @BOT-ALX
      @BOT-ALX Рік тому

      i figured it out u have to turn off Collison for background vid explains : ua-cam.com/video/-U46IPDUzOU/v-deo.html

  • @nalin-ss
    @nalin-ss 6 місяців тому +1

    I need to say thank you for being such a big inspiration :) Thank you so much for such an interesting video, easy-to-follow, and useful basic guide on each component of game development. After watching this video and understanding the basic components, I feel much more familiar with things. This video is my starting point in game development. Thank you so much! :))

    • @CobraCode
      @CobraCode  6 місяців тому +1

      Thank you so much :D
      Glad you're getting into game dev and I hope you'll keep at it!

  • @warpcloud
    @warpcloud 2 роки тому +3

    WOW! Thank you so much! Please do more tutors on UE 5 game design for beginners

  • @edusnapsity3207
    @edusnapsity3207 2 роки тому +1

    U made it simple man ur subscribers are well deserved

  • @CobraCode
    @CobraCode  2 роки тому +10

    I hope this makes it a bit easier to get started with 2D in UE.
    Let me see some F's in the comments for our fallen hero the 2d Side Scroller Template.

    • @cutieworld2512
      @cutieworld2512 2 роки тому +1

      Bro...do u earn money by useing unreal engine??

    • @CobraCode
      @CobraCode  2 роки тому

      ​@@cutieworld2512
      I used to have a part time job working as an unreal engine programmer that had pretty decent pay and was a great addition to my work history.
      Currently I don't really earn that much by doing Unreal Engine and it's more of a hobby while I work as a software engineer for my main job.
      Not earning anything from UA-cam ads yet and even once that starts it's probably not gonna be a lot in the beginning.
      Made an unreal engine game with my friend that we released on steam a while ago that brings in about ~100$ per month, so nothing big.
      I think it's definitely possible to build a couple of side income streams through mastery of unreal engine, but it does take a long time to set up.

    • @cutieworld2512
      @cutieworld2512 2 роки тому +1

      @@CobraCode yeh thanks man...i really dont have any idea of that....love ya ..

    • @vanamraghu9292
      @vanamraghu9292 2 роки тому +3

      Hard to find tutorial for 2D in UE, thanks for sharing

  • @Tobeae
    @Tobeae Рік тому +1

    This is the best turtorial I have ever seen

  • @xXxShankersxXx
    @xXxShankersxXx Рік тому +4

    Would Love to see a part 2 where you make a mario clone and show enemies with interactions etc and how to set up an end goal

  • @jorge7282
    @jorge7282 2 роки тому +1

    You are awesome I've been tired of searching a lot

  • @LudvikKoutnyArt
    @LudvikKoutnyArt 2 роки тому +17

    Changing max brightness in the camera is a wrong way to go about it. It means autoexposure is still used, but clipped at low value. You want to set exposure method to Manual and then use Exposure Compensation to dial in the brightness.

    • @CobraCode
      @CobraCode  2 роки тому +4

      Thank you for pointing that out!
      Just tried it the way you explained and can confirm that this is a better method for setting the exposure than the one shown in the video.

    • @mistermakebelieve
      @mistermakebelieve 2 роки тому +1

      What do you set this to? it is just black for me. I found the Exposure Compensation but don't know what to set that to. Also, do you keep Auto Exposure off when you set it to Manual?

  • @araggone
    @araggone 2 роки тому +2

    I REALLY LOVE YOUR VIDEOS BRO YOU HELPED MY FRIEND GRIND EVERY GAME ALL TO YOU THANKS BRO I LOVE YOU SO MUCH MAN!

  • @mchlsull
    @mchlsull 2 роки тому +4

    Nice work! Thanks for sharing. Could you show us next how to make some basic enemies with AI and some traps?

    • @CobraCode
      @CobraCode  2 роки тому +1

      Thank you and thanks for the suggestion!
      I put it on my list of video ideas.

  • @tezgelmustibosver6667
    @tezgelmustibosver6667 2 роки тому +1

    I m so happy to find this tutorial. It's working for me. Thank you for sharing

  • @freedomgamesplanet2186
    @freedomgamesplanet2186 2 роки тому +5

    Great tutorial man, can you make a tutorial on how to make 2D cutscenes with dialogue? I really wanted Epic to pay more attention to 2D in Unreal, the Godot engine, which is recent, has a better 2D than Unreal, which has been around for much longer than Godot, I think Epic could invest, so it would attract more audience and more indie developers, and also make more money

    • @CobraCode
      @CobraCode  2 роки тому +6

      Thanks for the great suggestion, I put it on my list for future videos!
      Yeah I personally would also like that, but their priorities are elsewhere and I can totally understand that. If you want to be serious about making 2d games it's probably better to look elsewhere, but if you just want to mess around with something 2d every once in a while for fun or small projects, Unreal Engine is fine.

  • @reanimationxp
    @reanimationxp Рік тому +1

    This is awesome! Can't wait to try this out, thank you!

  • @jackstack2136
    @jackstack2136 2 роки тому +12

    You kinda 'teleport' to lower tiles (if they're close enough) rather than transition to the Falling state unless you jump first. Any idea why this is?

    • @nyc_bk
      @nyc_bk Рік тому +2

      Im also having this problem, did you figure it out?

    • @NE0N0W0
      @NE0N0W0 Рік тому

      set "max step height" in the character settings to a lower number (or even 0) and this should fix the issue@@nyc_bk

    • @_SLaaiSouS_
      @_SLaaiSouS_ Рік тому +1

      Adding a comment here as I am running to the exact same issue and have yet to find the solution.

    • @SchererDesigns
      @SchererDesigns Рік тому +1

      same here

  • @zecaveman1053
    @zecaveman1053 2 роки тому +1

    Cheers for this awesome post .I finally got an excellent result will this lovely method when I tried it.I am enjoying it now

  • @itsmanicbear8500
    @itsmanicbear8500 Рік тому +3

    20:07 I can no longer move right, or fall after jumping after constraint. Tried switching it with x axis in case I set it up in that axis but it still doesnt work.
    Edit: Solved it by switching "plane constraint axis setting" from custom to Use Global Physics Setting. Hopefully this global physics setting wont cause any trouble later -_-
    Edit2: It didnt constrain the character to the axis, I still need help on this issue please!
    Edit3: Scratch that, I just set the plane constraint origin to 1 as well, now works properly. I think it was because my world is actually touching the 1 on Y axis? Dunno, but now it works

  • @lewisnugent9722
    @lewisnugent9722 Рік тому +1

    Thanks for this tutorial, following it was my first attempt at UE5 and your guidance was spot on. Definitely earnt the like and sub!🤓

  • @waleedd9806
    @waleedd9806 Рік тому +3

    Hello, there was an error when I tried to replicate 10:36 where the player is with the camera, but the player didn't show up when I start the game. I tried replicating everything you did in case I did something wrong but it still gave me this error. Can you help? Also, I got an error/warning message but I can't find it anymore.

  • @ignacioColun
    @ignacioColun Рік тому +1

    this video is the perfect start in Unreal Engine, thanks

  • @JohnDoe-oi6yy
    @JohnDoe-oi6yy 2 роки тому +3

    This tutorial is really helpful! But a problem I am having is that all of the assets are blurry and the first sprite of each sprite animation has white borders around the sprite.

    • @CobraCode
      @CobraCode  2 роки тому

      Can you please check again if you maybe skipped the step of right clicking the asset and clicking on 'apply paper 2d texture settings"

    • @JohnDoe-oi6yy
      @JohnDoe-oi6yy 2 роки тому

      @@CobraCodeThat is exactly what I missed, thank you!

  • @dutchielander2478
    @dutchielander2478 2 роки тому +1

    UA-cam finaly showing me videos i want to see! Thanks for this, really helpfull!

  • @Feraggon
    @Feraggon 2 роки тому +4

    Hi, I'm total beginner and I'm trying this tutorial on Unreal 5.1 but in new version there is something different with moving character. The axis and action mapping are deprecated and I should use enhanced imput and imput mapping contexts instead. How do I do that, please?

    • @warchefseed
      @warchefseed Рік тому

      Same thing here, have you found a solution?

  • @RandomStuf69
    @RandomStuf69 Рік тому +1

    wanted to start learning how to make games
    Couldnt decide if I should go for unity or unreal
    now im here

  • @chiragkumar6158
    @chiragkumar6158 2 роки тому +5

    Hey! This tutorial was of great help! Though I am having a problem setting up collision of slopes in the tile map. When the show collision option is turned on, it shows the entire 16x16 region around the grass as blueish-green, despite the fact that I used the "Add Polygon" option to clearly define the borders of the slope. I was wondering if someone could help me figure out how that works. Again, thanks for the tutorial!
    Edit: I managed to fix my character's height above the slope by playing around with Collision Thickness setting in tileset_TileMap. But my character is unable to go from one slope onto the next. The character does not face any issue while coming down multiple slopes.

    • @elitefusion750
      @elitefusion750 2 роки тому

      Hey! Did you fix your slope issue?

    • @chiragkumar6158
      @chiragkumar6158 2 роки тому

      @@elitefusion750 No, not really. It didn't work out.

  • @deontemerritt91
    @deontemerritt91 2 роки тому +1

    thanks for this tutorial I can't wait to create my games with Unreal Engine it's my dream of being a video game designer so I could put my name up in the gaming industry.

  • @CobraCode
    @CobraCode  Рік тому +6

    If you're using UE 5.1 and are having trouble with the input system, check out my video about advanced inputs!
    ua-cam.com/video/tKA4XFGAjx0/v-deo.html
    Support Cobra Code on Patreon: www.patreon.com/CobraCode

    • @Tempore420
      @Tempore420 Рік тому +1

      Tbh, this video is not so intuitive as the rest of this guide, I'm struggling a lot to figure out how to input it in the game, any chance you could make it specifically for this tutorial?

    • @CobraCode
      @CobraCode  Рік тому +1

      @@Tempore420 Yeah sorry about that.
      I felt it would be pretty weird to make a follow up video to something this specific.
      I think at that point I'd rather just make another completely new video using the enhanced input. Something like 'How to make a 2D platformer in Unreal Engine'. Will explain the same things as this video, but then also something more.

  • @facundozuloaga9372
    @facundozuloaga9372 2 роки тому +1

    Thank you very much man, seriously you helped a lot i started from 0 to 10.

  • @therandomman7001
    @therandomman7001 2 роки тому +3

    4:55
    THIS IS THE dumb question how do you select alllll

    • @CobraCode
      @CobraCode  2 роки тому +2

      Click on the first one, hold the shift key and then click on the last one!

    • @therandomman7001
      @therandomman7001 2 роки тому +2

      Thank you

  • @Joe-420-69
    @Joe-420-69 2 роки тому +1

    I am new to this and have not used unreal engine before. I liked your video although 1 of the comments says UE5 is overkill for 2D. I want to learn my way around UE5 GUI get used to all the concepts and i think this is a good place for me to start. Thanks for the video, i have suscribed so hope to see more.

    • @CobraCode
      @CobraCode  2 роки тому

      Yes for most people UE5 is definitely not the best choice for making 2D games and I agree on that point. But if you can get a solid 60 fps on your game it really doesn't matter from a consumers perspective what engine you are using. If you prefer the workflow of UE over the other engines and don't plan on making huge games I think you should give it a try and decide for yourself.

  • @Gwizz1027
    @Gwizz1027 2 роки тому +16

    If you plan to make a game fully in 2d, Unreal is one of the worst possible choices. It's a heavy engine, built specifically for 3d, with some 2d support. If you are making a 2d ONLY game, Godot, GMS2, even Unity are better options

    • @seto007
      @seto007 2 роки тому +3

      This can depend quite a bit on your skills as a programmer. I have almost no experience programming, and trying to learn a programming language from scratch feels to me like I'm trying to learn Finnish from scratch. The syntax is just way too difficult for me to memorize.
      By contrast, I find Blueprints incredibly intuitive to work with because everything is written in plain English. My workflow is almost certainly slower than that of a traditional programmer, but at least I don't have to spend a year or more struggling to learn a programming language before I can even put pen to paper.

    • @Gwizz1027
      @Gwizz1027 2 роки тому +1

      @@seto007 then use scratch, not Unreal.

    • @seto007
      @seto007 2 роки тому +2

      @@Gwizz1027 the Scratch programming language and interface is too limited for the game I'm developing. If I was making a 2D sidescroller I'd consider it, but a top-down RTWP roguelike with randomly generated Borderlands style weapons, and the ability to swap the actively controlled character would be a Herculean feat to pull off with Scratch.
      By contrast, I was able to get the fundamental mechanics of the game I'm describing done in Blueprint fairly easily in about a month. As I said, my project probably could be done quicker in an Engine like Unity, but I just can't wrap my head around Python or C#.

    • @pigmassacre
      @pigmassacre 2 роки тому +1

      I disagree. Source access and full platform support is absolutely game changing and we couldn’t have made Wunderling without it.

    • @mohaismad
      @mohaismad 7 місяців тому

      I thought unreal is the only one that supports C++, kinda wanted to jump right instead of learning the syntax of some new language

  • @hakanyucel1639
    @hakanyucel1639 2 роки тому +1

    Nice Video and Good luck to your channel! The titel is important! " How to make a 2D game in Unreal Engine 5 - Beginner Tutorial " was hitting my eyes! ;)

    • @CobraCode
      @CobraCode  2 роки тому +1

      Thank you, this is very useful information!

    • @hakanyucel1639
      @hakanyucel1639 2 роки тому +1

      @@CobraCode I want to support your channel but I can’t find the Patreon option in your channel. Can you please make that?

    • @CobraCode
      @CobraCode  2 роки тому

      @@hakanyucel1639 Thank you for wanting to support the channel!
      I do plan on making a patreon eventually but I feel like it's still to early as I've just started to hit my stride when it comes to making youtube content. I want to be able to provide a lot of value through the patreon page right away, so that takes a lot of planning and preperation.

    • @hakanyucel1639
      @hakanyucel1639 2 роки тому +1

      @@CobraCode I put your link on the facebook Unreal group in 5 - 10 min this is important to all 2D lovers! Hope you get more people to support your channel!

    • @CobraCode
      @CobraCode  2 роки тому

      @@hakanyucel1639 Thank you so much!

  • @The_Exorcist
    @The_Exorcist 2 роки тому +9

    I don't even have unreal engine why am I watching this

  • @ziko-cademey
    @ziko-cademey 2 роки тому +1

    works, keep up the good work man

  • @MrTheone090
    @MrTheone090 2 роки тому +1

    not many video's regarding 2D on Unreal...thanks for these videos, please keep working on it 😁

  • @Easelm
    @Easelm Рік тому +2

    The fact you have to go through so much TLC for a 2D game in Unreal is... Unreal. I can do this in Unity in less than a few minutes. Great beginner tutorial though, but holy I doubt I'll ever convert to Unreal any time soon lol

    • @CobraCode
      @CobraCode  Рік тому

      Yeah the initial setup is really not that welcoming.
      However once you're over the hump and use the free PaperZD plugin for animation graphs, the workflow is REALLY nice.
      At this point I have a template which I can just use at a starting point and save 30 minutes of work.
      This makes it even faster than Unity to set this up.
      github.com/CobraCodeDev/TP_2DSideScrollerBP
      Also the sprite import method I found through JSON is again a huge time saver.
      I think the biggest problem is that nobody has really paved the way yet for Unreal 2D and that's something I'm trying to do now.
      Once you use all of these shortcuts and address the pain points it's actually quite nice.

  • @debayanmitra7483
    @debayanmitra7483 2 роки тому +2

    Thank you for explaining this thoroughly!

  • @cadgames1736
    @cadgames1736 2 роки тому +1

    I like almost any content you create for us

  • @luislobovergara
    @luislobovergara 2 роки тому +1

    THANKS FOR THIS IV BEEN SEARCHING FO SOOO LONG

  • @xarfram
    @xarfram 9 місяців тому +1

    For my final project in one of my undergrad CS classes, we had to make a 2D game for the GameBoy Advance... in C, by hand. Granted the point of the class was to learn how computers work, so using an actual engine would've defeated the entire point, but I'm tempted to try and recreate it in this because it seems way easier

    • @CobraCode
      @CobraCode  9 місяців тому

      That sounds like an amazing exercise!
      But yeah if your goal is to actually finish a game, you'll be able to do it 100+ times faster with Unreal or another game engine.

  • @osyar8476
    @osyar8476 Рік тому +1

    Hello! Thanks so much! Completly new to Unreal and it was a really good first video. Eazy to follow and good pacing! Thanks!

    • @Cokie4
      @Cokie4 Рік тому +1

      hey,in these new files of sunnt land,there is no PNG file,what did you do?

    • @CobraCode
      @CobraCode  Рік тому +1

      Hey, it seems like the folder structure on the original asset has changed.
      I repackaged them the way they used to be for the video and am supplying them through GDrive now.
      Please check the new link in the description!

  • @sortakalpuyu
    @sortakalpuyu Рік тому +2

    For camera settings, if you just want to see the original colors of image assets, you would just adjust the "Exposure Compensation" to "0"

  • @ThatsOurRobert
    @ThatsOurRobert 2 роки тому +1

    Holy shit this looks easy and doable for a sunday afternoon. That shall be the plan :D

  • @mullercreates2112
    @mullercreates2112 2 роки тому +2

    It's a great tutorial, really help making this new whole thing easier to manage and work with. Though I will say, that desipte the good and easy enough to follow guidelines and tips, there were still a few things I felt could have been touched on more, or maybe better explained. For me, that would be carma, since it doesn't really work the way you explained it would. Idk, maybe I am just not smart or I just missed something. Thanks for a really beginner tutorial, and hope you can make more of them, and maybe just give a more tips for small problems some people might face.

    • @CobraCode
      @CobraCode  2 роки тому +2

      Hey thanks for the feedback.
      You mean I should have gone into more detail about the camera?
      For this tutorial I wanted to keep it short and snappy and don't go off topic too much, but yeah I could go into more detail in a longer format tutorial in the future!

  • @wizards-themagicalconcert5048
    @wizards-themagicalconcert5048 Рік тому +1

    Awesome content and video mate,keep it up,subbed !

  • @NazariyDudnik
    @NazariyDudnik 2 роки тому +2

    Good video, need more 2d in unreal

  • @AdamBarkerThe
    @AdamBarkerThe 6 місяців тому +1

    this is incredible, you don't happen to have a top down pixel tutorial for UE do you?

    • @CobraCode
      @CobraCode  6 місяців тому +1

      Actually in the works right now :)
      x.com/CobraCodeDev/status/1813051295802224813

    • @AdamBarkerThe
      @AdamBarkerThe 6 місяців тому +1

      @@CobraCode Legend! thanks man I can't wait.

  • @adrianaa3059
    @adrianaa3059 6 місяців тому +2

    I love you! ❤🙂
    thank you!!!

  • @KI_Krypto_Base
    @KI_Krypto_Base 2 роки тому +2

    This is so well done! Thank you :)

  • @Mr_BetaMax
    @Mr_BetaMax Рік тому +1

    This seems too easy! Damn, i've been writing my character controllers by hand in Godot all this time 😱

  • @Daniel__Nobre
    @Daniel__Nobre 2 роки тому +1

    Awesome tutorial! Thank you!

  • @jjwillie7584
    @jjwillie7584 Рік тому +2

    Video was well put together. Wish I didn't find it so late because it a year old and the version of unreal I'm using doesn't work with the input settings and I had to look into enhance input and mapping context to move the character

    • @CobraCode
      @CobraCode  Рік тому +3

      Thanks!
      Yeah I plan on remastering the video for the current version.
      Hope I'll get to it soon.

    • @ibnmianal-buna3176
      @ibnmianal-buna3176 Рік тому

      @@CobraCode Yes please, I'm not knowledgeable about the enhanced input system.

  • @yokagi.1
    @yokagi.1 Місяць тому +1

    most important is to learn how to add monster and fight with him and how to use sowrd and how to eat item and get exp like those things are more important than mape i hope you make videos about that we want to learn to add our rules to the game

  • @dengames01
    @dengames01 2 роки тому

    This is the 1º video I'm seeing of unreal 5.
    Now it looks like a decent engine to work with.

  • @jorge7282
    @jorge7282 2 роки тому +1

    Super fast and easy tutorial

  • @syno3608
    @syno3608 2 роки тому +1

    Super clear and on point ... Thanks

  • @Gervanriet
    @Gervanriet 9 місяців тому +1

    I normally do not like the "blueprint system" style of coding however UE's is actually super accessible. Plus I'm not going back to Unity after what they pulled.

  • @WitcherKING
    @WitcherKING Рік тому +1

    Excellent Tutorial... thanks!

  • @ThyAsianMan
    @ThyAsianMan Рік тому +1

    Excellent video.

  • @LE_SSERAFIM
    @LE_SSERAFIM 2 роки тому +2

    Very Useful !

  • @game-editor2
    @game-editor2 2 роки тому +2

    I need 5 good reasons to make a 2D game in Unreal Engine 😂
    But nice video!

  • @nekbeth
    @nekbeth 2 роки тому +2

    Love the vids. Could you please make a tutorial on how to fix the camera (deathzone) while following the player? This is a big topic in 2D platforms cause the lag becomes too annoying. Also, how to double jump, how to crouch, how to jump and crawl to walls and specially how to shoot things. Thanks

    • @CobraCode
      @CobraCode  2 роки тому

      Hey, thanks for the suggestion.
      Yeah those are all things I want to cover, but I don't think they'd really work as separate videos, so I'll probably go over them in a longer 'let's make a metroidvenia...' tutorial or something similar to that.
      I'm still somewhat struggling to even get shorter videos out in time at the moment though, so it'll still be a while until I can take those longer videos on.

  • @CloudsMinecraft
    @CloudsMinecraft Рік тому +1

    Thank you so much! but can you provide another tutorial! but could you make a follow up so that i know how to imploment my own sprites?

    • @CobraCode
      @CobraCode  Рік тому

      Hey, you can check out the paper 2d basics series on my channel, that will teach you all you need to know

  • @peterdong3166
    @peterdong3166 Рік тому

    Will there be a part 2 to this video? would like to know other stuff as well, how to atk,range atk, damage, hp, menu, save, levels.

    • @CobraCode
      @CobraCode  Рік тому

      Hey, if you're really serious about learning then my Udemy course might be the best place for you.
      It'll cover a lot of things related to Paper 2D, no menus and UI though.
      tinyurl.com/Ultimate2D