Copy y

Non-platform specific questions.

Copy y

Postby Caaz Games » Sun Jan 11, 2009 4:07 pm

how would i make an actor copy the exact position of anothers but only the y :?:
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Re: Copy y

Postby pyrometal » Sun Jan 11, 2009 5:27 pm

in Draw Actor of the actor which has to track the y position, put this code in a script:

Code: Select all
y = actorname.y;

(NOTE: actorname is the name of the actor being tracked.)
SPRITE WARRIOR:
Free, open-source & crossplatform pixel art editor (currently under construction).
User avatar
pyrometal
 
Posts: 706
Joined: Wed Nov 28, 2007 4:07 am
Location: Kingston, ON, Canada
Score: 86 Give a positive score

Re: Copy y

Postby Caaz Games » Sun Jan 11, 2009 11:11 pm

Thanks Pyro :D
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron