Create A 2.5D Platformer Game With Unreal Engine (Tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 2024
  • Learn how to create a 2.5D Platformer game with Unreal Engine in this full tutorial using C++. In this beginner's course, you will how to create a game with Unreal Engine and Blueprints.
    💻 Project assets: drive.google.com/file/d/1lAOY...
    💻 Completed code: drive.google.com/file/d/16jVl...
    🎥 Course from Awesome Tuts. Check out their TH-cam channel: / awesometuts
    🔗 Learn more about game development here: www.awesometuts.com/ultimate-...
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: freecodecamp.org/news

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

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

    I haven't had time to go through all the tutorial, but so far, i'm finding it very helpful. Thank you!

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

    yay! after a whole week of searching for 2.5D approach (not pure 2d sprites) i've finally found your content! Well structured and pretty easy explained, thank you for Your work!

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

    Free code camp always suprises me..
    Such quality content almost everyday🔥🔥

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

      how you can select all of that rock pls tell me

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

    I came here to learn how to make a platformer, stayed because I love the way this guy explains everything with his semi-sarcastic tone

  • @Abhishek-iz6lw
    @Abhishek-iz6lw 4 ปีที่แล้ว +9

    Really loved your content
    You all are very hardworking and quality is top level

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

    This morning I was actually thinking of creating a c++ game for my project!!
    Thanks man💖💕

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

    this is awesome! more UE4 tuts please! thanks for including the project, it helps so much!!!

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

    Love you for making free tutorials 😘

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

    Guys, if you have problems compiling the material (most likely you are working in ua5), use the mask node(r,g,b,a) at the moment when the node Lerp(time -> divide->sine -> lerp) goes to if(a==b). I had to spend a lot of time to fix this :D

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

    "with Unreal Engine in this full tutorial using C++" - no c++ in this video, only Blueprints (which are great too), please correct the description.

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

    For those who are wondering at 1:05:00 "why does sign stabilize the ball". Just put a breakpoint (press F9) on the Launch Character node and hover with the mouse over the input of the Sign node to see what it looks like. The value I saw for the first hit was -75 (which is the distance between the location of the hit and the center of the ball, aka the radius). The difference between "with sign" and "without sign" is just that in the first case you're always adding the same launch velocity to the character (i.e. a vector), while in the second case the X component depends on the distance between the center of the ball and the hit position. In this game there is no difference since the ball is spherical and every hit will always be at the same distance, but it may not always be the case. So, if you multiply by a value like "12" instead of "800" after sign and don't normalize the vector, the jump would work roughly the same, while in other cases (say you are playing as a car, or a spaceship, or another irregular form) you will want to take the direction of the hit in a normalized form in order to consistently apply the same hit.
    Another way to see this is: you take the "hit vector" composed like this: and "normalize" it to get a vector that is either or .

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

      Nice essay

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

      Here's the short version: the "sign" function returns either "1" or "-1". I haven't watched the video yet, but my guess is that we just want to figure out the direction of something rather than having big numbers that would result in some weird buggy movement. In the case of the X axis 1 would mean right and -1 would mean left.

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

      Can put ball launch force 600 or 300

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

    This is great brother!

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

    Look forward to more dude...im jus starting out in the world of game creation

  • @scaramanga616
    @scaramanga616 3 ปีที่แล้ว

    Great vid, thanks a lot!

  • @monhoobatraa3967
    @monhoobatraa3967 3 ปีที่แล้ว

    Thank you for amazing tutorial

  • @beatsbynate710
    @beatsbynate710 3 ปีที่แล้ว

    really helpful vid...thanks!!

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

    In the final part, when we move the elevator, are we doing it by setting a new location and the elevator slowly moves to that position?

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

    How does Puzzlemode boolean in the Player blueprint receive input to know if player is moving right or left.

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

    Ok so, you created a mesh with a ball material and then in the code you wrote a blueprint that change the color of the material which is the entire ball mesh, how did you make glow that specific part of that material?? And also in 35:50 why did you picked the get actor forward and multiplied with get MoveRight? What is the connection?

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

    Fantastic job

  • @karlee8608
    @karlee8608 4 ปีที่แล้ว

    YOU ARE THE MAN YOU ARE THE MAN YOU ARE THE MAN LOVE YOUR AWESOME VIDEOS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    i am try to devolope this project but there are few problem, the block are moving in Z axis and if i try to jump on they move my camera out of the game , and when you roll the block also the box collider is rolling so does mean they change the interacting point, anyone have a solution?

  • @mohsenalbo5533
    @mohsenalbo5533 4 ปีที่แล้ว

    Dude you're awesome

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

    i have a problem, can somebody tell me why when i open map, rocks aren't loaded, some error.
    UPD: nvrm, somehow they don't have static mesh

  • @GustavoCosta-up9tq
    @GustavoCosta-up9tq 4 ปีที่แล้ว

    i love your videos, kiss from brazil !!!!!!!!!!!

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

    I don't think we have worked enough with the great potential of Unreal engine for 2D games. There is just so much you can do, and even if it's overkill, that's fine, use what it gives you and make a great game.

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

    I need help. why rotate intreactiveBlock? absolutely I did Set motion type free to lock of angular swing limit and twist limit

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

    How would I add a timer function and track Personal Best times?

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

    nice ue tutorial!

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

    Thanks FCC! :-)
    Please bring more godot 2d tutorials, maybe a godot 2d for beginners! :-D

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

      Here is a good Godot course: th-cam.com/video/fQXKjmCDkIA/w-d-xo.html

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

    1:40:00 my ball can enter to the laser and it's detected but on the next frame it doesn't do anything, i do not know what's happening, it's like the bp_laser haven't the tick event activated but it is

  • @swagatachakraborty9862
    @swagatachakraborty9862 3 ปีที่แล้ว

    I can't see the faint glow on the ball Player, why is that and how do I resolve it?

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

    Arrgh! Timestamp 51:01, I'm getting a rotating world. I've gone over the rotation blueprint and can't spot anything different. Help!

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

    At 4:03, he cliks on the exmaple map and it shows it on the screen. When I do it nothing shows, why? The rocks mesh exists as I can see them on the outliner but they don't show on the 'screen'. Can anyone help me please, I am a complete noob when it comes to unreal engine.

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

    it doesnt do the interaction from my E button :( i think it some time. wonder that auto action and action thing. maybe i find out trouble.

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

    My ball isn't showing in the game when I press play at 11:03 , anyone knows if something is wrong with the script or if I am doing something wrong..

    • @therealg.o.a.t9980
      @therealg.o.a.t9980 ปีที่แล้ว

      I'm having this problem now
      Did you find the solution pls?

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

    Unreal and Unity
    Notice how they all started with "Un"?
    and when you remove the "Un"s,
    and combine them,
    YOU GET REALITY

    • @kbg-
      @kbg- 3 ปีที่แล้ว +1

      bruh what xD

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

      what are you smoking hahaha!!!

    • @4cbeat_46
      @4cbeat_46 3 ปีที่แล้ว

      wow bruh that's nice man

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

      Not gonna lie that kind of blows my mind

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

      two negatives make a positive

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

    can you guys make a video on tyranobuilder 1.8 i really will love to know how create an animated image button

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

    Is anyone else having trouble calling "Show Interaction Text" in "BP_InteractiveBlock" (1:57:00)? I cannot connect "UI HUD" to the Target pin on "Show Interaction Text". It also shows the current target of "Show Interaction Text" is "BP Game HUD". Is this correct? I'm using Unreal 5.0.1, FYI.

  • @maharabhossain8056
    @maharabhossain8056 3 ปีที่แล้ว

    Which apps and from where i can find it?

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

    i would pay for good car driving on bouncy dirt - logics, exspecially if you create. Need logics for axel handling lifting material also

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

    HOW CAN I OPTIMIZE 2.5D LONG LEVELS IN UNREAL ENGINE GAMES LIKE LITTLE NIGHTMARE/INSIDE
    I know about level streaming but still no proper tutorial on TH-cam or documentation 😅
    If there exist other methods or turorial plz provide links , i will be very great full

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

    gooooood
    💓💓

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

    i cant get the ball to move right it keeps moving up and down off the map also when i start the level it automatically moves to the right idk why

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

    8:00 been looking for this everywhere

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

    helpppp! my laser doesn't have color, what do i need to do to add the color?

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

    Pls feel free to add ads in the vid, u guys deserve it

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

      YEAH THAT'S IT ADD ADS SO YOU CAN BECOME RICH OMG NO ONE THOUGHT OF THAT DUDE YOU ARE OMANSH EINESTEIN

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

    Why no ending to the game? A restart feature and a menu perhaps? Also when U die a restart button?

  • @frkangungor
    @frkangungor 3 ปีที่แล้ว

    soooooo beaitful

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

    i wanna to add shooting system in this game but i dunno how some one can help me

  • @jatinsingalEARCS
    @jatinsingalEARCS 3 ปีที่แล้ว

    my pawn is not visible how to fix please help!

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

    Please, More unreal engine 4 tutorials.

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

    I did everything as you did but when I overlap with lazer its just giving damage when entering the collision and quiting collision its not permamently how can I do that I did everything on event tick as you

    • @ZangryZ
      @ZangryZ 3 ปีที่แล้ว

      My a ball allso that stops moving when encountering a laser

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

      @@ZangryZ I completed game perfectly expect that issue rather I changed damage to 100

    • @ZangryZ
      @ZangryZ 3 ปีที่แล้ว

      @@isimbulamadmobenibulsun660 I'll try that. Thanks)

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

    I wanna get into this but idk where to start unreal engine will i learn c++ through learning unreal or should i learn that before idk what to do or where to start lol

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

      I suggest learning Unreal first, and there is so much Blueprints can do. I haven't needed C++ yet.
      btw Fortnite is 80% blueprints.

    • @letmethinkaboutthat6434
      @letmethinkaboutthat6434 4 ปีที่แล้ว

      @@rifz42 coool

    • @MichaelBrown-js1ti
      @MichaelBrown-js1ti 3 ปีที่แล้ว

      he wants his own TH-cam channel

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

    What app is thar he is doing

  • @pankajsharma-ez5kh
    @pankajsharma-ez5kh 4 ปีที่แล้ว

    what is the best way when product 's add to cart

    • @pankajsharma-ez5kh
      @pankajsharma-ez5kh 4 ปีที่แล้ว

      where i store product data add to card session or datatable

  • @forgiven88
    @forgiven88 3 ปีที่แล้ว

    thanks

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

    36:23 I followed the instructions and then the movement of A & D is not working.

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

      I struggled here too - it turned out that the Enabel Disable Input Event needs the Enable Parameter set to Defaul ON, Click the event and check the checkbox

  • @Allusioo
    @Allusioo 3 ปีที่แล้ว

    is it just me or are there no assets in the folders?

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

    My ball doesn't move but I have done everything exactly like you have said can anyone help me

    • @icicle8334
      @icicle8334 4 ปีที่แล้ว

      Try looking at any possible errors in your console, and see if you forgot to add any condition statement

  • @reb5920
    @reb5920 3 ปีที่แล้ว

    i don't know why, i have broken textures (

  • @chirayu8210
    @chirayu8210 3 ปีที่แล้ว

    niceeee

  • @codelightsparkles2403
    @codelightsparkles2403 4 ปีที่แล้ว

    nice video

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

    it helps the algorythm

  • @hemanthsatyendravilluri4799
    @hemanthsatyendravilluri4799 4 ปีที่แล้ว

    Can you make with Godot please

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

    Create tutorial internet team game where players create something and does teaming . Interested to pay someway sure. Pls create. Greetings from finland

  • @ZangryZ
    @ZangryZ 3 ปีที่แล้ว

    1:39:55 Hi! How did you turn the laser around?

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

      FOR THOSE WHO ARE STILL WONDERING, change the laser direction X to -1.0

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

      @@raiko405 thank you!

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

    I wonder if teachers and Fahir himself want to create fun game and what kind if game

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

    First commenorrrr. BIG FANNNNNN

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

    "Just kidding ıhııhı" 😀🙌

  • @damian4926
    @damian4926 4 ปีที่แล้ว

    Tutorial creating moba plox.

  • @mobaplayers4534
    @mobaplayers4534 4 ปีที่แล้ว

    Just say "I need the money from coming TH-cam to support my living cost " beginning of the video I bet you get more likes and your channel will grow

  • @MacySpitfire
    @MacySpitfire 3 ปีที่แล้ว

    So many bad bois there i suspect this game is some kind of criminal den or something. Anyway good tutorial!

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

    I tried following the tutorial and heres what I got: I had to fix static meshes of the rocks on the map, I tried fixing ball material to make it change color - no luck, and then ended at 0:38:00 when his ball move and my didn't. I wasn't able to fix that. My friend who makes living in UE4 wasn't able to fix that. Reddit wasn't able to fix that.
    EDIT: Now while goofing around I was able to make it change color by pure luck.

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

    What is name of you fun teacher? :)

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

    "Stay out of jail and stuff."

  • @kritikkaushal6305
    @kritikkaushal6305 4 ปีที่แล้ว

    fcc is gold

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

    4:39 bookmark

  • @Abhishek-iz6lw
    @Abhishek-iz6lw 4 ปีที่แล้ว +3

    Can you please tell me what i need to know before watching this video
    Language???

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

      C++ and unreal engine

  • @84giampiero
    @84giampiero 3 ปีที่แล้ว

    plz dont stop ......

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

    Can you make a game like Red Ball 4 for mobile?

  • @aap_chutiye2
    @aap_chutiye2 3 ปีที่แล้ว

    timespamps....WHERE THEM TIMESTAMPS!!!

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

    1:07:10 bookmark

  • @colliejayz7661
    @colliejayz7661 3 ปีที่แล้ว

    I found four problems / bugs
    1. The materials are broken (I had to set the textures for the ball in the nodes manually looking at your pasued video) and I cannot for some reason set the materials for the particles (you had them already loaded) its just a green square at the material section of the particle blueprint but doesnt let me change to any material [EDIT: The materials for particles can be easily changed by nodes :) Idk why they dont work in the menu]
    2. The cubes spin around even though we set the rotation constraints on it
    3. If you constantly press 'E' while on the top of the elevator it will infinitely go up (moves very little every time you press E)
    4. In the "OnEndOverlap" event we are disabling the input on "E" but what if the player is still holding the key? The beam still works and the cube can be pulled from any distance! The simplest solution for me was to add the "CloseGate" custom event to the end of the "OnEndOverlap" node
    Thanks in advance for any replies !! :)
    If anybody even reads this 3 months after the release of this video...

    • @Jsmith0819
      @Jsmith0819 3 ปีที่แล้ว

      This is hard to explain, but I'll give it a go. Basically the links are just broken. You have to relink them from the texture library. There are 5 texture sample boxes that need relinked. One traces back from the Normal, replace it with "T_Tech_Hex_Tile_N". The others are much more confusing, but one has a plug going into the multiply block that heads over to the emission plug. That's your emission mask. Use Bloom_Mask for that one. Plug the tilable texture into the one coming directly off the red TexCoordinate node. I plugged the Spec_Texture into the node that plugs into ambient oclusion. The last one I used the Bloom mask again. Not sure if that one is right, but my ball looks like his at this point, so I'm guessing it's okay. If I run into any bugs I will go back and play with that one.

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

    I am sorry? Can you read my mind?

  • @Destroymaster100
    @Destroymaster100 3 ปีที่แล้ว

    this doesnt use c++ this uses blueprints.

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

    حافظ مش فاهم

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

    This video is good, but you're doing so much more then the basics, and thats not nececasrly good

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

    :D
    -

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

    Нихуя не понятно, но очень интересно

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

    yata yata yata

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

    Love you for making free tutorials 😘

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

      Hey we have ReactJS project tutorials as well and it's free too :)

    • @dujemandalinic5468
      @dujemandalinic5468 4 ปีที่แล้ว

      @@eduriseworld I will check you out :)