MudkipWorld / PNGTuber-Remix

An Open-source PNGTubing app based off PNGTuber+ :D
https://mudkipworld.itch.io/pngtube-remix
MIT License
11 stars 1 forks source link

Issues with 'Appendage Based Items' #5

Open querrieoh opened 1 week ago

querrieoh commented 1 week ago

Disclaimer: If this feature is not meant to be used in this way, sorry in advance for my complaints-

I desperately wanna use these to get 'flowy' physics for some items, but they are very tricky. Some issues include:

  1. Images spawn in much much smaller than their original sizes image In image: The circled item is the same 'cheek fur' image spawned in as an 'appendage based item', roughly 20x smaller than the original (It's also squished, meaning I have to adjust the Size-y differently than Size-x )

  2. Attempting to move an 'ABI' becomes impossible after pressing the 'ctrl' button and moving the origin. (Changing the position values does nothing either) Not being able to move the origin means my goal of a fluffy cheek that doesn't detach from the face... is harder to achieve

  3. Any image used for an 'appendage based image' must be laid horizontally, or else it gets distorted - (mentioned in issue 1 as well) image

That's all for now, thank you for your hard work on this program!

MudkipWorld commented 1 week ago

Hi, thanks for reporting these!

For number 1, it is something I am aware of and is still looking into fixing.

For number 2, this is completely new to me, will try looking into it, I have changed the origin of appendages a lot and never had this happen. Will still try replicating it tho and see what could be the issue

For 3, yes you need to import the texture horizontally facing right. This is something more on me. I should have clarified that somewhere.

Still, thanks for reporting these issues!

MudkipWorld commented 1 week ago

Hi, small update, for the size issue, all I had to do was use the math skills I learned at school 😔 Now hopefully the parts get imported with the correct size image

For the selection thing, you might have noticed from the first pic that sprites now have "marching ants" effect when selected. This should helpfully help show where the selection point is (small tip, it is always at the origin point of the appendage) image

For the last issue, due to how the appendage is built, the sprite should always face the right side, but for future reference for people who want to use it for something like ears and not just tails, here is a small tutorial Lets say you have this animal ear, whether cat, fox, etc... image

Make it face right and trim the excess area around it image

Make a copy of it and flip it vertically image

Save both as two different images image

Now in Remix, import them as appendages image

Rotate both ear1 and ear2 to -90 and enjoy! image

Don't forget to play around with the appendage settings too (in the Wiggle tab) since the default parameters are designed as a quick base than anything! image

I won't close this issue unless I hear feedback from you and if these what you were asking to be fixed, thanks for reading! :D

querrieoh commented 1 week ago

For my problem number 2, if it helps in replicating the issue, the problem seems to happen with 'abnormally large' models, ie I draw it on a 2k*2k canvas and there are roughly 30ish layers with multiple animated ones, I recorded video to show what happens with an ABI:

https://github.com/user-attachments/assets/c00f9429-248b-4f73-bb12-c19e8dc71d91

Description of video: First I import an ABI When it's small, I can change the origin and move it around, BUT sometimes the origin is not actually updated, despite the origin icon moving, I have to click the location of the previous origin to move things.

When the image is enlarged, changing the origin seems to make the image jump away, making the problem of finding the image and then the actual origin point to move it from harder.

Sorry for the trouble, hopefully this makes sense

MudkipWorld commented 1 week ago

Okay, I see. This also seem like a miscommunication on my side :') The origin point only affects the rotation point. If you changed the origin for a sprite (not appendage) and tried to select to move around, you will still need to grab it from the sprite itself, not the origin point. Kind of like how it works in some drawing software. Here is an example

https://github.com/user-attachments/assets/952ab408-45e2-4691-b7a1-8ab116e42591

that is why I added the marshing ants selection animation in the code now (will appear in the next update) got added, so it hopefully lessen this confusion

image

Sorry for the trouble, hopefully this makes sense No, don't say that. The software is still fairly new and strange quirks like that ofc exists. Don't blame yourself ^^

Still feel free to ask questions tho!