Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] DC coordenating move sprites with char position
#1
? 
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
Reply
Thanks given by:
#2
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
~its been a long time coming~
Reply
Thanks given by: godews
#3
(06-03-2008, 11:44 PM)MH-Razen Wrote:  opoint tutorial. Marshall/Windmill style (whatever heh)

[Image: attachment.php?aid=188]

[original thread]



Azriel~
Reply
Thanks given by: Hukko , Alblaka , godews , dubbleD
#4
wow... I guess I understanded, that's a kind of easy thing after all xD

thank you both
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)