The Daily Click ::. Forums ::. Klik Coding Help ::. using the same movement engine for different sprites?
 

Post Reply  Post Oekaki 
 

Posted By Message

Vaynes



Registered
  27/01/2005
Points
  15
8th March, 2005 at 16:28:02 -

I'm using the grid object for movement of sprites in an x-com stlye game, the first character moves fine but when i change to the second character he won't go anywhere.

can anyone tell me if there is an easy way to make a 2nd sprite use the same movement instructions as another but at a different time of course.

ATM i'm using a counter to tell MMF which sprite is selected and to move the active objects used for the movement to either sprite 1 or sprite 2.

I'm also de-activating the movement group when the first sprite reaches the end of its path then re-activating it when the 2nd sprite is selected.

I guess all i want to know is if there is an easy way code MMF to have a team using the same movement instructions.

Plz help, this assignment is due in on 18th and its taking over my life

 
Ever bitten off more than you can chew?

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
8th March, 2005 at 16:34:32 -

Try this:
Right click your sprites, go qualifier, give them all the same one. Give the movement events to the qualifier icon. Use a counter for which sprite to control, and change their flag on if its their turn, and check for the flags value in the movement events.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click