Problem with views positions match

Started by Murchad, Wed 09/07/2014 08:24:16

Previous topic - Next topic

Murchad

Hello friends. It's me again with another problem.

I've noticed today, that my character's talking view doesn't match with his idle/walking view and when he is talking, he is "jumping" few pixels to the left. Is there any possibility to globally change the position of one of the views, or I need to recreate manually each of over the hundret of frames?

Thanks in advance :)

EDIT:

I made something like that in global always part of the script:
Code: ags
 if (cSmith.View == 1)
  {
    cSmith.Move(cSmith.x - 5,  cSmith.y);
  }


It's working, but to be perfect i should use "4.5" instead of "5", but then I have error that "Type mismatch: cannot convert 'int' to 'float'." Any ideas how to change that?

Khris

You can't move a sprite by half a pixel...


SMF spam blocked by CleanTalk