Cobra Code

Cobra Code

Here to provide top notch Unreal Engine Tutorials and Devlogs!

One of my guilty pleasures is making 2D or HD-2D Games in Unreal Engine 5 and this channel has the most content about Paper 2D and PaperZD you can find on KZread!

Get my Full Unreal Engine 2D Course:
tinyurl.com/Ultimate2D

Support the channel on Patreon:
www.patreon.com/CobraCode

Join the Cobra Code Community Discord:
discord.com/invite/sPbqxRrqr5

Stay up to date with my projects on twitter:
twitter.com/CobraCodeDev

Пікірлер

  • @OwnageMancer
    @OwnageMancer56 минут бұрын

    It’s a beautiful style

  • @sergiostockfleth823
    @sergiostockfleth8234 сағат бұрын

    Wow, love this art style and didn’t even realize that it was Unreal🤯

  • @TheSoloTalent
    @TheSoloTalent11 сағат бұрын

    can the sprite fixing be skipped if the spacing in the png is different(correct) ? i think its alot of nubbers u have to toss around just to get the sprites working :/

  • @kgrayman
    @kgrayman13 сағат бұрын

    When I hear HD 2D I think of Disgaea 5. Now thats real HD

  • @user-iy9gq4tj4k
    @user-iy9gq4tj4k19 сағат бұрын

    Thank you for finally creating this this is a blessing

  • @ThiagoCunha
    @ThiagoCunha21 сағат бұрын

    That's good only them can use this misleading term. Because that's not high definition nor just 2D. 😅

  • @shaggyshiggy
    @shaggyshiggy22 сағат бұрын

    finally the video i've been waiting for! This technique was used long before the 16 bit era though...

  • @madnessjones9996
    @madnessjones9996Күн бұрын

    I am so glad I found your channel! You make Unreal Engine feel less mysterious for those of us who want to work with 2D instead of 3D. Even a newbie like me can understand your tutorials. I have a suggestion for a video, since I can’t really find it anywhere else. I know you’re busy and probably have a lot of video ideas already, but if the idea interests you it would mean a lot to me. I can’t figure out how to create a 2D procedurally generated map that leads to randomized levels (like FTL). In Godot the answer was the noise filter, but I don’t know if Unreal has something like that or not. Anyway, thank you for your videos and hope you have a great week :)

  • @LAxemann
    @LAxemannКүн бұрын

    Danke!

  • @k-ul4sm
    @k-ul4smКүн бұрын

    Help! The jitter didnt't Stop for me. What should i do?

  • @k-ul4sm
    @k-ul4smКүн бұрын

    Help! The jitter didnt't Stop for me. What should i do?

  • @SunilNangla
    @SunilNanglaКүн бұрын

    I have no components tab even if I close and re open the project help

  • @arialjockey1529
    @arialjockey15292 күн бұрын

    Hi, i am Blocked to the blueprints. When i put the caracther's coordinates to 0,0,0 it go un the upper left angle of the background. How can i choose the platform level to be at 000?

  • @unrealdream-studiogameamea
    @unrealdream-studiogameamea2 күн бұрын

    Nice video. thanks ! Can you tell me Where the game footages in your video come from ? They are pretty cool

  • @korytoombs886
    @korytoombs8862 күн бұрын

    I recognize those assets from itchio. I used Pixel Game Maker MV to make a small game with them. It's called Reaper of Swords, can find on itchio

  • @291jhsjasd2
    @291jhsjasd22 күн бұрын

    any plans on making tutorials for 3d Pixelart Environments/Levels for 2.5D games, like those seen in Octopath Traveler, SacriFire, etc? There's barely any tutorials for it so It would be really helpful.

  • @CobraCode
    @CobraCode2 күн бұрын

    It's too niche to cover in a separate video and asset creation isn't really the focus on this channel. But I do have plans to remaster the HD-2D look video and might touch upon that a bit!

  • @tech_knightz8697
    @tech_knightz86972 күн бұрын

    it says that the asset pack for the prototype hero says i dont have access

  • @CobraCode
    @CobraCode2 күн бұрын

    Yeah sorry, but sadly the asset and almost everything from its creator has completely vanished off the internet :( Tried to reach out, but no answer

  • @MrRorosao
    @MrRorosao2 күн бұрын

    What about crono trigger hd-2d

  • @FranKoPepez
    @FranKoPepez2 күн бұрын

    Tremendo video! Excelente información y forma de presentar. 👏👏👏 Creo que una vez leí que querían "reintroducir" al Guacamayo glauco pero en realidad era una de sus parientes más cercanos para que pueda cumplir su rol ecológico

  • @tomasalves3462
    @tomasalves34622 күн бұрын

    Godot... just Godot!

  • @CobraCode
    @CobraCode2 күн бұрын

    There's pro's and con's to every engine. With Godot you'll struggle porting to any console, which is something you should probably do in the long run.

  • @PariDelights
    @PariDelights3 күн бұрын

    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

  • @OniBojan
    @OniBojan3 күн бұрын

    Hey Cobra, I did achieve same effect with having parallax scrolling background as separate component, and adding it to the level. All my player did, is update it's position in the game mode, and then game mode would notify listeners of the player position change. Then scrolling background actors would move themself. To be honest, I do not like the direct responsibility of a player towards the background. Player should not be aware of the backgrounds, and change their positions direclty. Also, what will happen when you switch to another level, and background is different? Then you must add a lot's of logic inside of player... the logic it should not care about.

  • @sirdrakey
    @sirdrakey3 күн бұрын

    So 3d with 2d pixie art?

  • @jorgitoislamico4224
    @jorgitoislamico42243 күн бұрын

    1:27 "And selecting Shadow gay mode" 😳😳🥵🏳️‍🌈

  • @7N_GA
    @7N_GA3 күн бұрын

    I wish stardew valley was like this

  • @CobraCode
    @CobraCode3 күн бұрын

    There's actually a farming sim called Cornucopia using a similar art style to this. Not sure if it holds up gameplay wise though.

  • @7N_GA
    @7N_GA3 күн бұрын

    @@CobraCode really! I'll check it out

  • @superresistant8041
    @superresistant80413 күн бұрын

    I have no idea why ppl learn video games, there’s way too many of them.

  • @CobraCode
    @CobraCode3 күн бұрын

    Why people learn to make video games? It's one of the most fulfilling things you could possibly do! The excitement you get when a character you drew yourself moves along the screen or the achievement you feel when a piece of code you've been struggling with for weeks finally works is unmatched. Many people will never make it to the point where they publish anything or actually make money from their games, but even then it's an exhilarating hobby that can teach you so many different skillsets that can be valuable in many different areas of your life.

  • @carlosrivadulla8903
    @carlosrivadulla89033 күн бұрын

    is the paper sprite an exclusive component os the plugin and only for papperz projects?

  • @CobraCode
    @CobraCode3 күн бұрын

    The PaperSprite is a part of the official Paper 2D plugin which is active by default. PaperZD wasn't used in this video, but it also relies on the building blocks of Paper 2D and would use PaperSprite and PaperFlipbook.

  • @compatriot852
    @compatriot8523 күн бұрын

    While on the subject of backgrounds, is there any possibility you'd cover 2.5D/2D-3D hybrid environments with sprites in the future? I remember you doing a top down video a while back, but only used a 3d stylized environment. I know octopath traveler does this well by using a lot of animated and static 2d sprites and 3d models for the background

  • @CobraCode
    @CobraCode3 күн бұрын

    Hey, I think that might be too specific and niche for a KZread video. Sounds like a good addition to a course though.

  • @compatriot852
    @compatriot8523 күн бұрын

    ​​@@CobraCodeTotally understand. It's a technique I've seen mainly used for Jrpgs, so it'd probably be better fitting for a course touching on that subject. So far I've found a channel called UE5 2Don that's touched on the subject matter in a video. Channel is in Japanese, but they provide English subtitles.

  • @CobraCode
    @CobraCode3 күн бұрын

    @@compatriot852 Oh yeah! He's got a lot of great stuff!

  • @user-wo3ym4bj8e
    @user-wo3ym4bj8e3 күн бұрын

    THank you for your content ! I will get on the course too soon. I drew by hand a lot of scenes and I would like to keep the background that I did. I never created a tilemap though -- seems fun. Is it something I should be aware if I use big pictures as backgrounds ? Also can I use the 3D controller and a 3d character in the 2d space (ofc wit restricting the movement in 2d space)

  • @MoksockProductions
    @MoksockProductions3 күн бұрын

    Love the video and its super helpful for this but does this work if i pinned it to a tilemap or anything like that? because i would love to be able to have this but have the background change based off the 2D tilemap im on

  • @CobraCode
    @CobraCode3 күн бұрын

    Yeah that should work. You'd still have the same setup and just put your tile map in front of it. You'd have to set up a system though where you can change the background sprite depending on which stage you're in.

  • @ignacionevarez3254
    @ignacionevarez32543 күн бұрын

    Are you from Brazil? You have a similar accent. Oh sorry, you are from corea

  • @thehammerofwrath
    @thehammerofwrath3 күн бұрын

    Consistently impressed by the quality of content you are producing. Clear. Concise. Helpful. THANK YOU!

  • @CobraCode
    @CobraCode3 күн бұрын

    Thank you so much :D

  • @SmurmBreep
    @SmurmBreep3 күн бұрын

    Thanks for this, I remember asking a while ago, love to see it ^^. It makes me want to take a break from my 3d projects to do something 2D! Awesome video, keep up the good work.

  • @iandaley6069
    @iandaley60693 күн бұрын

    2.5D is always what ive seen it called

  • @ShyGuy47
    @ShyGuy473 күн бұрын

    Is there a way to get the parallax effect on the Z axis as well? If your camera is following your character through an up or down movement, like jumping or falling, the background stands still. This creates a dizzying sensation because you expect the Z axis to behave the same way as the X axis.

  • @CobraCode
    @CobraCode3 күн бұрын

    Yeah, you certainly can. I decided against including it in the video because it already dragged on too long. The part in the material where we use the 'Append' node and pass it a 0 is where you'd want to put your logic for scrolling the Z axis. Most of it will work the same, however one problem you have is that you can't do an infinite scroll like left to right since things don't connect and you'll have to mask out the bottom of the hills since it will otherwise come in at the top of the screen. This blog post has some interesting stuff about it www.nexatli.com/blog/parallax-backgrounds-for-paper2d

  • @ShyGuy47
    @ShyGuy473 күн бұрын

    @@CobraCode My man! Worked perfectly. Copied all the code before the append in M_ParallaxSprite and attached to the Append B input. Made sure Mask (B) was selected and multiplied the ParallaxMultiplier float by -1 and it all worked out. Thanks for your time and knowledge.

  • @cindyn4403
    @cindyn44033 күн бұрын

    Hello! Thanks for all your videos - I also bought your course which is really awesome :) I wanted to ask you though if there is a possibility shift the camera higher? I tried everything already which is why I am highly confused. Or do I have to make a seperate Blueprint if I want to do it more customised? I will definitely try this out for my current 2D Project :)

  • @CobraCode
    @CobraCode3 күн бұрын

    Thank you :) You'll have to adjust the position of the background layers slightly if you don't want them to look weird with a higher camera. You could also take things a step further and introduce parallax scrolling on the Z axis as well. This is a nice blog post explaining it www.nexatli.com/blog/parallax-backgrounds-for-paper2d

  • @cindyn4403
    @cindyn440320 сағат бұрын

    @@CobraCode Hello! Thanks for the fast answer :) I also wanted to ask about the Character camera. Like We use the orthohgraphic camera, but I cannot position the camera of the Character higher? Like the only way I can change how far away the camera is, is with the Orthowidth. But I don't want to Zoom in more, I just want to put the camera a little bit more up. Is there an option for that or do I have to make a custom Blueprint for this?

  • @coinopanimator
    @coinopanimator3 күн бұрын

    The only problem for me is the shear size of Unreal and how demanding it is. If there was a 2d or slim version that could run on a machine that unity tmor godot can.

  • @CobraCode
    @CobraCode3 күн бұрын

    Would be great to have that, yeah. There are actually a lot of settings you can tweak to make Unreal run smoother on low end devices and a game jams I did provided a 'slim' template. Also make sure that you deactivate linux, android, ios support and so on on your installed UE version. That clears up around 40 GB.

  • @LifeRhymeVevo
    @LifeRhymeVevo3 күн бұрын

    So i recently started your first course, I am unsure if this is included in your course but you should make a whole playlist on youtube for these tutorials that aren't in the course. That way newbies like me know what else to learn or have easier access to learn the extra stuff through the playlist.

  • @CobraCode
    @CobraCode3 күн бұрын

    Thanks, that's a good suggestion. Could put it as a note after the last video.

  • @bexplosion
    @bexplosion4 күн бұрын

    No build-in parallax scrolling is another sign that Epic has abandoned 2D.

  • @CobraCode
    @CobraCode3 күн бұрын

    Built-in parallax scrolling is not a common thing. Unity doesn't have it either. Godot just got it very recently. If you want to point fingers at something, point at the tile map editor that still says 'Beta Preview'

  • @TheTrueFriend.
    @TheTrueFriend.4 күн бұрын

    thank you so much , as always you are amazing.

  • @CobraCode
    @CobraCode4 күн бұрын

    Thank you :)

  • @suizenjiful
    @suizenjiful4 күн бұрын

    すばらしい。Udemyの講座も凄いわかりやすく役に立ってます。

  • @CobraCode
    @CobraCode4 күн бұрын

    ありがとうございます :)

  • @PonyProductionsVII
    @PonyProductionsVII4 күн бұрын

    Awesome tutorial like all your videdos and courses. How do you think is the best way to expand this to different rooms that have different sprites?

  • @CobraCode
    @CobraCode4 күн бұрын

    Thank you :D If you want to extensively use this I'd probably try to make it a bit more generic and instead of doing things directly inside of the character create a separate child actor with the camera and background layers. Would then probably set up some logic in there so I only have to select which sprites to use and automatically spawn the sprite components on BeginPlay. Then you could package that up as a plugin and reuse it throughout all of your projects!

  • @PoisonClanTechniques
    @PoisonClanTechniques4 күн бұрын

    Thank you for creating this. I have been trying to create a 2D parallax for my scroller for weeks 😂 This is exactly what I wanted to achieve!

  • @CobraCode
    @CobraCode4 күн бұрын

    Awesome :D Good timing!

  • @PoisonClanTechniques
    @PoisonClanTechniques4 күн бұрын

    Could you at some point show the process to take a 2D character illustration and create a sprite sheet that can be imported to Unreal Engine? I have been tinkering with this, but your tutorials for Unreal are sooo good! 😆

  • @CobraCode
    @CobraCode3 күн бұрын

    @@PoisonClanTechniques Thank you :) I think this is pretty close to what you're looking for. kzread.info/dash/bejne/h52Bt7afYs6pg9Y.html

  • @PoisonClanTechniques
    @PoisonClanTechniques3 күн бұрын

    Wow…amazing! Thank you for this, I’m glad I subscribed 🎉

  • @CobraCode
    @CobraCode4 күн бұрын

    Get my 12 hour course on how to make 2D games with Unreal Engine: tinyurl.com/Ultimate2D Download the free starter project to code along: www.patreon.com/posts/starter-project-105973970

  • @Alohamora_13
    @Alohamora_134 күн бұрын

    Definitely recommended!! One of the best courses that I have studied for UE and 2D games!

  • @Enkeria
    @EnkeriaКүн бұрын

    Bought it. Not sure how to actually get it, I just get a loop on their site and when I click on what I have bought, it takes me to the page where to buy it. Uhm. Edit: Fixed it. I had to buy it again. Some how it got refunded same second I bought it some how. But now its there, I had to buy it full price, which is fine. Its worth it. Thanks.

  • @Alohamora_13
    @Alohamora_134 күн бұрын

    Thanks a lot Stephen for your brilliant videos and tuts! I'm learning so much from your videos! Would there be a way to package this Parallax scrolling setup for re-use in multyiple projects similar to Godot where we just have a ParallaxBG and Parallax layer nodes available?

  • @CobraCode
    @CobraCode4 күн бұрын

    Thanks! Yeah you could certainly make this a bit more generic and package it up as a plugin you can reuse throughout all of your projects. This video covers how to make BP Plugins. kzread.info/dash/bejne/aH1-yq5wocmsic4.html

  • @Alohamora_13
    @Alohamora_134 күн бұрын

    @@CobraCode Amazing!!! thanks a lot!

  • @medieval.software
    @medieval.software4 күн бұрын

    Instead of dividing by a static number like 20k in this case, could you divide by the -Y position multiplied by some constant? That way you could adjust the parallax speed in the viewport by moving the sprite farther away.

  • @CobraCode
    @CobraCode4 күн бұрын

    Yeah something like that should also work. Actually Brackeys did something similar to that in his Unity Parallax video.

  • @kamilantosiewicz4977
    @kamilantosiewicz49774 күн бұрын

    Great video!