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

Поделиться
HTML-код
  • Опубликовано: 29 июл 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  Год назад +36

    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:
    ruclips.net/video/JixekcYjy9k/видео.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 10 месяцев назад +83

    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 10 месяцев назад +5

      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 10 месяцев назад +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 6 месяцев назад +1

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

  • @NeverduskX
    @NeverduskX 2 года назад +152

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

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

      I totally agreed!👍

  • @Nico-hm2mk
    @Nico-hm2mk Год назад +29

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

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

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

  • @nicom4282
    @nicom4282 Год назад +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.

  • @magnaomega
    @magnaomega 2 года назад +12

    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

  • @muzz2108
    @muzz2108 2 года назад +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  2 года назад +1

      Thank you :D

    • @LordPlanksYT
      @LordPlanksYT 9 месяцев назад

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

    • @LordPlanksYT
      @LordPlanksYT 9 месяцев назад

      nvm i fix it

  • @certifiedmemer6000
    @certifiedmemer6000 Год назад +7

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

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

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

  • @toxicdoguk
    @toxicdoguk 11 месяцев назад +2

    The clarity of voice is excellent! Thank you

  • @TheMaP142
    @TheMaP142 Год назад +4

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

  • @thomaschurch1969
    @thomaschurch1969 5 месяцев назад +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.

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

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

  • @erionmema1
    @erionmema1 2 года назад +962

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

    • @smileychess
      @smileychess 2 года назад +219

      So... it's awesome?

    • @qwekwe
      @qwekwe 2 года назад +17

      No

    • @mikem.6761
      @mikem.6761 2 года назад +12

      what would you use then?

    • @smileychess
      @smileychess 2 года назад +30

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

    • @erionmema1
      @erionmema1 2 года назад +20

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

  • @paulcarroll473
    @paulcarroll473 2 года назад +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 Год назад +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.

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

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

  • @DATECStudio
    @DATECStudio 11 месяцев назад +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.

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

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

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

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

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

  • @jean-francoistuaillon4312
    @jean-francoistuaillon4312 Год назад +1

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

  • @russellschreiber7421
    @russellschreiber7421 2 года назад +110

    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 года назад +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 Год назад +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.

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

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

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

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

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

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

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

  • @corrindon245
    @corrindon245 8 месяцев назад +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 👏👏👏

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

    Thank you for explaining this thoroughly!

  • @Cyber_One
    @Cyber_One 10 месяцев назад +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  10 месяцев назад +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/

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

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

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

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

    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! ♥

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

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

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

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

  • @gleebeeBuyMeAJacksonV
    @gleebeeBuyMeAJacksonV 10 месяцев назад +11

    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 6 месяцев назад

      PIN This comment :) saved me

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

      My brain just done it anyway

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

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

    This is so well done! Thank you :)

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

    RUclips finaly showing me videos i want to see! Thanks for this, really helpfull!

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

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

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

      Hey! Did you fix your slope issue?

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

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

  • @lewisnugent9722
    @lewisnugent9722 10 месяцев назад +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!🤓

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

  • @LudvikKoutnyArt
    @LudvikKoutnyArt 2 года назад +16

    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 года назад +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?

  • @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 Год назад

      Same thing here, have you found a solution?

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

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

    this video is the perfect start in Unreal Engine, thanks

  • @jackstack2136
    @jackstack2136 Год назад +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 11 месяцев назад +2

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

    • @NE0N0W0
      @NE0N0W0 10 месяцев назад

      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_ 8 месяцев назад +1

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

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

      same here

  • @The_Exorcist
    @The_Exorcist 2 года назад +8

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

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

    Super clear and on point ... Thanks

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

    Perfect pace and tone of voice, subbed!

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

  • @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 7 месяцев назад

      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 6 месяцев назад

      i dont understand pls help

    • @BOT-ALX
      @BOT-ALX 6 месяцев назад

      i figured it out u have to turn off Collison for background vid explains : ruclips.net/video/-U46IPDUzOU/видео.html

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

  • @ziko-cademey
    @ziko-cademey Год назад +1

    works, keep up the good work man

  • @Gwizz1027
    @Gwizz1027 2 года назад +13

    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 Месяц назад

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

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

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

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

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

    Awesome tutorial! Thank you!

  • @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 Год назад

      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

  • @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!
    ruclips.net/video/tKA4XFGAjx0/видео.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.

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

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

  • @nalin-ss
    @nalin-ss 23 дня назад +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  23 дня назад +1

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

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

    U made it simple man ur subscribers are well deserved

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

    THANKS FOR THIS IV BEEN SEARCHING FO SOOO LONG

  • @Tobeae
    @Tobeae 10 месяцев назад +1

    This is the best turtorial I have ever seen

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

    Very Useful !

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

    Great tutorial!

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

    very nice explanation thank you so much.

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

    Thank you. I learned a lot.

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

    Excellent Tutorial... thanks!

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

    Thank you very much for clarification I must try this

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

    Excellent video.

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

    Good video, need more 2d in unreal

  • @wizards-themagicalconcert5048
    @wizards-themagicalconcert5048 Год назад +1

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

  • @osyar8476
    @osyar8476 10 месяцев назад +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 10 месяцев назад +1

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

    • @CobraCode
      @CobraCode  10 месяцев назад +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!

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

    Super fast and easy tutorial

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

    That was a great vid!

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

    I like almost any content you create for us

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

    THIS IS AWESOME!!!!

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

    Great vid.

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

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

    Gracias por el video, está muy bueno.

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

    thank you so much , it worked :)

  • @RandomStuf69
    @RandomStuf69 10 месяцев назад +1

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

  • @dems972
    @dems972 Год назад +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)

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

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

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

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

    Awesome!👍

  • @SimoneChiocchi-xs3lx
    @SimoneChiocchi-xs3lx Год назад +1

    Thankyou that was ready helpful.

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

    Keep it up bro

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

    Really Helpful!!!

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

      Thank you! Glad to hear that!

  • @432HzUSA
    @432HzUSA Год назад +1

    Thank you very much!!!

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

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

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

    This is cool i subscribed!!!

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

    amazing!!