HELP!!!!!!!!!!

Non-platform specific questions.

HELP!!!!!!!!!!

Postby JayInACob » Sun Jan 06, 2008 4:48 pm

I need to get one actor to follow another without using parent as it causes the childs z depth to be above the parents.
i used
y = Player.y;
x = Player.x;

but the child keeps moving slower than it, even when i told it to have the same directional_velocity as its parent.

Edit: just fixed it with yscreen = Player.yscreen;. Sorry for mucking up the forum menu :D
However, is it possible to get parent and child actors to have independant z depths, as i have had similar problems which require a lot of crazy codes to sort out, and would be made much easier if they were independant
JayInACob
 
Posts: 6
Joined: Fri Aug 17, 2007 5:00 pm
Score: 0 Give a positive score

Re: HELP!!!!!!!!!!

Postby Bee-Ant » Mon Jan 07, 2008 6:48 am

It's weird...That code should worked... :roll:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron