It looks like you're new here. If you want to get involved, click one of these buttons!
ChildList = Head # Torso # Hands # Legs
;separate animaation for Head
AnimationList = Walk # Jump # Run ; animation list for head
; separate animation list for torso
; Hands would have two child, Left/Right which will be responsible for their own animation list
;just like Hands
In the image, with cropped version, Bottom Left is (0,0), Center (75,100),Top Right is (150,200). And when I want offset into account, Bottom Left is (-100,-100), Center (175,200) and Top Right (250,300) considering original image size to be (350,400).
But again the problem is when I use actual value of (0,0) as pivot, its value should actually be (-100,-100) as I am referring to the original non cropped image. When I set pivot to (350,400) its actual value should be (250,300).
It looks like, one has to subtract the offset manually which is (-100,-100) from whatever value is present in the pivot, to make it transparent to the user.
For example, I told my artist to make me an explosion animation of size 256x256 each frame, he made me a sprite sheet with cropping. Now, each image size is different, and I don't need to know their individual size. All I know is their size is same which is 256x256, then I set their pivot to Bottom Left or set it to (0,0) hoping that there would be no problem. But when I play the animation, its not right, because pivot is set to (0,0) for cropped image which has different size hence their pivot is same but they are drawn in different position. Would not it be logical, when I set pivot to (0,0) it would take offset into account and makes its value according to offset for each frame.
Also, when I ask for sprite size what would it return ? it would return different value, but I was expecting their size to be 256x256.
I hope you guys can understand what I am talking about
I got that ok. But like you said, is it valid orx config?