hi, I need some help quick!
I’m working on a game that loads into a movieclip that sends data into other movieclips etc. Sending data works fine at the moment.
Most things work fine except that in my game I have a platforms for my character to jump on. It works fine when loaded normally. But when it is loaded into my movieclip (in another flash file etc) it’s as if the platform hitTests are moved around (you can’t see them).
I’m using this AS to load my movie: -
if (_root._level0.container_mc.platform.hitTest(this._x, this._y, true) && falling) {
// if hitting X an Y postions with the ground and falling
jump = 12;
// jump is set to 9
jumping = false;
// jumping is false
falling = false;
// falling is false
onplatform = true;
onground = false;
}
This isn’t all of it obviously. I’m thinking there must be something with the method i’m using. Any solution would be really appreciated.
Sorry if it sounds complicated lol…it’s a little late over here so i’m finding it hard to convey my problem lol.
cheers.