2D Sprite Sockets in Unreal Engine 5 - Paper 2D Basics

Get my 12 hour course on how to make 2D games with Unreal Engine:
tinyurl.com/Ultimate2D
Support the channel on Patreon:
/ cobracode
Pixel Hats pack by Gisha:
gisha.itch.io/pixel-hats-pack
Official Socket Documentation:
docs.unrealengine.com/5.3/en-...
Learn how to use sprite sockets as anchors with paper 2D in Unreal Engine 5!
If you enjoyed this video, please subscribe: / @cobracode
● Twitter: / cobracodedev
● Discord: / discord
Timecodes:
0:00 Intro
0:26 Making a socket for Armor
4:03 Particle effect location through sockets
🎵 Music By:
Squeeda - Transform
Provided by Lofi Records
Watch: • squeeda - Transform 🦌 ...
Icons made by Freepik (www.freepik.com) from Flaticon (www.flaticon.com/)
#cobracode #gamedev #unrealengine #ue5

Пікірлер: 18

  • @CobraCode
    @CobraCode7 ай бұрын

    Get my 12 hour course on how to make 2D games with Unreal Engine: tinyurl.com/Ultimate2D Support the channel on Patreon: www.patreon.com/CobraCode

  • @trollgasm
    @trollgasm7 ай бұрын

    You mad lad. I was about to waste away my entire weekend doing research on how to properly combine niagara particle system with PaperZD, and you release this video. That's hilarious.

  • @brandonjacksoon
    @brandonjacksoon7 ай бұрын

    Always awesome tutorials!

  • @brandonjacksoon
    @brandonjacksoon7 ай бұрын

    Thanks mate! Another great tutorial!

  • @compatriot852
    @compatriot8527 ай бұрын

    Yet another great video.

  • @Spamkromite
    @Spamkromite7 ай бұрын

    That hat is so Layton, I love it ❤ Thanks for sharing this. I was wondering how to make the hats to attach to all the sprites without changing the sprites of the protagonist to match each of the millinery collection they can get in the game. They are only cosmetic but players like collecting hats, I know for a fact 😜

  • @baladidoggames
    @baladidoggames5 ай бұрын

    Hey there! Awesome video! I'm running into an issue with using bulk edit to modify the socket locations of multiple sprites like you did in this video. Someone on the Unreal forum suggested it might be a versioning difference. Would you mind sharing what version of UE you ran during this video? Or can you think of any other reasons why it might not be working in my project? The only difference I can think of is that my sprites are quite a bit larger than the one you used in the video. Thanks!

  • @CobraCode

    @CobraCode

    5 ай бұрын

    Hey! I've been using this method all the way from 4.27 up to 5.3 and haven't had any issues with it. I believe the name changed in 5.2 though from bulk edit via property matrix to bulk edit assets or something like that. That is quite strange, but sadly I don't really know why something like that would happen :( Sorry I can't be of much help with this one!

  • @baladidoggames

    @baladidoggames

    5 ай бұрын

    @@CobraCode Thanks! I'm on 5.1 still so I suppose that's not it. I did manage to find a workaround at least. It still lets me copy and paste the entire socket (or list of sockets) which then carries over the location. Still weird how I can't change the location directly though. I appreciate the help either way!

  • @thenumberIX
    @thenumberIX7 ай бұрын

    hey great video. can you make another video on paperzd for multidirectional enemies? Mine are moonwalking 💀

  • @CobraCode

    @CobraCode

    7 ай бұрын

    Hey, thank you. Top down and multi direction isn't my main focus right now since I'm working on action platformers and beat em ups. I do have plans to do something BIG though with that and make a full 20~50 hour course on how to make a JRPG in UE5 in the Octopath taveler style... it's still gonna be a while though :/

  • @user-iy9gq4tj4k
    @user-iy9gq4tj4k6 ай бұрын

    Can you make a tutorial for parallax with an orthographic camera?

  • @CobraCode

    @CobraCode

    6 ай бұрын

    Thanks for the suggestion. It's on the TODO list... but so are hundreds of other videos ^^

  • @franciscomunoz2944
    @franciscomunoz29447 ай бұрын

    Hey, great tutorial, I got a question, how would you do a run to stop and then, the idle animation in PaperZD?

  • @CobraCode

    @CobraCode

    7 ай бұрын

    With PaperZD if you click on a transitional condition you can put in a transitional animation! This might work for your case.

  • @PsychoticaYT
    @PsychoticaYT7 ай бұрын

    When I add a ParticlePos socket to the impact frame of the sprite, it adds a ParticlePos to every other frame of my attack animation as well. Then itll only take the socket pos of the first frame and emit it there instead of the intended frame. Edit: Interestingly enough, when i mash the button quickly, the particles emits from the second frame, but the bullet wont appear from the socket at all

  • @CobraCode

    @CobraCode

    7 ай бұрын

    Hey, the ParticlePos being added to all other frames of the flipbook is the desired behavior and shouldn't have a negative impact. I'm still not sure about the specifics, but yeah sadly sprite sockets can be a bit buggy sometimes. I had cases where everything works perfectly fine, but other cases where I had issues like things being 1 frame early or late.

  • @user-ge2wn1wh2w
    @user-ge2wn1wh2w6 ай бұрын

    In UE5.3, when setting the "Parent Socket" of the Hat to "HatSocket," the Hat becomes invisible. However, when setting the "Parent Socket" to "None," the Hat becomes visible again. Is this a bug in UE, or is there an issue with my settings? I have confirmed that in the Sprite settings, the created Socket is indeed named "HatSocket."