Hi all,
Im in the process of making an art based side scrolling platform game. All has been well up until now when I decided to add a moving platform.
The way the game works is the background is one large MC with a background image and a hidden MC with the platforms drawn on and it all scrolls as one. So for me too add a moving plaform I animated the platform inside an MC and placed it inside the drawn platforms MC. The moving platform then becomes part of hitest so my hero character is hiting the platform but it just moves from under him. I ran a search over the boards but nothing I can see will fix this problem. I though this would work but it doesn't:
Code:
onClipEvent (enterFrame) {
	if (this.hitTest(_root.hero)) {
		_root.hero._x = this._x;
	}
}
dunno why this doesn't work but I cant seem to work it out.

Any help appriciated,
bk9