How to make a 2.5D Platformer in Unreal Engine 5 - Beginner Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

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

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

    Get my 12 hour course on how to make 2D games with Unreal Engine:
    tinyurl.com/Ultimate2D
    The input system has been changed with UE 5.2, so if you're using that one you might have to look into how to use the enhanced input system and apply that to this tutorial.
    th-cam.com/video/tKA4XFGAjx0/w-d-xo.html

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

      Thanks a lot! I'll try this one!

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

      This was a brief hang up, but with some trial and error got it working just like yours. Great tutorial.

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

      hello, i have an issue with the enhanced input system taking the Event begin space. so i can not add a spawn actor, if i do, all controls are lost!

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

      @@A1_Megaswag Hey, you can use a 'Sequence' node and run one after the other

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

      @@CobraCode THE BEST!! THANK YOU!

  • @CaprianoPlays
    @CaprianoPlays ปีที่แล้ว +34

    I just watched the whole video without having any interest in unreal or game development. Thanks TH-cam. Good suggestion.

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

      It do be like that

    • @prodxoasis
      @prodxoasis 9 หลายเดือนก่อน +1

      That’s how it starts (starting to dev)

  • @tmwonastick
    @tmwonastick 8 หลายเดือนก่อน +20

    I’ve watched hours of beginning with unreal. The first 5 minutes of this answered nearly every question I had. Thank you.

    • @CobraCode
      @CobraCode  8 หลายเดือนก่อน +2

      Awesome, so glad to hear that :D

  • @concretefist5672
    @concretefist5672 5 หลายเดือนก่อน +6

    maybe I did something wrong, but the following camera part doesnt work anymore since the UE Interface has slightly changed.

  • @Mety333
    @Mety333 9 หลายเดือนก่อน +4

    amazing tutorial thanks! even for me as a noob with 2 hours in unreal engine. i subbed thanks!

    • @CobraCode
      @CobraCode  9 หลายเดือนก่อน +1

      Thank you :D
      Glad it was easy to follow along

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

    wow, so much explained in just 16 minutes. Thanks for the very clear tutorial

  • @re-imaginedgames
    @re-imaginedgames ปีที่แล้ว +7

    Your channel is AMAZING, and this tutorial was incredibly helpful!!!

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

      Thank you so much :D

    • @re-imaginedgames
      @re-imaginedgames ปีที่แล้ว +2

      @@CobraCode If its okay, I'd love to link to this tutorial in my next video? I've spent six month remaking Mario in Unreal, and you just solved every technical problem I ran into in 15 minutes!

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

      ​@@re-imaginedgames Yeah for sure, I'd love that!
      I stumbled upon a few of your videos a while ago and I must say your project looks amazing.

  • @holdthetruthhostage
    @holdthetruthhostage ปีที่แล้ว +33

    Code Cobra respect for these 10-30 minute tutorials great for Warm ups and learning on the go before a longer tutorial

  • @ps5games821
    @ps5games821 ปีที่แล้ว +11

    Please make more tutorials about 2.5D Platformer in Unreal Engine 5

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

      Thanks for letting me know you enjoyed the tutorial :D
      Yeah I definitely want to make a full on dk country returns style tutorial, but I wanna make it really nice so it'll take a long time to prepare and also do the research necessary

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

    I'm using UE 5.4 & I'm having trouble with 9:03. I'm getting the error "Accessed None trying to read property FollowTarget:. Node: Set Actor Location Graph: UpdateCameraPosition Function: Update Camera Position Blueprint: BP_CameraManager"
    The Variable FollowTarget is set as ObjectType: Character. When I click and drag it out, it prompts me with "GetFollowTarget" and "SetFollowTarget". Any ideas for what's going on?
    EDIT: nvm I fixed it, I forgot to reference 'self' when doing the 'SpawnActor BP_CameraManager' after 'Event BeginPlay'

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

      I just had that exact same issue, cheers for the tip bro you're a legend.

  • @jdia.
    @jdia. ปีที่แล้ว +19

    for the inverted key directions, just go into the project settings -> inputs -> Axis Mappings... Move Right/Left mapping set movement scales to A=(1) & D= (-1). for keyboards atleast, change the other left/rights accordingly also. You don't have to rotate the spawn

    • @HumpaLumpaBiriBam
      @HumpaLumpaBiriBam 6 หลายเดือนก่อน +1

      2:15 Or multiply axis X reading by -1 before returing to scale value of 'Add Movement Input' node. That will work for all the inputs

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

      @@HumpaLumpaBiriBam thank you this worked perfectly especially since I have it where you can switch between camera positions such as behind to the right and left. It would be unhelpful to change the enhanced input settings manually

    • @HumpaLumpaBiriBam
      @HumpaLumpaBiriBam 5 หลายเดือนก่อน +1

      @@oscblade1691 glad it helped, I'm working on something similar, 2.5d platformer where you changing axis / camera position, while maintaining player forward and right vector respectively. Learned a lot, will do my own tutorial on youtube some time in the future.

  • @dorondavid4698
    @dorondavid4698 ปีที่แล้ว +18

    First time watching your videos, but you're very clear and precise with your instructions, and you show what they do.
    Good work!

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

      Thank you :D

  • @LightNoFireInstitute-bi6co
    @LightNoFireInstitute-bi6co 4 หลายเดือนก่อน +2

    mine doesnt have the follow actor thing =( 7:38

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

    Does having the whole game rotated 180 degrees on the Z axis pose some problems in the pipeline of assets and coding things in the future? Will everything you code have to have flipped negative -X value to move something Right.. Doesn't that have some funkiness with animation in Unreal?

  • @xvisiongames
    @xvisiongames ปีที่แล้ว +14

    Was going through this. Had a solution for the Camera inverse control movement. In the Event Blueprint for the movement before the it sends the vector to world direction, we can just use negate vector. That way we can control the character without the inverse input key.

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

      thanks alot

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

      Thanks, that was really helpful!

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

      I’m new. Can you explain that a little better lol

  • @ramywaqed6979
    @ramywaqed6979 9 หลายเดือนก่อน +2

    ‏‪9:12‬‏
    I just got an erorr masege
    And i am sure of the steps
    Is there any virsion defrences ???

    • @MarvinVolkery
      @MarvinVolkery 4 หลายเดือนก่อน +1

      Dito

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

      @@MarvinVolkery what do you mean ???

  • @TheMilozz_10
    @TheMilozz_10 ปีที่แล้ว +13

    Amazing tut. You should do a complete course on how to create a donkey kong-style platformer, I would buy it immediately!

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

      Thank you :)
      I actually do have plans for that, but also already a lot of other ongoing projects, so it will probably be quite a while until I can go through with making the course.

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

      @@CobraCode Your way of explaining is clear and simple, even the very tone of voice you use helps one to understand well.
      It's hard to find tutorials that really explain the concepts of how to do one thing or another, for example I've been trying to find someone who explains how to switch from one actor to another (e.g. from a staff to a spear) or how to attach a vfx to an actor used by the main character in a platformer, and I've got practically nothing, most of it is fps or top down game stuff. Anyway I'll wait when your full😁 course comes out.

  • @RasmusKarlsson-p8l
    @RasmusKarlsson-p8l ปีที่แล้ว

    Love the transitions BIRTH! 💪💪💪💪💪

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

    This was useful thank you

  • @obscureautumnfrost
    @obscureautumnfrost 8 หลายเดือนก่อน +18

    The tutorial still works for me just fine, except for the Enhanced Inputs. With a tiny modification, the camera setup works fine as expected.
    Since the Input Blueprint has been updated to Enhanced Input in UE 5.3, for the section involving BP_CameraManager and Event BeginPlay, simply follow the steps that @CobraCode specifies with one simple modification. Begin by breaking the link between Event BeginPlay and the Cast to PlayerController in the Add the Input Mapping Group in the BP_ThirdPerson blueprint. Follow every instruction that @CobraCode gives, up to the point where you create the Set View Target with Blend. Connect the top rightmost pin in Set View Target with Blend to the top leftmost pin of Cast to PlayerController.
    Continue the rest of the tutorial as is. Good luck!

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

      Hey Mate, Thank you for the Update, it helps a lot. As it seems maybe I am too blind to see the function. Is Input Mapping Context the function to use here? If you could give some context here, would be helpful as well. When I try to use the Input Mapping Context I get some errors. Like it is not working or missing some parameters. If you might know a solution I'd be glad. Thank you in advance.

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

      Bro just saved me heaps of time, thank you king!

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

    Hey Cobra, very helpful thus far.
    How are you able to attach the camera actor to a player such as at 7:20 ? With 5.1 Unreal update adding the Enhanced Input I cannot figure it out.
    Thank you for all your videos!

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

      same

    • @3.33-w2m
      @3.33-w2m ปีที่แล้ว +5

      Just connect the BP camera manager to the Add Mapping Context which is at the end of the new add input mapping section. This worked for me

  • @uuffzz
    @uuffzz 11 หลายเดือนก่อน +2

    3:00 Does anyone have a solution to make the player rotate differently?

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

    When I set the camera to absolute rotation the camera jumps infront of the character when I turn left.

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

      I have this same issue though I have not seen a fix yet in the comments

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

      Figured out the issue with this. I had the same issue I believe. When I set it to world rotation my camera would no longer look at the player but instead in the same direction the player was oriented. Just rewatched and realized I was changing the camera's rotation from relative to world when it needs to be the spring arm's rotation that is changed.

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

    where did you get those mario 3d assets?

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

    Is there any chance to update a video to the UE5.2? After reaching 7:18 in your video, the differences between your version and 5.2 make continuing the project very hard.

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

      Hey, yeah sorry this video released with very unfortunate timing.
      I also forgot to make a pinned comment with a link to my advanced input system tutorial.
      For now your best bet is to watch this and try to apply it yourself. It should be that hard once you understand how the system works:
      th-cam.com/video/tKA4XFGAjx0/w-d-xo.html
      Remaking this video isn't really in my cards right now because of all the other projects I'm involved in.
      I do plan on covering this topic again in the future, but instead of just rehashing it, maybe taking a slightly different direction.

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

    Bro
    I just pressed X on the components and it deleted
    What shuld I do now 😢

  • @diddykologaming
    @diddykologaming 9 หลายเดือนก่อน +1

    I've been scrubbing from 7:20-9:20 trying to troubleshoot how I turned this into a permanent FPS game 😆
    I am so stuck getting the camera to reappear on the side of my character. All the Blueprint steps from 7:20 are not congruent with what is the behavior in current UE5.3

    • @teppidd
      @teppidd 8 หลายเดือนก่อน +1

      did you ever figure it out, I'm having the same issues :(

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

    Thank you very much! But I'm having trouble with the 1:56 control
    I'm using Unreal Engine 5.1 and don't know what to do at this point

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

      Hey, yeah sadly I released this video shortly before 5.1 and the enhanced input system becoming the default.
      I've made a separate video explaining the system, so you could watch that first and should then probably be able to figure out how to apply that to this tutorial!
      th-cam.com/video/tKA4XFGAjx0/w-d-xo.html

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

      @@CobraCode thank you! 😊

  • @Steven.Knapman
    @Steven.Knapman ปีที่แล้ว +3

    I'd made a little 2.5d metroidvania platformer prototype just removing the forward/back inputs and never got around to solving the physics constraints, it's surprising how far you can get before that becomes an issue but thought I should finally look up how to actually fix that, thanks

  • @Admin-oe8zj
    @Admin-oe8zj ปีที่แล้ว +1

    that was relly relly amazing man..very thank to you.

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

    Don't know what's wrong with my character, but when i turn left it turns it's back towards me, but when I turn right, it turns it's face towards me.

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

    Thanks A lot...... please make more the same 2.5D Climb Ladder System

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

    My spawn actor BP cameramanager box does not show an option for "follow target" as yours does. how do I fix this?

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

      You mean where you spawn it?
      You might have forgotten to compile the BP Cameramanager blueprint after setting the FollowTarget variable to 'instance editable' and 'expose on spawn'

  • @ManiacMcgeee
    @ManiacMcgeee 5 หลายเดือนก่อน +1

    How would you make it so that the character could move with depth? Similar to the arcade beat em ups like final fight.

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

      Hey, I already have a different video about that.
      In that video I'm using a sprite, but would also work similarly with a 3D model.
      th-cam.com/video/59hgD6q7j1k/w-d-xo.html

  • @Maikeldassi
    @Maikeldassi 11 หลายเดือนก่อน +1

    Hey man can you make a vid about parallax effect for background in unreal for 2.5D games like I'm really interested in that and can't find anywhere

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

      Hey, I haven't gotten around to that yet, but here's a great blog post: www.parallelcube.com/2017/11/03/parallax-scrolling-using-materials/

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

    in the 5.1 update im using, on thee bp camera i cannot get a reference to self on the event graph for follow target please help

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

      Same, it is renamed owner on SpawnActor, I linked that to self and referenced it in target in SetActorLocation for Camera but I get an error

  • @razorgmyt6772
    @razorgmyt6772 ปีที่แล้ว +13

    the part of setting the camera to rotate quickly also works for sprites, you just put a high value like 99999 and it will make your sprite rotate immediately without the need for any C++ code or blueprints, just with this little adjustment of the camera you have it will make your sprite rotate

  • @nucleoknight
    @nucleoknight 5 หลายเดือนก่อน +1

    is it really necessary to created the camera manager when unreal has already given you something like that? So much code and so fast, i couldnt understand, am skipping that part however

    • @CobraCode
      @CobraCode  5 หลายเดือนก่อน +1

      Hey, you certainly can make use of the camera manager that comes with Unreal if you're familiar with how it works.
      However, that comes with its own learning curve and things to explain, which is why I decided against it for this video.

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

      @@CobraCode got it. I'll try your approach as well. Just starting to learn, from gaming to game dev

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

    In love with pretty much every video you do, thanks a lot for sharing your knowledge with such clarity !

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

      Thank you so much :D

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

    Great video. I have a respawn system and I'm trying to get the camera to go back to the new player once they respawn. Any clue on how to do this?

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

      Im also trying to figure this out.

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

      @@BunkBeazy +1

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

    yo seriously thank you. You just saved me a lot of headaches. I appreciate this.

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

    How could I recreate the max distance functionality on the spring arm for this camera system?

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

    Wow, the video I wait for long time ago. Thanks you so much!!

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

    You absolutely should redo this video because of the enhanced input control change bc the event graph we get now and your event graph in this video are completely different

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

      Hey thanks for pointing that out.
      Yeah sadly the enhanced input system made a lot of my old videos harder to follow along.
      However remaking this would take a lot of time and effort... time I don't have right now that would be better allocated towards making new and different videos.
      If you understand how the enhanced input system works you should be able to make slight adjustments to get this to work.
      I do wanna revisit the topic of making a 2.5D platformer again in the future, however It won't be a direct remake of this video.

  • @Duzzi33
    @Duzzi33 4 หลายเดือนก่อน +1

    your instructions are very calm and good understandable (also for a german). Very nice, thank you very much!

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

    Kind of just mashed the camera tutorial with the 2d spline tutorial found here: th-cam.com/video/ZmIzHtglnMM/w-d-xo.html&ab_channel=MattAspland
    I gotta say, it works well.

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

      Thanks for sharing!
      Yeah this looks like a great fit!

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

      @@CobraCode It honestly is. Plus, the spline tool in UE5 is very useful for branching pathways.
      Just in case, I just put the spline code in the camera blue print, instead of the player blueprint.

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

      @@CobraCode One problem I ran into is that when you die, the camera just goes inside the player, and you get a bunch of errors. I don't know how to fix that.

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

      Did you figure this out, I am having the same issue when I die the camera goes inside the player on respawn
      @@Take22952

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

      @@moonie878 I haven’t yet. Sorry. If I do, I’ll post the blueprints

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

    That little mustache lol Perfection.

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

      I'm glad somebody finally noticed 😂

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

    Hey I have an issue in 5.1 with "Follow target". It is renamed owner on SpawnActor, I linked that to self and referenced it in target in SetActorLocation for Camera but I get an error

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

      I'd like a solve for this issue as well

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

    15:11 my character doesnt seem to bounce off, it actually slides off the enemyBP, no bounce whatsoever. Is there a setting that I'm missing?

  • @gillsterwow
    @gillsterwow 5 หลายเดือนก่อน +1

    Inn Unreal 5.3 the Event Beginplay is already on the ThirdPerson BP so I cant add a new one and connecting it to nodes we made here undoes all the input mapping nodes. Im not quite sure what to do. Any help?

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

      Hey, you can just use the BeginPlay that's already there and use a Sequence Node to add more lines of nodes to it

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

      @@CobraCode Thank you very much :)

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

    Is this system of "Add movement input" work with a spline if I wanted my character to run along a curved road?

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

    You just make my 1st game AMAZING!

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

    Lets say I have a side scroller and after the player gets all the way to the right of the screen, the road does a T. How would I make it so the char rotates and now goes left / right on the X axis instead of the Y? If I get this figured out i'll be good to go.

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

      You'd have to create some sort of trigger or spline which then sets the rotation and the constrain plane direction of your character

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

    Thank you so much for these tutorials!

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

    A tutorial about paperZD with enhanced input system is needed since the controls no more works with the classic input axis mapping.

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

      Yeah that makes a lot of the older videos hard to code along.
      I'm not quite sure yet how I'm gonna handle this since, just remaking every video isn't feasable.
      I'm currently working on a top down tutorial in PaperZD which uses the new enhanced input system though!

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

    Hey, can anyone help me with a problem the problem is that whenever I press ctrl + V to paste the Camera but then when I have to put the character in the variable type it says, " Cannot edit variable type when they are inherited from a parent". I tried to paste it individually, but it still didn't work. Can anyone help me out here? Whenever I paste it the SpringArm doesn't appear its DefaultSceneRoot and below its camera

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

    How did you make the platforms in the short clip you show with the bull running? Are these static meshes attached to each other some how?

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

      Hey, some of them are just static meshes placed around the map.
      Others are static meshes attached to spline tool to allow for more dynamic generation.
      I'm using the 'Stylized Sky Dungeon' map from the marketplace which comes with these prepared.

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

      Thanks! ​@@CobraCode

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

      @@CobraCode do you have any tips for simple, cheap lighting (perhaps with backdrop) for a 2.5 side scroller that has to run on Mobile?

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

    man you must be kidding, its awsome and quick to learn you deserve the best !!! thanks

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

    Thank's for that video man! really helpful

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

    Would you be able to make a coding language varient of this video? Or is there already a verient of this tutorial withiut visual scripting?

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

    Damn, thank you!
    Your video was short and to the point, AND it was showing what seems like the proper way to do things. Other videos I've seen on the subject did a few dirty things.

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

      Thank you :D
      I also really hate dirty hacks and try to avoid them as much as possible!

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

    My FollowTarget variable doesn't show up in the SpawnActor from Class. Any suggestions for how to fix this?

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

      Same, it is renamed owner on SpawnActor, I linked that to self and referenced it in target in SetActorLocation for Camera but I get an error

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

    bro did all this in one video...amazing

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

    Make full tutorial on 3d sidescroler game, not for free of course. Make if for patreon members or upload it on udemy. It's really sad that in whole TH-cam there Is no normal 3d sidescroler tutorials. You will be firs.

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

      Thanks for the suggestion.
      I do wanna make a donkey kong style 3D side scroller in the future.
      However there's a lot of prep work involved and I also need to find good cc0 assets or commission them. For now though I have other courses planned before that which are easier to create.

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

    It's a good tutorial, but there's a lot of room for improvement.
    Great video.

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

    My event graph looks absolutely nothing like yours at all

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

    Hey! Ty for the tutorial, its very helpful. Im actually a newbie and i have few questions. Maybe you heard about the game "inside", its 2.5D platformer, and im curious how to make camera movement like there? I mean in some locations camera can move up or down or even turn a bit right to show a player what's going on forward. Any chances you can help me with that? Maybe you know some tutorials about this topic or you made something similar. Because im trying to do my own first game and i need to implement this mechanic but i dont know how

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

      I was also looking for something similar to inside. Were you able to find anything?

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

      To be honest, at that moment I was completely new and didn't know much about how it was done, and decided to do other projects. At the moment I think I have enough experience to make a project like this, but I don't want to :) There are just basic work with camera movement and if u dont know how to do it i can advise just to do something more simple or try to find similar tutorials for this

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

    Amazing tutorial! I wonder how do you get all those information what all those "actions" in BP doing? I mean how do you know, that you should take function "Event BeginPlay" than SpawnACTOR and set some class to BP_camera to get this or that result? I didnt think this will workout by trial&error because Unreal is massive with all those functions. I didn´t get it or I´m to stupid or both... :D anyway thanks for sharing you knowlegde!

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

      Thank you :)
      For the most part it's just experience and something you'll learn over time.
      I just type in the thing I need and hope that there's a function available.
      But you can also just right click to bring up the context menu and look through all the different categories to see what is available.
      You can also look through the C++ documentation though since most of these functions will also be available on the blueprint.
      In this case Actor:
      docs.unrealengine.com/5.2/en-US/API/Runtime/Engine/GameFramework/AActor/
      Some times though I'll end up creating a custom system for hours just to realize later that there was already something available that can do the entire thing xD
      So I also still mess up sometimes when it comes to that, it's not really that easy

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

    can you make one on 'how to make a top down zelda game' , something similar to links awakening.

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

      Thanks for the suggestion.
      I actually just started prototyping tutorials for top down games.
      I'll probably do a more basic and generic one at first that just teaches how to set up the top down character controller and then later on make a longer one that goes more in depth on how to create a top down action rpg with elements similar to zelda.

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

      @@CobraCode id pay for a longer/in depth tutorial series/course

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

      @@pabloG3d Thanks for letting me know. I do have plans to make longer and longer videos over time, but still working my way up to that

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

    When you switch direction there is point where character look at camera, is there way to rotate immediately? And i dont want to use rotation speed, since it can mess animation.

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

    Very easy to follow and a great tutorial overall. I'm glad I finally found something that helps!!
    Does anyone know of a good tutorial for added a weapon to a player for a side scrolling shooter? Also, my world camera is starts off facing the wrong direction and not on the player position. Can that be fixed?

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

      Well I don't know if you guys already figured this out. But you can always import the first person template and use the weapon pick up blueprint and weapons from it
      there if you guys can't find it

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

    Question here, i want to make a variation of that where the camera is in the center but moves up and down depending on the characters position, is there a way to lock the camera on the x axis and only move it on the y axis ?

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

    @CobraCode Is there any chance of seeing a tutorial from you on how to integrate camera splines in Unreal Engine?😁

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

      If you've seen my last devlog then you'll see that I'm probably not the best person to teach you splines since I'm also still struggling with them xD
      I do eventually wanna get better with them though and then make a tutorial once I'm confident in my ability.
      th-cam.com/video/LKTIswuvtCg/w-d-xo.html&lc=UgzPQ1lgT9o7Xc_z0op4AaABAg

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

    How do i make the enemy move the other direction after moving a bit?

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

    thanks so much buddy!

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

    Hi!! This tutorial helps a lot! Can you make a tutorial for a minimap like metroidvania? I cant find anything about this.

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

      Thank you!
      Sorry but I currently don't have any plans on making a minimap tutorial since I have other priorities right now.

  • @hawkintelligence
    @hawkintelligence 9 หลายเดือนก่อน +1

    no longer a valid tutorial.
    UE 5.3 has completely different controls and options.

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

      Yeah the enhanced input system is different, but that's the only thing.
      You can check the pinned comment for an explanation of the system and how you can easily apply that with this tutorial.

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

      what pinned comment?@@CobraCode

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

      @@ascend2046 Hey for some reason the pinned comment seems to keep on resetting on this video.
      Sorry about that.
      Just set it up again.

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

      @@CobraCode hey man thanks also please answer this: where do I find texture filtering option in 5.0? I've been looking for 2 hours cuz my pixel art texture is blurry in unreal whilst in blender it is good with texture filtering set to closest

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

      @@ascend2046 Should be in the same place

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

    The instructions here would have saved me hours of headaches caused by troubleshoot my prototype.
    Better late than never, thanks for the tips 😊

  • @craiggoodson5690
    @craiggoodson5690 11 หลายเดือนก่อน +1

    Thank you, easy to understand and follow, Just what I needed.

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

    im stuck @ 7:36 i cant get Self to connect to target ? im using UE5.3

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

      same! did you work out how to solve it?

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

    The camera input gamepad and camera input 1:48 aren’t in the code for me, does anybody know how to fix it? I’m trying to make a 2.5d Kirby remake but you can just use your mouse to fall off the edge, and the camera changes when you turn left or right

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

      You shouldn't need the camera inputs anyway. Following the tutorial should work as shown. Keep investigating and good luck!

  • @HumpaLumpaBiriBam
    @HumpaLumpaBiriBam 6 หลายเดือนก่อน +1

    damn good job! well done!

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

    couldnt really figure out why at 7:41 I could not get that self to show up. the rest I was able to figure out. :) if anyone can help let me know

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

      were you able to get it working?

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

    thank you very much

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

    very good your video helped me a lot

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

    Fantastic course! Any chance/plans to get the more in-depth one?!

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

      Thank you.
      Yeah it's definitely on my TODO list!
      But right now I'm working on a udemy course about 2D development, so it'll be a quite a while until I can revisit 2.5D platforming.

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

      @@CobraCode Sounds cool - looking forward to it! By the way, if I sub to your Patreon (higher/highest tiers), will I be able to consult with you directly regarding various basic functionality for the 2.5D side-scroller setup? (Nothing complicated, just basic stuff - state machine setup for main character, jump/double jump, powerups pickup, shooting in all directions, super simple enemy AI, scoring system etc).

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

      @@defonten Thanks for the offer, but I don't plan on offering private consultation like that through patreon. At least not at the moment.
      Right now time and energy are the things I'm lacking the most and even things like answering messages on youtube and discord take up a lot of my time and are really draining, so for patreon benefits I only want to offer things I can create naturally alongside my videos or research process!

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

      @@CobraCode no worries, thanks for the answer and good luck! You’re doing great tuts!

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

    Top Tutorial thanks

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

    how can I find asset of this video

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

    dont u have double camera lag now once by the copyied cameraboom + camera(u copied it without deactivating) and second by the inteper of the cmanager u manually setup ?

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

      Good catch.
      Yeah that probably did introduce double lag.
      Could have probably only kept it on the spring arm and no need to also implement it in a custom way.

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

    I'm curious if anyone's having the same problem as me- the camera adamantly refuses to go above or below X height. If I build a level with varying heights, it is STUCK at the height it spawns at. Also, when the character turns to face the camera (while switching directions), the camera will push outwards, towards the player (irl). It's quite... goofy.

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

    Hello ! Thank you for this great tutorial ! I have one small issue : when I set the Constraint to Plane on the Y axis, my character rotate but won't move. Did I miss something ? Thank you :)

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

      Hey I think your character probably spawns with the wrong orientation.
      Using constraint to plane assumes that you forward direction is on the world X vector, so you need to make sure that you have a player start in your level and that it has a rotation of (0, 0, 0)

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

      @@CobraCode That was it ! I forgot about that ! Thank you so much for helping me ! I’m really thankful for all your videos ! 🙏🙏🙏

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

    In a certain part you mentioned how one can create a camera crane for when the character might enter a higher area. Do you have a video for that?

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

      Hey, sorry but I don't have a video bout that yet.
      Also something I haven't really done that much research on, but I've used splines for other things so, it seems like that would also work for cameras without any issues.

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

    Wow tnx

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

    Hey! this is awesome to watch your videos, is it possible that you could make some sort of clicker game that collects gamecoins, and then with said currency you can enter another window to buy collectibles from a case opener of sorts and the "won collectible" goes into a collectible screen where you can watch everything you earned? :D

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

      Thank you and thanks for the suggestion!
      That might be something for the far future, but currently I wanna focus more on platformers, top down rpg stuff and more general videos about unreal engine.
      So it might be a while.

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

      That sounds really nice. Im trying to make a top down rpg where i got click target lock system. But im having trouble with the animation of lasers ( the shots fired from ship to alien) to respect distance. Wheter im shooting close or far away. To home in a straight line to the centwr of npc. :| But instead they can go outside npc hitbox depending on how close or far away i am... I am looking forward to new videos from you :D

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

    Why delete the programming? You can simple go into "third person controller" and remove the rotation function and movement of Z 😅
    On this way you can use the same project to another style or make like Nier Automata: many styles into a single game🎉

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

    Really great tutorial, thanks so much!

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

    Is there a way to avoid to make it move forward toward -X axis. It's Counter-intuitive.😂

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

    How i can make it work with respawn system? Even if i switch follow target to respawned character it changes nothing and camera is inside his head...

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

    Thank you for the concise and thorough tutorial man.

  • @Shivam-pn2en
    @Shivam-pn2en หลายเดือนก่อน

    hello can you give me some information about the game you show at 16:40 min pls.

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

      Hey!
      I actually made a separate video about the creation process of that game!
      th-cam.com/video/P1GlOq81TZ4/w-d-xo.htmlsi=V34zQ0BrZWqfJfP6