Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

DirePixel

81
Posts
87
Followers
18
Following
A member registered Sep 02, 2018 · View creator page →

Creator of

Recent community posts

Good to know, I'll keep that in mind. Thanks!

(2 edits)

So sprite importer isn't intended to stay for the duration of your project, it is intended for project startup only. Once you start working with the files you should remove it. The problem you're experiencing in your other post is that sprite importer is reimporting all those sprites everytime you mess with them. So before you mess with them, you're supposed to install sprite importer, then setup your folders how you want them. Like I have a spritesheets folder and every sprite in that folder is sliced 16x16, where my characters folder is sliced for whatever the dimensions of the characters are.  I have separate sprite importer settings for each folder. Then when you've finished adding all your sprites, you remove the sprite importer to avoid having the other issue you're having.

The reason for this performance issue is due to a failure on the part of Unity's designers. It the cost of having automatic sprite configuration on import. There is a faster method but it requires that you slice them individually one by one. It's almost as involved as just doing it manually yourself the way Unity intended.

Also I am curious why it took an hour to slice all your sprites. Are you doing this on a PC from 1995 lol. It takes my computer 16 seconds to slice every sprite file from Seliel the Shaper's entire collection.

Are you using the sprite importer asset?

(1 edit)

PaperDoll works with any 2D scenario where you are working with multiple paper doll layers but also works for changing our like sprites. So let's say for example, you were making a shmup and you had five Sprite sheets of different ships but they all had the same number of sprites for their animations. You could then make one set of animations rather than five sets of animations and just use paper doll to switch between all the different sets. Also, there is a video that shows how to set up paper doll if that is easier.


Please let me know if you continue to have issues in which case we could do a remote session to help you get it set up.

Yeah I am working to release the Farmer Edition mana seed shaders for Unity. It will be a separate product though. But yes, in theory you can use these shaders for that as well, as they are simple color replacement shaders. You would just have to go through and create materials for every skin color, hair color, eye color, clothing, etc. from the color palette in Seliel's farmer asset to have every possible combination. Which of course is a ridiculous amount of very boring work lol

(1 edit)

Cannot seem to get this to work on Unity 6. Imported the project files into my project and opened the demo scene. Planet image does not appear in the editor. When viewing the Images representing the planets in the Canvas they are all empty, I suspect this is why.


*EDIT* Nevermind, apparently you have to use the URP renderer it comes with rather than your own URP renderer.

Hi, I promise they're coming! That project is nearing completion but I've been contracted to work on a AAA project that is taking up quite a bit of my time recently. But I'd say it is 90% done, so very soon is all I can say right now!

Oh good! I am so glad to hear that solution worked for you. As I said before I believe addressables would 100% resolve your problems then I think for your project and get you away from the resources folder. It will also reduce the overhead and increase performance for your players ;)

(2 edits)

ĪWell, what you might have is another class, such as your character class unpack the addressable and then pass it to the paper doll using the set texture method. Or build a script whose sole job it is to unpack these and send it to paper doll then just attach that script to everything that needs it. Email address is bluemanafox@gmail.com, would love to see your final solution to the problem!

P.S. not sure if we're talking about the same thing or not. Addressables doesn't use a resource folder at all, instead it prevents an asset from being loaded until it's needed whereas resources load everything and keeps it in memory. It may not work, sounds like there's a potential flaw with the dedicated server design. Depending, it may be worth it to restructure it if that's possible.

You should look into addressables. You could likely make this work with minimal recoding using addressables.

(1 edit)

Hey there! Thanks for the reminder about the bug in PaperDoll. I've actually known about it for awhile, as I keep bumping into it in my personal projects. But then I keep forgetting to fix it in the package. So v1.06 is up now.

As for the issue with the materials, Unity is a modularized platform, and ShaderGraph is an independent module separate from version 6. You are correct that the issue has been resolved, but it has actually been resolved regardless of your Unity version. At least it is corrected for me on 2021.3.45f1 && on v6.

In regards to the separate shaders for the farmer base, I've actually been working on this already. However, it will be released as a separate purchasable product. Both the character base and farmer base material projects were a significant time investment going through each and every individual color ramp twice (lit & unlit). I try to keep my assets pretty dirt cheap for folks, so I'll be doing the same for the farmer base shaders.

I like your slider idea, I do almost this exact same thing in my paper doll  projects and I really think it's time to incorporate it into the paper doll asset. I call it Master Doll and it is extended from Paper Doll and placed on my base layer that is parented to all other layers. I will probably release this as Paper Doll v1.1 soon.

Lastly, thank you so much for all your support. I personally love these tools for Seliel's assets and find them to be HUGE time savers, and I am glad that so many people enjoy them as well. Alot of them are useable outside of Seliel's assets too and I am always finding uses for these, like Paper Doll in my SHMUP game jams haha. You'll be happy to know that I have a new one I will be releasing later today that is a pinnacle in speeding up my development workflow, keeping me in the editor more vs. in code and also helps greatly reduce coupling. It is essentially ScriptableObject variables & events with OnChange events & optional clamping. It is easily extensible to any value/reference type with just a few lines of code that can be copied from the pre-made templates.

P.S. - Thanks for the heads up on Sprite Importer, I'll keep an eye on it.

Just curious how you did the underwater effect shown in the animated screenshots?

Thank you much, I am glad you like it. :)

No I haven't seen that. The update is made in LateUpdate so it is done prior to the next frame after the current frame has already been drawn. Are you perhaps targeting high frame rates with your project and the code isn't optimized enough to keep up? I haven't tested the build on games running say, at 240 FPS...

Not a problem, glad you enjoy it. :)

Yeah that would be a Unity limitation if I am understanding correctly. Just to be sure I would retrace your steps. If you switch back to the Unity default sprite-shader material, does the mask work? If not it might be your implementation of the mask, otherwise I'm sure it's nothing that can't be fixed. It usually can with a little bit of Googling or reaching out to the community through their Discord or forums.

So this really depends on how you are managing your spritesheets. I personally find it easiest to merge  p1, p2, p3, p4, etc. into a single spritesheet. If you don't follow that method then you really need to follow 2 steps.

1) You need to call the SetTexture method of every PaperDoll script on the character to change to the appropriate directory where your combat sprites are located. 

2) Then you would need to call a SetTexture on your tool A / tool B folders to change to the appropriate tool, directory, etc. before finally enabling your tool layer(s) until the end of the animation before disabling them again. 

However, if you merge the different animations into a single spritesheet you can forgo step 1 and move on with step 2. How you use the paperdoll is really up to you, it isn't meant to be a end all be all solution, and will in the end still require some problem solving on your part to incorporate it into your own project the way you need it.  Using the weapons/tools requires quite a bit of finesse and micromanagement that extends beyond PaperDoll.

P.S. - It should be worth pointing out that due to the unique usage of the tool spritesheets, these layers will likely not be part of the paperdoll as children, and instead will simply be a GameObject containing a SpriteRenderer and Animator component attached to the character that you then hide/unhide the tool and call the needed animation as appropriate. 

Thank you, I appreciate that. Let me know if you have any other issues!

Sorry I was at a memorial celebration for my father the last few weeks. But you are correct you would have to change the paperdoll directory during runtime.

From the other character sheet? You mean farmer base sprites?

Very cool! Well I'd love to see the finished product so keep me in the loop!

Doesn't it though? I love it personally. I have another asset I never released that creates scriptable object variables and events that makes things so easy. Id say that's probably my #1 tool for development.

Unfortunately yes. I can get working on an updated set of shaders that already has that done, but I'm out of town for a family event for the next few weeks. So it will be a bit before I get started.

Your sprites need to be in the resources folder. So take that Character folder and move it into a folder called Resources. Don't change the path on paper doll script, you've got that set perfect.

Yes, and not just that but you also need to have the same number of sprites in all your spritesheets. So if for example, you have a tool renderer, and there is a frame where that tool does not need to be rendered because the character would be standing in front of it for example (if facing up). You still need to slice the sprite for that empty sprite regardless. If that makes sense :P Glad you got it figured out though!

Hey, sorry you're having so much trouble with it. We can do a Zoom if you would find that helpful and I can walk you through it. E-mail me at bluemanafox@gmail.com if you're interested, otherwise I can try to help you here but without having my eyeballs on it I don't know how much help I'll be.

Could we get a pickup animation?

It can be easily tailored to use the farmer sprite system. It was originally designed for Mana Seed's first character base, so the preconfigured options may not work. You would have to have a very basic knowledge of creating materials from shaders and using ShaderGraph. After that you can  generate and configure materials in just a few minutes. I use this with the farmer base myself, with just a few tweaks.

Hello, I just bought all your assets in a mega bundle. I am not seeing the light cookie anywhere, or any of the screen effects like in the Atlantis tileset. Do you not include these?

I wish I could do that for you. Unfortunately, I'm not a shader writer, this was only possible thanks to experimentation and Unity ShaderGraph's user friendly approach.

Glad you like it! Always appreciate the atta boys :)

(1 edit)

Any information you find to be relevant would be helpful, including sizes. But mostly I want it for knowing what frame an expression starts and when it ends. Thanks so much for doing this!

Ah, sorry I'm posting this to the wrong product. I meant the facial animations for your Sproutland GUI pack 😁

I'll send them since there isn't an update for this out yet.

Could you provide a frame guide to assist with creating the facial animations?

Hello! Great asset btw, but in the later versions of Unity (mine 2022.3.13f1) they include 2D extras and won't allow you to remove it due to dependencies. If you import this it generates duplicate script errors and you can't use the pre-generated Unity rule tiles that you included. If you try to pick through and remove the duplicates included in your asset, by the time you get to no warnings or errors, the included rule tiles no longer function. If you cannot resolve this can you at least provide a rule tile setup guide to recreate them?

Hello, the watering animation is missing from the premium set. Thought you'd like to know! Also, do you plan to do an attack animation?

Are these compatible with the new Farmer Base?

It will work for your own spritesheets as well!

Do you take on commissions? I would very much like to commission a cooking station and tailoring station. Please let me know, thanks!