Тёмный

HOW TO MAKE SPRITE SHEETS FOR YOUR UNITY GAME - TUTORIAL 

Blackthornprod
Подписаться 549 тыс.
Просмотров 853 тыс.
50% 1

Игры

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 432   
@xbun_gamin
@xbun_gamin 4 года назад
Tip: if your sprite got some color changes, just change the compression to none
@marcolo360
@marcolo360 4 года назад
Thank you so much. God bless you for mentioning that. I literally spent 30 mins trying to fix that.
@pedror1439
@pedror1439 4 года назад
THANK YOU SO SO SO MUCH, this hold me back for making pixel art, thank you
@eduardoozaeta6662
@eduardoozaeta6662 4 года назад
Can you explain me how to do that? please.
@xbun_gamin
@xbun_gamin 4 года назад
@@eduardoozaeta6662 click on the sprite sheet in unity and look at the right side to find the compression settings
@eduardoozaeta6662
@eduardoozaeta6662 4 года назад
Xbun EX Thanks man!
@philosos4566
@philosos4566 4 года назад
You know... photoshop is quite expensive
@KingMangosteen
@KingMangosteen 2 месяца назад
i figured it out with just adobe fresco
@KingMangosteen
@KingMangosteen 2 месяца назад
oh nvm
@pET3q
@pET3q 5 лет назад
Just a quick Photoshop tip: Keep an additional visible background layer with a layer mask the same size as the source sprite image. Drag both the single sprite frame layer and that visible 'masked' background layer over to the new sprite sheet PSD. Then you can move these two layers together to snap them quickly and perfectly on the sprite frame, in the correct place. After this, the masked background layer can be deleted as it's only needed for positioning on your new sprite sheet image. Hope that saves people some time and faffing about!
@capp0917
@capp0917 3 года назад
I like you funny words magic man
@capp0917
@capp0917 3 года назад
But seriously what does any of that mean
@randomchild4223
@randomchild4223 2 года назад
Keep a visible background layer behind each frame of animation so that you know where the sprite goes in the frame. Then use that to place your sprites and delete the background when you're done.
@radpunch
@radpunch 6 лет назад
Just a little time saver, instead of using the lasso tool to select the whole canvas like at 2:49 you can just press control + A to do the same. You can deselect it using Control + D.
@rambosweat
@rambosweat 4 года назад
you can also cmd/ctrl-click the thumbnail of your layer in the Layers panel to automatically select everything in that layer.
@streethound
@streethound 3 года назад
...and then, hit Cntl+Shift+C to copy ALL visible layers. This will include the background, which can be deleted easily later, but will give you a framed image. With that, it's much easier to place it in your long sprite sheet accurately. It will just snap into place! This will reduce any side wobbling but in some cases require you to delete the background. In that case, make your background some crazy color like a green screen and it's easy to pull out.
@afroyak480
@afroyak480 5 лет назад
Quick Tip: If you're making a new sprite sheet, and need to multiply the width by a factor you can just type in * by the number and Photoshop will do it, no need for a calculator. e.g. width: 64*6 (Photoshop will automatically calculate it)
@RonnetClaw
@RonnetClaw 4 года назад
Thank you, sir.
@Real_Genji
@Real_Genji 4 года назад
It doesnt
@moscaxXx21
@moscaxXx21 4 года назад
are you god?
@joaquimschaeverbeke9468
@joaquimschaeverbeke9468 3 года назад
same in unity
@chucks343
@chucks343 2 года назад
Chuck
@andremoraes7067
@andremoraes7067 5 лет назад
i love your vids, thanks for sharing with us all of your knolege, you are awesome, one like isn't enough to say "Thank you!"
@ahmedmohamed-cd7xf
@ahmedmohamed-cd7xf 4 года назад
You speak like morgz
@mythicaldriftz3357
@mythicaldriftz3357 3 года назад
Whaaaaat???!!!!!!
@FinnTran
@FinnTran 4 года назад
You can also download a script online to turn your animation into a sprite sheet, which would take seconds and you won't have to manually adjust it.
@shockarock
@shockarock 3 года назад
What should I be looking for specifically to do this?
@narimansaad4038
@narimansaad4038 5 лет назад
Okay, I am really happy. I just need some imagination to make a proper sprite xD
@paulushcgcj
@paulushcgcj 6 лет назад
You Rock :) Keep the awesome work you'r doing
@krishnaearth1624
@krishnaearth1624 4 года назад
*you're
@derpydino35
@derpydino35 3 года назад
@@UberDiverOW omg
@derpydino35
@derpydino35 3 года назад
@@krishnaearth1624 don't be grammar nazis smh
@zielonamrowka493
@zielonamrowka493 5 лет назад
why can't I drag and drop my png sprites on the 2D scene like you? :/
@zorah1112
@zorah1112 4 года назад
Yeah I have thr same problem
@jaredjones6570
@jaredjones6570 2 года назад
I suggest duplicating the layers to the new psd. That way, all the layers will appear on top of one another and then you can change the x value to (n-1)*width, where n is the layer number from the original animation.
@EnderSwordGaming
@EnderSwordGaming 3 года назад
for some reason the sprite slicer thiny is gray and i cnat do anythign with it tis wired but otehr than that pog tutoral
@mrYoshihiro
@mrYoshihiro 5 лет назад
Thank you for the video, but i still have a few questions. I heard that you need to make ALL images as POT resolution: 1) How i should optimize big images for background. I am making the game for pc. With resolution 1080p. And i have a few background images 1920x1080. Do i need to render it with 2048x2048 and then cut 1920x1080 with Sprite editor ? 2) Do i need to use tga for big images 1920x1080 or i can stick to jpg ? 3) What if i made spritesheet in POT and sprites inside are not POT ? 4) What if i made both spritesheet and sprites inside not POT ? 5) What if i have lots of small images 28x26 and i need them to be exact 28x26 does it make sense to redraw all of them to 32x32 and then cut them with sprite editor or just picking 32 as max size is enough. 6) What if i have few images of cursor type. Sprite editor doesnt work for them. But i need them less then 32. Does it affect optimization on any way if my actual cursors 24x28 with 32 as max size ? 7) Do i need to try to place as much sprites as possible to one sheet or i can use as much number of sheets as i want? p.s. sorry that is my best english
@nullptryt
@nullptryt 4 года назад
This is exactly what I was looking for. Well done, man. Thank you so much!!
@dreamfractures
@dreamfractures 6 лет назад
Thanks for uploading! I learned some new approaches to organizing spritesheets, best of luck in your projects!
@3zk1i_93
@3zk1i_93 6 лет назад
How do I make them play when running/ jumping? Can you make it like a follow up to the triple jump tutorial!
@TandemEncounter
@TandemEncounter 4 года назад
Just in case this helps anyone, I found this guy's script which automatically creates a sheet from your frame animation. You might just want to crop the resulting sheet to the right dimensions but it's a lot easier than manually doing it all! www.johnwordsworth.com/projects/photoshop-sprite-sheet-generator-script/
@falperio05
@falperio05 Год назад
6:38 i dont have a "samples" opcion to change the speed, help, is there a way to fix it? :(
@EMoney513
@EMoney513 6 лет назад
rewatching is hard with all the "pop" noises >.
@angelicus-9307
@angelicus-9307 5 лет назад
So, any tutorial on how to make a "nude" sprite, pick up items and equip them, and in doing so changing how the sprite looks? Or do i need to make sprites for every variable of equipment (that sounds like a lot of work :P)
@wizdrodev
@wizdrodev 5 лет назад
When I import my animation the colors are all messed compared to when they were in photoshop. Even though it looks like I have all the same settings can anyone help me?
@mrrobot6328
@mrrobot6328 5 лет назад
Yes me too
@mrrobot6328
@mrrobot6328 5 лет назад
answers.unity.com/questions/890245/color-goes-all-weird-after-i-import-an-image.html this helped me
@wizdrodev
@wizdrodev 5 лет назад
Thanks
@xt1988
@xt1988 4 года назад
Forcing your self while talking is really annoying, don't take people for idiots, just an advice
@narimansaad4038
@narimansaad4038 5 лет назад
I somehow succeeded
@envar1
@envar1 3 года назад
Gotta love how he assumes I have a 600$ paint software, I mean, I do but most people don't.
@sadr4846
@sadr4846 3 года назад
I know because being one of thoes people sucks
@sadr4846
@sadr4846 3 года назад
i hate how expensive adobe is
@DARK_AMBIGUOUS
@DARK_AMBIGUOUS 3 года назад
Just pirate it for free
@kevintran94
@kevintran94 4 года назад
Whenever I import the sprite sheet to unity, it is always too small. Can someone please help. My image is 8x8.
@torelifts
@torelifts 4 года назад
Just scale it up
@HelloWorld-ud6so
@HelloWorld-ud6so 4 года назад
maybe it the pixel per unit... by default its 100 witch is too big... put 8 instead
@raulrubencolunga5284
@raulrubencolunga5284 4 года назад
It happened to me as well, I just scaled it up in Unity Scene view, pressing T (Rect Tool)
@HappyGiftGames
@HappyGiftGames 4 года назад
Very nice, simple and authentic way of teaching... Congratulations.... Keep it. Please share bolt tutorials.
@fourty2223
@fourty2223 6 лет назад
Hey Noah , could you do another episode about sticking objects to the animation , for instance , put a sword in the hand of my character and made it track the hand.
@Blackthornprod
@Blackthornprod 6 лет назад
That could be really interesting, I'll definitely consider doing so :) !
@blackheartgaming6121
@blackheartgaming6121 3 года назад
The second frame looks like a pissed off zombie
@kirikiriowambe9875
@kirikiriowambe9875 5 лет назад
Instead of using photoshop to create the sprite sheet, use GlueIT instead. Then you won't have to manually move the sprite to position. GlueIT creates a single image of your images and GlueIT is free.
@lastotter7282
@lastotter7282 5 лет назад
I did the point no blur thing and put compression to none, but my character is still blurry; and when I use the pixel perfect camera the animation bugs Please help
@zeolowenhielm8663
@zeolowenhielm8663 4 года назад
A bit late answer but your size is probably bigger than 2048 pixels in width. Try setting it to 4096 or 8192 in unity
@lastotter7282
@lastotter7282 4 года назад
Zeo Löwenhielm might’ve been nearly a year but thank you for the help anyway🙇🏻‍♂️
@Elphax
@Elphax 5 лет назад
my png files have transparent backround, but in unity its displayed red and i cant drag then into scene. please help
@moimoi9995
@moimoi9995 4 года назад
I'm not sure about that, but try enabling the "Alpha is transparent" checkbox in your sprite import settings. I know I'm 11 months late
@MamaMia84oo7
@MamaMia84oo7 Год назад
I just realized I don’t have a problem coding my game or using photo shop to create sheets, I have a problem being artistic and drawing my sprites lol. I might need to hire an artist. You just made me realize this. Thanks I guess.
@EweuJK
@EweuJK Год назад
I have a problem, Everytime I import it to unity the background is white and it doesnt show this arrow thingy to the right, can someone help me?
@EweuJK
@EweuJK Год назад
I finaly fixed it with the help of chatgpt, but thanks for reading this comment
@mykytabielokon
@mykytabielokon 5 лет назад
Thank you. Your pixel art videos are extremely helpful as I've never had dealt with Photoshop before and I want to create a game. I wish you the best of luck on your future projects.
@Conv1cti0n
@Conv1cti0n 4 года назад
I can probably achieve this with procreate as well! this was mad helpful! thank you
@blackheartgaming6121
@blackheartgaming6121 3 года назад
Saw your tutorial on udemy
@IspyrGameDev
@IspyrGameDev 8 месяцев назад
Old tut but this is where I am currently, missed one thing, you have to change you imported sprites to Texture Type = Sprite (2D and UI) first in order to place it in the scene. Just for any noobs in this area like myself watching. :)
@Robsfund
@Robsfund 4 года назад
Should you put all the sprites for a single game object in a single spritesheet? Or is it okay to spread complex animations / multiple animations across multiple spritesheets?
@Kisuji_
@Kisuji_ 3 года назад
dude you really make the best unity tutorials out there, they're so helpful for a beginner like me
@milesromanus7041
@milesromanus7041 4 года назад
If I have a laser (really wide and not tall) can I just put the sprites vertically instead of horisontally?
@ezrak5707
@ezrak5707 5 лет назад
YOU ARE AWESOME!!I MADE A FLYING GREEN EYE AND IT LOOKS SO GOOD(if you dont count my crappy drawing)
@minty5259
@minty5259 5 лет назад
Is there any other website that is free to make sprite sheets and import to unity
@toroidgames1067
@toroidgames1067 5 лет назад
www.piskelapp.com
@toroidgames1067
@toroidgames1067 5 лет назад
try this - www.piskelapp.com
@toroidgames1067
@toroidgames1067 5 лет назад
Search for piskel
@fvrryna
@fvrryna 3 года назад
i cant even afford photoshop :(
@tapedtothewall
@tapedtothewall 6 лет назад
van you have a sprite in a 3d world ?
@BlueberryMauro
@BlueberryMauro 6 лет назад
ok, who is putting dislike in all your videos 😡, all are amazing and you explain clearly and correctly 💯👍, I love your videos❤️.
@200alex200
@200alex200 3 года назад
Awesome tutorial, can you disponible the sprite sheet you have created to I use in one game, looks greater and perfect to my first game I did development?
@Omnivoid22
@Omnivoid22 Год назад
What about huge spritesheets like if importing a character? Can i put the entire sprite sheet into unity. Or should i edit and align them in PS. Cuz I dont think i can align sprites in unity. Ive tried importing and when i do the animation its all off and jittery and stuff.
@untemi4045
@untemi4045 3 года назад
finally,I find you
@TheDarkOLeo
@TheDarkOLeo 5 лет назад
instead of eyeballing the positions of each frame in the sprite sheet, you could also place a "marker pixel" on each corner of every frame and then erase them in the sprite sheet
@de_soot
@de_soot 4 года назад
If you don't have Photoshop, you can use Photopea, which is an online photo editor like Photoshop.
@jorgeartaza9030
@jorgeartaza9030 5 лет назад
Great video I was able to follow up to the part where you need to import to Unity. Except that I get the white background I made sure to hide it but in unity it still appears as if it had the white background. Can you help, please? thank you
@all12jus
@all12jus 5 лет назад
You could make a Photoshop automation script to do this.
@juliocesaroliveira2817
@juliocesaroliveira2817 5 лет назад
www.johnwordsworth.com/projects/photoshop-sprite-sheet-generator-script/
@Viia_lurks
@Viia_lurks 5 лет назад
thanks its great
@miymoto128
@miymoto128 4 года назад
My character is idle for the animation but it keep moving right a little any help!?
@rutgervd
@rutgervd 3 года назад
The whole photoshop part is unnecessary, you can just use a script, faster and easier. Search the web for "CREATE HTML5 ANIMATION SPRITE SHEET IN PHOTOSHOP".
@Rauler_
@Rauler_ 4 года назад
Do i have to export it in .png or can i just do it on .psd?
@Kaikaku
@Kaikaku 6 лет назад
Thanks for the video. I guess you could draw some temporary helper lines at the bottom and on one side of each sprite. This should make the creation of the sprite sheet easier.
@geometricgamer7
@geometricgamer7 3 года назад
I sliced them but when I hit apply it deletes the sprites and give a sprite with no animation
@uum1626
@uum1626 5 лет назад
hi noah. thanks for your vids... this help me so much... but i'm still confuse about how i can divide the animation? i have idle and movement animation on 1 sheet... can you help me with that? thanks again...
@rafarodriguez4765
@rafarodriguez4765 7 месяцев назад
I think it is a very overcomplicated process...apart from tedious There are better and faster ways of creating sprite sheets and maybe u should use another program for that thanks anyway
@CottidaeSEA
@CottidaeSEA 4 года назад
Okay... but the Photoshop part is really not how I'd do it. Needing to worry that much about where you've placed the sprites is just painful. There are much better ways of doing it.
@GarbageBuildsStuff
@GarbageBuildsStuff 4 года назад
Hey Blackthornprod. Is your name from the stormlight chronicles book series?
@AndreiCotovanu
@AndreiCotovanu 5 лет назад
sorry to say this but your video editing style give me anxiety, like the pop song when you click something and typical audiojungle background song
@ykyjohn
@ykyjohn 5 месяцев назад
why those powerful tools does not offer a proper way to make sprite sheets? it is much easier to create whatever in your favorite image editor then load the images into libresprite to easily make the sprite sheet. alternatively you could use krita + addon that add the sprit sheet manager functionality.
4 года назад
Neden böyle konuşuyon kardeş
@guntherthequizmaster9515
@guntherthequizmaster9515 3 года назад
Is this program cost money 💵 or is it free❓
@ArtParlor
@ArtParlor 3 года назад
Why do ALL THESE STEPS to make a sprite sheet!?!? THere's websites that can automatically do it for you!!
@yahyakhan5773
@yahyakhan5773 3 месяца назад
Name?
@daveharkin4731
@daveharkin4731 5 лет назад
I'm not trying to troll you but could you please listen to how your speaking and ask yourself is this normal. Please try to speak naturally, it makes it a lot easier to listen to
@susannehedlund6306
@susannehedlund6306 5 лет назад
Dave Harkin I disagree. I think his voice is very clear, to the point, and he makes it fun to listen to and follow the tutorials.
@TheCivildecay
@TheCivildecay 5 лет назад
If you download the following script for photoshop it will make a spritestrip/sheet out of your animation layers: gist.github.com/jessefreeman/870172
@cg56578
@cg56578 6 лет назад
why not exporting individual sprites before importing to unity lmao
@Bonnie-Gamer
@Bonnie-Gamer 6 лет назад
Blackthorn plz help me my pc is 32 bits and don't have a version in unity for pc 32 have how to help me?
@dennisshigeno2875
@dennisshigeno2875 2 года назад
Why do my sprite sheets get white when I put them into unity? Works fine if i just make them into PNG and put them in, but maybe that messes up the quality a bit...
@techhead9969
@techhead9969 4 года назад
ik im late but great tutorial
@sterling709
@sterling709 3 года назад
after drawing the picture in photoshop when we save the file.. it is in PNG correct? cos it didnt mention and your video show it is still at PSD
@blossy8788
@blossy8788 5 лет назад
This is very helpful. Thank you
@OfficialGhosttt
@OfficialGhosttt Год назад
When you saved the sprite sheet in photo shop. Did you save it as a PNG or a PSD file? Around 4:45
@metalbing2261
@metalbing2261 4 года назад
I know it's been a while since this video came out but I have a problem when I put my sprite it looks half transparent and its color disappears around your eyes please help me
@kristjantiido3174
@kristjantiido3174 4 года назад
Why tf are all these Unity "apply" buttons hidden always somewhere lol
@faheemibrahim1192
@faheemibrahim1192 4 года назад
Does anyone know if I can import from Procreate? Does it import with layer?
@calebweigt2877
@calebweigt2877 3 года назад
i’m lost at like 4:50, i think something is cut because it doesn’t show him saving it, and you can’t directly save it to unity
@alestrazza1671
@alestrazza1671 2 года назад
bad explanation,jumped to fast through all
@charliegaming766
@charliegaming766 Год назад
How should i save ? As png?
@tomcruise1387
@tomcruise1387 4 года назад
you really made your character jump into an animation ? How are you suppose to detect an ennemy collision then ?
@namikpashastudio
@namikpashastudio 3 года назад
nice tutorial by the way.im new here.
@dizzyplatypus9646
@dizzyplatypus9646 5 лет назад
I know this is probably the software but i was wondering anyway. So, unfortunately I cannot use Photoshop and instead am using a website called Piskel. when exporting an animation it auto generates the sprite sheet. have of the time a pink box will surround the sprite but even when it works there will be a noticeable amount of corrupted pixels during the animation.
@RecOgMission
@RecOgMission Год назад
Reviving for anyone coming here more recently... Check your compression setting - set it to off. I had a similar case of pixels bothering me, and it was because of sprite compression.
@acefi-3913
@acefi-3913 4 года назад
but what about the characters pictures quality? they will be small in the game
@breadcontreras9035
@breadcontreras9035 3 года назад
how do you activate the animation with script? and also not make it play immediately.
@red_revenant770
@red_revenant770 3 года назад
Photo shop is the best Sprite creator, but how can I make sprites at illustrator?
@saif0316
@saif0316 3 года назад
how do you make the background transparent?
@veterusv.4980
@veterusv.4980 3 года назад
could i do that boarder thing in a program that doesnt cost money?
@alejandroperez4664
@alejandroperez4664 4 года назад
It's interesting but if I don't want to lose quality I will need to use Illustrator to create the sheet!
@zakethefake2666
@zakethefake2666 4 года назад
You should select the sheet in Unity and change the Filter Mode of the spritesheet to "Point (no filter)" from the Inspector. That is how low-res sprites can keep their quality.
@wearwolf4202
@wearwolf4202 4 года назад
You able to do all this in gimp? I dont have the money for photoshop
@moiseicho5133
@moiseicho5133 4 года назад
for me when I press ctr + c it copies the layer and it doesn't work
@KennesuBakkuro
@KennesuBakkuro 3 года назад
Can i ask what software!?
@hound2007
@hound2007 Год назад
Cool video is it possible if you could do this toutle on krita
@barrybee4610
@barrybee4610 5 лет назад
Hey i do have a question. What if this is an enemy or npc? How can you kill, bump, or interact with it? Btw you are amazing keep up the amazing work. You inspire me so much😊
@TarnkappenToast
@TarnkappenToast 5 лет назад
Well, if you want an interaction with a npc or enemie, you should program that in the game engine. So you need to learn programming. I think the best programming language for beginners is C#. I'm not sure, but i think Unity uses a sort of blueprint system that is easier to understand and don't need necessarily programming skills. :)
@toroidgames1067
@toroidgames1067 5 лет назад
In Unity, you create an empty object, then add your sprites/anim then add a 2d Collider. This is the component responsible for sending collision data to your code. You would then use a command like - void OnParticleCollision(GameObject collision) { Destroy(gameObject); } and attach this code to the object. Other commands that are used for other scenarios (The one above requires ParticleSystems for bullets). void OnCollisionEnter(Collision collision) { if (collision.gameObject.tag == "Bullet") { Instantiate(explosionPrefab,transform.position,transform.rotation); Destroy (gameObject); } } Also there is OnTriggerEnter() for triggering a result without affecting the original object. Best thing you can do is take a course on it - thats what I did.
@noblesse1211
@noblesse1211 4 года назад
Why everytime u make a new file u already have a background transparent layer?
@abucukkabucuk8651
@abucukkabucuk8651 3 года назад
clickbait thumbnail. what a suprise.
@celticsword1
@celticsword1 2 года назад
What program can I use to create a sprite video game?
@marcinziajkowski3870
@marcinziajkowski3870 3 года назад
how to slide sprite if it has rows and cols like a matrix?
Далее
How to Learn Game Art!
15:04
Просмотров 108 тыс.
How To Animate Your Game Character in Krita
14:15
Просмотров 20 тыс.
What size should your assets be? | HD 2D GAME ART
12:10
Wait, ChatGPT Can Make Animations?!
8:30
Просмотров 113 тыс.
6 DEVS Compete to Make the BEST GAME for $3,000
46:29
Просмотров 889 тыс.
How to Start Making Games with No Experience
10:55
Просмотров 72 тыс.
СНАЙПЕР В ЛЕСУ В Arena Breakout Infinite
41:35