The Daily Click ::. Forums ::. Klik Coding Help ::. Floating problem
 

Post Reply  Post Oekaki 
 

Posted By Message

badoona



Registered
  27/03/2006
Points
  209
11th April, 2006 at 20:04:24 -

I'm trying to work out the best solution for my character's floating weapon problem.

the character and his weapon are two different objects and the weapon object is simply 'always set position to 0,0 of...' And of course I'm getting the dreaded floating effect as described in this article's comments.

http://www2.create-games.com/article.asp?id=460

Does anybody know of a really good way to solve this?

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
11th April, 2006 at 20:22:22 -

Image


Create a 'mask' object, which handles all movement and such, and set the character sprite and gun object relative to it
Make the mask invisble, and you shouldn't notice any more movement.

Image Edited by the Author.

 
My signature is never too big!!!

badoona



Registered
  27/03/2006
Points
  209
11th April, 2006 at 21:48:34 -

thanks, i'll let you know how it goes when i get a moment to get back to the game!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click