Starofdeath Posted August 21, 2015 Share Posted August 21, 2015 For example, I drew a hat, loaded it in the game. But in the game hat is left or right, up or down. In general, not correct.Adjustment should be done in Spriter or just in Photoshop to add a empty space?I can not understand it, even after a few experiments.Please, explain how this is done. Sorry for my poor english) Link to comment Share on other sites More sharing options...
Starofdeath Posted August 22, 2015 Author Share Posted August 22, 2015 Can somebody helps me? Link to comment Share on other sites More sharing options...
Starofdeath Posted August 22, 2015 Author Share Posted August 22, 2015 Here's what I mean. Link to comment Share on other sites More sharing options...
pickleplayer Posted August 22, 2015 Share Posted August 22, 2015 For example, I drew a hat, loaded it in the game. But in the game hat is left or right, up or down. In general, not correct.Adjustment should be done in Spriter or just in Photoshop to add a empty space?I can not understand it, even after a few experiments.Please, explain how this is done. Sorry for my poor english) You could probably make the adjustments in either photoshop or in spriter, both methods should work.(Though I'm not positive, since I've never made a hat before) If its too low, try moving the hat up either in spriter or in photoshop. Link to comment Share on other sites More sharing options...
Starofdeath Posted August 23, 2015 Author Share Posted August 23, 2015 You could probably make the adjustments in either photoshop or in spriter, both methods should work. (Though I'm not positive, since I've never made a hat before) If its too low, try moving the hat up either in spriter or in photoshop. This is a vary common response. I want to know the exact mechanics and logic of adjustment.Maybe there are some determinate options ... For example, something like "a picture of hat should be 200x200 pixels". Or something else. Link to comment Share on other sites More sharing options...
Mobbstar Posted August 23, 2015 Share Posted August 23, 2015 Did you try changing the pivot point? That's the thing you can move around that is used to turn the image. Link to comment Share on other sites More sharing options...
pickleplayer Posted August 23, 2015 Share Posted August 23, 2015 This is a vary common response. I want to know the exact mechanics and logic of adjustment.Maybe there are some determinate options ... For example, something like "a picture of hat should be 200x200 pixels". Or something else.I'm not exactly sure what you're asking for here.Wait, are you saying you just used a random image size for the hat? I don't think it works like that.I'm pretty sure you'll need to find the exact dimensions of a hat used by the game. I think you can find a hats sprite sheet by opening the "atlas-0.tex" file of a hat in the game's "anim" folder. Link to comment Share on other sites More sharing options...
RedRock911 Posted August 24, 2015 Share Posted August 24, 2015 Change it in your photoshop, changing things in Spriter can get crazy sometimes Link to comment Share on other sites More sharing options...
keraunoscopia Posted August 27, 2015 Share Posted August 27, 2015 The hat's position on the head is determined by its pivot point in its swap animation. In Spriter, you click on the image of the hat to select it. By default, the pivot starts in the upper left corner. You'll see a red dot there. If you move the mouse pointer up to that corner the dot will expand and you can reposition it by dragging and dropping it, then right-clicking to bring up a little popup menu and choosing the option to reset the pivot point. This last step is important, and omitting it is a common source of errors. You'll have to play around with the position by trial and error to get it where you want it. In a text editor, you can edit the.scml file and type in a new pivot point. Near the top of the file, there's a a series of tags for each image file used in the animation - something like this: <file id="1" name="myhat.png" width="566" height="363" pivot_x="0.189573" pivot_y="0.35402"/> You want to edit the pivot_x and pivot_y tags. Again, you'll need to experiment to get the position right. Link to comment Share on other sites More sharing options...
RedRock911 Posted August 30, 2015 Share Posted August 30, 2015 you can also adjust the artwork for the hat yourself. Any method you use however, you will have to try things via, trial and error. That's just how modding goes....... Link to comment Share on other sites More sharing options...
Starofdeath Posted August 30, 2015 Author Share Posted August 30, 2015 Big thanks. Your answer helped me a lot. Especially this.Now I can move on.))) In Spriter, you click on the image of the hat to select it. By default, the pivot starts in the upper left corner. You'll see a red dot there. If you move the mouse pointer up to that corner the dot will expand and you can reposition it by dragging and dropping it, then right-clicking to bring up a little popup menu and choosing the option to reset the pivot point. This last step is important, and omitting it is a common source of errors. You'll have to play around with the position by trial and error to get it where you want it. Link to comment Share on other sites More sharing options...
Emptymess Posted August 31, 2015 Share Posted August 31, 2015 I'm just wondering : what should I change if I wanted to make the pivot higher for all hats for one character? Isn't there some sort of hat pivot on the scml of the Extended Sample Character? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.