Contact Info / Websites

Recent Game Reviews


-Platform Tutorial- -Platform Tutorial-

Rated 4.5 / 5 stars

in answer to matokingi's question

To make an object follow the frame

Give the movieclip with your camera in the instance name "cam" (without quotations)

then on the object you want to follow the frame enter this actionscript

onClipEvent (enterFrame) {
_y += (_root.cam._y-_y)/1;
_x += (_root.cam._x-_x)/1;
}

Hope this helps.

Oh and great tutorial BTW :)


People find this review helpful!