![]() |
[solved] DC coordenating move sprites with char position - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: [solved] DC coordenating move sprites with char position (/showthread.php?tid=3752) |
[solved] DC coordenating move sprites with char position - godews - 10-10-2009 hi everyone, I'm creating some moves to the char's I'm creating and actually the only missing point is to coordenate the image of the id 3 with the id 0 (char)... for example, I'm playing with firen and I make an explosion. I do not understand in what x y w h I need to put the move frames to make the explosion correspond to the firen's position. Can please someone explain me this clearly? And if someone could explain me how to use centerx and centery exactly, I would be gratful. I'v already read the tutorials in LFE but I still do not understanding this points. thanks for all help RE: DC coordenating attacking sprites with char position - dubbleD - 10-10-2009 centery and centerx are the points in which the sprite itself are coordinated in the frame. so for example. if you had 2 sprites, where one sprite was located to the left of its box and the second sprite located to the right, if you used the same centerx coordinates, it wont look like its in the same place. if you put in more centerx for the the opoint's x, y are the coordinates to which the supposed centery & centerx of firen explosion would be spawned. hope that helps RE: DC coordenating move sprites with char position - Azriel - 10-10-2009 (06-03-2008, 11:44 PM)MH-Razen Wrote: opoint tutorial. Marshall/Windmill style (whatever heh) [original thread] Azriel~ RE: DC coordenating move sprites with char position - godews - 10-10-2009 wow... I guess I understanded, that's a kind of easy thing after all xD thank you both |