aligning to the y coordinate- solved

Started by viktor, Tue 26/10/2004 19:50:32

Previous topic - Next topic

viktor

Hy I'm back after a while. My computer was brokedown so I couldn't visit the forum that often. Yesterday me and my friend started on a short project (just to show him the basics of AGS- he's a beginer). But we stoumbled on a problem. We hawe two animation loops and want to alighn them with SetCharacterViewEx. But in the manual  it only descriebes how to alighn to the x coordinate. Is it posible to align to the y coordinate?

to put it simple: we hawe two loops. One is higher then the other. Can I algn them somehow (without resizing) so that the character won't seem to jump when the animation runs.
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

BorisZ

What's wrong with resizing images to fit bottom axis?

Ashen

I'm not sure I totally understand the question, but wouldn't SetCharacterViewOffset (CHARID, int view, int xOffset, int yOffset) work? It's slightly more fiddley than the Left/Centre/Right style of SetCharacterViewEx(), but should do the job - assuming I read the problem right, of course.
I know what you're thinking ... Don't think that.

viktor

Quote from: BorisZ on Tue 26/10/2004 21:43:59
What's wrong with resizing images to fit bottom axis?

The problem is that I hawe about a 100 loops (exagurating a bit) and resizing each and every one would be to much work.

Anyway the problem was solved and the animation works...
signature" border="0
<a target='_blank' href='https://imgbb.com/'>resurrection pictures for facebook</a>

SMF spam blocked by CleanTalk