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

Поділитися
Вставка
  • Опубліковано 26 кві 2024
  • Get my 12 hour course on how to make 2D games with Unreal Engine:
    tinyurl.com/Ultimate2D
    Support the channel on Patreon:
    / cobracode
    If you're using UE 5.1 or newer and are having trouble with the input system, here's an updated version that teaches something similar to this video:
    • How to make a 2D Side ...
    Join our Community Discord: / discord
    Since the 2D Side Scroller Template has been removed with Unreal Engine 5, it has become a lot harder to get started making 2D games in Unreal Engine. In this beginner tutorial I will show you how you can create a simple 2D platformer from scratch which you can then use as a template to create all sorts of 2D or sprite based games.
    Sunny Land Asset pack by Ansimuz.
    File structure on itch.io changed, so I repacked them and am providing them on GDrive now:
    drive.google.com/file/d/1YFvW...
    Other Videos:
    2D Sprites in 3D World with Unreal Engine [HD-2D]:
    • 2D Sprites in 3D World...
    Overcoming 2D Sprite Limitations in Unreal Engine:
    • Overcoming 2D limitati...
    If you enjoyed this video, please subscribe: / @cobracode
    ● Twitter: / cobracodedev
    Timecodes:
    0:00 Intro
    0:30 Set up the 2D Project and Map
    1:30 Import Sprites
    2:15 Create the background
    2:45 Make a tile set and tile map
    4:28 Create a 2D Paper Character
    7:37 Auto Exposure and Anti Aliasing
    8:24 Add a 2D Follow Camera
    9:01 Set up the game mode and default pawn
    10:37 Adjust max brightness
    10:54 Set up Input Events
    11:50 Enable Character Movement
    12:30 Enable the run animation
    14:20 Turn character with movement direction
    15:40 Adjust camera rotation and collision
    16:28 Make the character jump
    17:26 Adjust Character Movement Component values
    18:10 Camera Lag and Motion Blur
    18:54 Making 2D/3D Hybrid games with this template
    19:18 Lighting Adjustments
    19:50 Constraint Character to Plane
    20:23 Orthographic vs. Perspective Camera
    Icons made by Freepik (www.freepik.com) from Flaticon (www.flaticon.com/)
    #cobracode #gamedev #madewithunreal #indiedev #gamedevelopment

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

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

    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 11 місяців тому

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

    • @Duncanois
      @Duncanois 10 місяців тому +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 10 місяців тому

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

  • @erionmema1
    @erionmema1 Рік тому +920

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

    • @smileychess
      @smileychess Рік тому +207

      So... it's awesome?

    • @qwekwe
      @qwekwe Рік тому +17

      No

    • @mikem.6761
      @mikem.6761 Рік тому +11

      what would you use then?

    • @smileychess
      @smileychess Рік тому +28

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

    • @erionmema1
      @erionmema1 Рік тому +18

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

  • @JubustheDingus
    @JubustheDingus 7 місяців тому +71

    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 7 місяців тому +4

      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 7 місяців тому +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

    • @HelluvaBossEditzz
      @HelluvaBossEditzz 2 місяці тому

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

  • @NeverduskX
    @NeverduskX Рік тому +149

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

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

      I totally agreed!👍

  • @muzz2108
    @muzz2108 Рік тому +22

    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  Рік тому +1

      Thank you :D

    • @LordPlanksYT
      @LordPlanksYT 6 місяців тому

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

    • @LordPlanksYT
      @LordPlanksYT 6 місяців тому

      nvm i fix it

  • @nicom4282
    @nicom4282 Рік тому +13

    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.

  • @paulcarroll473
    @paulcarroll473 Рік тому +92

    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 Рік тому +3

      scale it up to what value tho

    • @inksplosiongames
      @inksplosiongames Рік тому +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 11 місяців тому +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.

  • @certifiedmemer6000
    @certifiedmemer6000 Рік тому +7

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

  • @Nico-hm2mk
    @Nico-hm2mk Рік тому +27

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

    • @skyscrapersx5877
      @skyscrapersx5877 3 місяці тому +1

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

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

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

  • @ZaynNaz
    @ZaynNaz Рік тому +8

    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

      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

      @@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.

  • @thomaschurch1969
    @thomaschurch1969 2 місяці тому +1

    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.

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

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

  • @CobraCode
    @CobraCode  Рік тому +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 Рік тому +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 Рік тому

      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 Рік тому

      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 Рік тому +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

  • @magnaomega
    @magnaomega Рік тому +12

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

  • @arthurdarocharuzinsky8182
    @arthurdarocharuzinsky8182 Рік тому +5

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

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

    The clarity of voice is excellent! Thank you

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

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

  • @russellschreiber7421
    @russellschreiber7421 Рік тому +109

    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  Рік тому +4

      Awesome, thanks for sharing the fix!

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

      @@CobraCode where to find this option?

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

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

    • @russellschreiber7421
      @russellschreiber7421 Рік тому +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 Рік тому +8

      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.

  • @corrindon245
    @corrindon245 5 місяців тому +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 👏👏👏

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

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

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

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

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

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

  • @jean-francoistuaillon4312
    @jean-francoistuaillon4312 Рік тому +1

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

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

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

  • @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

  • @CobraCode
    @CobraCode  Рік тому +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 Рік тому +1

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

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

      ​@@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 Рік тому +1

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

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

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

  • @smoss9813
    @smoss9813 3 місяці тому +1

    Perfect pace and tone of voice, subbed!

  • @mcdoodlechungus7500
    @mcdoodlechungus7500 Рік тому +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.

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

      @@CobraCode looking forward to it

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

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

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

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

  • @Cyber_One
    @Cyber_One 7 місяців тому +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  7 місяців тому +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/

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

    Thank you for explaining this thoroughly!

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

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

  • @LudvikKoutnyArt
    @LudvikKoutnyArt Рік тому +15

    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  Рік тому +3

      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 Рік тому

      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?

  • @gleebeeBuyMeAJacksonV
    @gleebeeBuyMeAJacksonV 6 місяців тому +10

    IF YOUR CHARACTER DOES NOT move: try to click in viewport, so that your mouse will disappear and you will be able to controll the sprite.

    • @MeesterBumb
      @MeesterBumb 3 місяці тому

      PIN This comment :) saved me

    • @dylanterry9575
      @dylanterry9575 3 місяці тому

      My brain just done it anyway

  • @user-xn3ko5ux3m
    @user-xn3ko5ux3m 4 місяці тому +1

    this video is the perfect start in Unreal Engine, thanks

  • @OJGamingYT
    @OJGamingYT Рік тому +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  Рік тому +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

      Actually...Paper ZD is now Free?

    • @CobraCode
      @CobraCode  Рік тому +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 Рік тому +1

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

  • @chiragkumar6158
    @chiragkumar6158 Рік тому +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.

  • @zecaveman1053
    @zecaveman1053 Рік тому +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

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

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

  • @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.

  • @user-kw4qh6kl5s
    @user-kw4qh6kl5s Рік тому +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 Рік тому

      Can you explain it in simple words?

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

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

    • @jskoob
      @jskoob 4 місяці тому

      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 3 місяці тому

      i dont understand pls help

    • @BOT-ALX
      @BOT-ALX 3 місяці тому

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

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

    This is so well done! Thank you :)

  • @DATECStudio
    @DATECStudio 8 місяців тому +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.

  • @freedomgamesplanet2186
    @freedomgamesplanet2186 Рік тому +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  Рік тому +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.

  • @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

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

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

  • @marvin8291
    @marvin8291 Рік тому +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  Рік тому +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  Рік тому +1

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

  • @JohnDoe-oi6yy
    @JohnDoe-oi6yy Рік тому +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  Рік тому

      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 Рік тому

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

  • @jackstack2136
    @jackstack2136 Рік тому +11

    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 8 місяців тому +1

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

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

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

    • @slaaisous7200
      @slaaisous7200 4 місяці тому

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

    • @locknickmonster721
      @locknickmonster721 2 місяці тому

      same here

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

    Super clear and on point ... Thanks

  • @araggone
    @araggone Рік тому +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!

  • @Feraggon
    @Feraggon Рік тому +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 11 місяців тому

      Same thing here, have you found a solution?

  • @The_Exorcist
    @The_Exorcist Рік тому +7

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

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

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

  • @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

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

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

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

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

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

      Thank you

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

    Awesome tutorial! Thank you!

  • @lewisnugent9722
    @lewisnugent9722 7 місяців тому +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!🤓

  • @Gwizz1027
    @Gwizz1027 Рік тому +12

    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 Рік тому +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 Рік тому +1

      @@seto007 then use scratch, not Unreal.

    • @seto007
      @seto007 Рік тому +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 Рік тому +1

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

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

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

  • @ziko-cademey
    @ziko-cademey Рік тому +1

    works, keep up the good work man

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

    Excellent Tutorial... thanks!

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

    U made it simple man ur subscribers are well deserved

  • @Tobeae
    @Tobeae 7 місяців тому +1

    This is the best turtorial I have ever seen

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

    Thank you. I learned a lot.

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

    Super fast and easy tutorial

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

    very nice explanation thank you so much.

  • @ThyAsianMan
    @ThyAsianMan 4 місяці тому +1

    Excellent video.

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

    THANKS FOR THIS IV BEEN SEARCHING FO SOOO LONG

  • @wizards-themagicalconcert5048
    @wizards-themagicalconcert5048 10 місяців тому +1

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

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

    Very Useful !

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

    Great tutorial!

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

    Thank you very much for clarification I must try this

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

    I like almost any content you create for us

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

    Good video, need more 2d in unreal

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

    THIS IS AWESOME!!!!

  • @Lego987
    @Lego987 4 місяці тому +1

    Great vid.

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

    That was a great vid!

  • @osyar8476
    @osyar8476 7 місяців тому +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 7 місяців тому +1

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

    • @CobraCode
      @CobraCode  7 місяців тому +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!

  • @RandomStuf69
    @RandomStuf69 7 місяців тому +1

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

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

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

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

    Best video my friend thank you

  • @SimoneChiocchi-xs3lx
    @SimoneChiocchi-xs3lx Рік тому +1

    Thankyou that was ready helpful.

  • @joeholbrook7560
    @joeholbrook7560 Рік тому +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  Рік тому

      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.

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

    Really Helpful!!!

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

      Thank you! Glad to hear that!

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

    Gracias por el video, está muy bueno.

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

    thank you so much , it worked :)

  • @deontemerritt91
    @deontemerritt91 Рік тому +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.

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

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

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

    Keep it up bro

  • @mullercreates2112
    @mullercreates2112 Рік тому +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

      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!

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

    hanks lot Sir.. You helping us..

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

    Wow this video is so cool! I just got it done within 30 minutes even though I have 1 issue how the movement sides changed (I think because of the player data because it was heading to the left and not right like in the video so I just flipped it in the scene and that might be wrong)

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

    amazing!!

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

    This is cool i subscribed!!!

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

    Awesome!👍

  • @jjwillie7584
    @jjwillie7584 6 місяців тому +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  6 місяців тому +3

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

    • @ibnmianal-buna3176
      @ibnmianal-buna3176 5 місяців тому

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

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

    Thank you so Much.

  • @sortakalpuyu
    @sortakalpuyu 8 місяців тому +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"