2009-04-13, 05:43 AM
Montycarlo Wrote:Thanks, but just a clarification; You said the y-axis was inverted, so The scale I should be using is what you said, "Negative is left and up.
Positive is right and down.", or is the y-axis flipped from that?
Alright, so I'm merely trying to position both the body sprite and the arm sprite of stand1 (Frame 0) by using the values I've obtained.Code:<imgdir name="0">
<canvas name="body" width="21" height="31" basedata="iVBORw0KGgoAAAANSUhEUgAAABUAAAAfCAYAAAAIjIbwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAdxJREFUSEutlQ11wzAMhINlFEahFEqhFEphFEIhFEIhFEIhFFydfmzLdty4Xd/8uvY1X07S6TJN468QtjnQZThfvQzC72H7c59HyQI5tnRIJaBh+Q1h/uH3EWggEv3tHprfYF+tFZe5DGWlDM/U2v8Mja14C/bA/4JKL6n0HnCX/l51QlZ2q6dU9r7QAfT5CfSkl4CuTz6XlYajM3kMaBDanzgmb1AqndWSX3tqY+PP/Wn9pPKxBDgdqHhRpym+JEDpTx6QArWnulXVZol11D5sJzW2TDlTx0AtGyrXh62qgzogyo77DgB2nMuEfXTvoRBgnOXeLF+gUKMluxCxdnB43GQw1ktWSd9JqBRKOTQATVZxLdCLGKB9Z/BJ6QiBNAxsCI4aOgLoYlWSRSDi7xaOuVZpySIwBkpJ8Wboo37WHye1/vtmSpVprhcD6tTI97xRj3BcAOd3Sxe3lFpvG0PqBWumCNY5UTuoNA1R/ZrZRm84lvxpgFn/KmhsgQz27fPETdpWttUCuGO9fwBlRWcukBachUqpvn7e91yQFsRxKp+mYJHne7YEfsMsbAonFLlZ5CgbXfoW85UDCFmBTUSa1cHiodnzh6MN8WehYm5Q5QbLf+M2yELjy/fpBdLnmklHD3o1AAAAAElFTkSuQmCC">
<vector name="origin" x="16" y="31"/>
<imgdir name="map">
<vector name="neck" x="-4" y="-32"/>
<vector name="navel" x="-8" y="-21"/>
</imgdir>
<string name="z" value="body"/>
<string name="group" value="skin"/>
</canvas>
<canvas name="arm" width="10" height="19" basedata="iVBORw0KGgoAAAANSUhEUgAAAAoAAAATCAYAAACp65zuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAALdJREFUOE+NkgERhDAMBNHyFrDwFl4LFt5CLdQCFmqhFmLhPte00M9ACzMZhmG53l1YFrtQpz7e3JAjsG9zGJIA2R/BCiqcw1yVHpFVNc1hA+k3vIbKFaTqOJiC9EnVoKrrRLWEYgOfB8cTvgnVvobEt1WVvkD8V4XQm+RuTNGHMgU/DOTWauYPkKlZkR7N6Tq1kkst3RRwc2BczROP4zQ1BnNbOl82SP1drfIEtWgCo30fXV798T8cUTERs67MDwAAAABJRU5ErkJggg==">
<vector name="origin" x="5" y="9"/>
<imgdir name="map">
<vector name="navel" x="-13" y="-1"/>
<vector name="hand" x="-1" y="5"/>
</imgdir>
<string name="z" value="arm"/>
<string name="group" value="skin"/>
</canvas>
<short name="face" value="1"/>
<int name="delay" value="500"/>
</imgdir>
How do you think the values go together here? I've already tried by to no avail.
usually y is positive up and negative down. he said its inverted, and positive is down. also, werent lt and rb used just to determine the image size? (for example so the game can know how big a monster is and from where u can hit it)
AFAIK origin is some sort of image shifting, it tells u the number of pixels you need to shift the image (but i dont know to which direction
)also, its funny to see someone actually use my xml exporter. Lol.
