How to use SPRITE SHEETS in Unreal Engine 5 - Paper 2D Basics
Get Early Access to all 10 episodes on Patreon:
/ cobracode
Get my 12 hour course on how to make 2D games with Unreal Engine:
tinyurl.com/Ultimate2D
Check out the Paper 2D Basics Playlist:
• Paper 2D Basics
In this episode of Paper 2D Basics we'll have a look at how to import sprite sheets, extract sprites from them and create flipbooks all using Paper 2D in Unreal Engine 5.
If you enjoyed this video, please subscribe: / @cobracode
● Twitter: / cobracodedev
● Discord: / discord
Timecodes:
0:00 Intro
0:29 How to import and extract sprite sheets
3:45 How to create Flipbooks
4:30 Advanced tips
Mentioned videos:
• Game Feel: Why Your De...
• How to MAKE A FLIPBOOK
• Project: I.S.S devlog #01
Used Assets:
Free Warrior Animation Set - clembod.itch.io/warrior-free-...
Small 8-directional Characters - axulart.itch.io/small-8-direc...
Cultist Enemy pack (paid) - clembod.itch.io/cultist-enemy...
🎵 Music By:
no one's perfect - Measure's of Time
Provided by Lofi Records
Watch: • no one's perfect - Mea...
Icons made by Freepik (www.freepik.com) from Flaticon (www.flaticon.com/)
#cobracode #gamedev #unrealengine #ue5
Пікірлер: 32
Get Early Access to all 10 episodes on Patreon: www.patreon.com/CobraCode Check out the Paper 2D Basics Playlist: kzread.info/head/PLEHVxFO1I6ekaCoG3JBR4m3qbhOpPO7V8
Love your content!
Amazing, The Patreon is worth it!
@CobraCode
11 ай бұрын
Thank you :)
Super useful
Dude thanks a lot .
Nice!
Is there a way to separate pixels on a sprite? If I wanted to change the armor for example when the character equips new armor,. is there a way to target that specific pixel group for the chest to change the color or shape without importing a completely new sprite sheet?
You're amazing, I've learned all I know from your tutorials. I'm working on a 2d game, and trying to create a ladder system. but I'm stuck, there're no tutorials for that. Hope you can help me in that!!!!!!!
@CobraCode
11 ай бұрын
Thank you. A Ladder System is something I do wanna cover at some point, but I'm afraid it's not high on my priority list and is pretty far off in the future.
Great content as always! :D Just a question, when you right click the texture file and "apply paper2D texture and settings" you do this because the pixel art and the "blur" that the engine applies in the texture? Games like Hollow Knight, that is not pixel art, would have to do the same? Or they can work with the already imported texture? Thanks! :D
@CobraCode
11 ай бұрын
Thank you :) Yeah the main reason is that the pixel art gets blurry, but I believe there are also other settings it changes to make things more optimized. I haven't really done much 2D with non-pixel art assets so far, so I'm not quite sure if applying that would make the art look bad. You can also just apply paper 2D texture settings and then go into the texture settings and only change the texture filtering to bilinear or trilinear if that makes your hand drawn sprites look better.
How does physics work in 2D games in Unreal Engine 5? How can the player push a box from one side to the other?
@CobraCode
11 ай бұрын
Unreal engine doesn't have any 'real' 2D physics. AFAIK it's something they were working on, but it was abandoned during development. You are basically just using 3D collisions, however there is a way to constrain the physics on certain planes and faking 2D collisions.
@zestran1284
11 ай бұрын
@@CobraCodeIt would be really cool to have a video showing how this works in practice. It's very difficult to find this type of content for 2D games in Unreal Engine
@CobraCode
11 ай бұрын
@@zestran1284 Thanks for the suggestion. Yeah making a video about 2D physics is on my todo list. Wanna make a small game like crazy machines to show that off. Still not that high on my priority list though, so gonna be a while. Have too many video ideas xD
What if you get sprite files as separate png images?
*2 quick questions..* 1. Can you animate sprites in a UI Widget? 2. Is there way to make large sprite sheet atlas for high resolution characters (1024x1024 ) 60 image frames?
@CobraCode
5 ай бұрын
1. Not by default but there are a couple of plugins to enable that github.com/HoussineMehnik/UE4-PaperFlipbookWidgetPlugin 2. I believe there is a limit for texture sizes you can import and I hit that once before with 4k sprites. I had to split up the animations into different sheets.
How do you use them in animation sequencer? The BP don’t work on the track
@CobraCode
23 күн бұрын
Hey, it should work in sequencer. Just did it a while ago x.com/CobraCodeDev/status/1796149558419808429
@HighlightRiel
23 күн бұрын
@@CobraCode omg thank you so much! So the blueprint is the same as making a game right? And I can just add different animations on the same BP on the animation drop/or add list?
@CobraCode
23 күн бұрын
@@HighlightRiel Yeah same BP as making the game. I think you can seamlessly switch between sequencer and controlling the character, so the positions match up.
I'm using sprites i've extracted from a pixel art database and they are a nightmare to import lol. They aren't laid out in any sort of grid just positioned next to each other so I have to manually find the right position to put them in so that they aren't bouncing all over the place.
@CobraCode
11 ай бұрын
Yeah I know that feel... I really sucks. In that case I take them into aseprite and fix them up there to lay them out in a proper grid. Takes a lot of time though.
@Bloodyshinta1
11 ай бұрын
@@CobraCode The character in question has like 100 frames of animation so I'm not even sure how to best go about it. Would putting them all on a single sprite sheet be best, or splitting the sprite sheets up by states like standing crouching jumping climbing hanging .ect
@CobraCode
11 ай бұрын
@@Bloodyshinta1 I'm not an expert on this, but I don't think there would be any benefit of splitting the sprite sheets. Your character will always need to be ready to go into crouching, jumping etc, so all frames will need to be loaded in anyway, so in that case having them in one sprite sheet should be better for performance.
@Bloodyshinta1
11 ай бұрын
@@CobraCode good point, so I guess what I'll do is find the maximum dimensions for the tallest and widest sprites, make the cells based on those and then manually check each sprite to make sure its centered and they aren't off. gonna take a while to do that lmao.
Just a little constructive feedback. It feels like you keep releasing the same information since December just worded differently. I hope to see more variety in content that's not only the basic steps that's been repeated for 7 months. I really do love your work and hyped to see other people using paper2d/zd. Keep it up :)
@CobraCode
11 ай бұрын
Hey thanks for the feedback! Yeah I also had that feeling to some degree. But I do get a lot of comments of people asking for a full series since everything else was so disjointed and it was hard to know how to actually learn paper 2D step by step, so I felt it was necessary to create this series and once and for all alleviate all confusion and have a definitive starting point where I can go into a lot more detail. But yeah you're right there is a lot of repetition and I hope I can tackle some new things very soon. Another reason is that I've been working on the Udemy Course all the time behind the scenes... that one is gonna have some very new and exciting stuff and I also wanna bring some of the things I learned back to KZread later. However that took up a lot of my time and I just couldn't put any time into doing research on new things to teach and had to kinda stick to the things I already knew. Anyway thanks for the great feedback :)
@snowshinobi1142
11 ай бұрын
@@CobraCode Of course! I get you completely and seems like a smart choice. i am excited to see what you release!
How to make a 3rd person platformer that plays like only up but better