Multilevel platforms for Double Dragon styled game

Hey guys! Long time no post. I’ve been a busy monkey working, I’ve had hardly any time to pursue my own projects other than on the weekends. But I’ve progressed to the point now where I have most basic things in the engine down, but theres a few things Im still planning to implement. One of which is jumping and multiple platforms.

Now usually jumping is a sinch! You subtract the objects _y by a decreasing number and it simulates the effect of gravity, easy. But this current project is in the vein of Double Dragon, and when you design your game so you can travel on the Y axis as well as the X axis, it becomes a little more problematic. You can’t just say “you jump, then when you hit the ground, you land”, because the player is always hitTesting the ground! I also wanted to be able to jump through certain platforms. So a little lateral thinking has to be used…

I was going to use the heros _y position as the “ground” point. When the hero jumps, register his current _y positon as the position used to tell him to go back to the stand animation. In theory this works fine, and would be ok to use if I didn’t want to implement platforms that you can jump on. Using this would result in the object going through platforms and to the _y position that was registered.

I have a main hero movieclip spawn on to the screen, with an invisible “ground” movieclip (_root.g) making up the borders and “walls” of the game, while another “background”(_root.bg) movieclip is used as the graphic overlayed on the ground movieclip, and I attach platform movieclips inside “ground” movieclip, so platform paths would look like this. _root.g.platform01

So my question you all is, how should I proceed? Im not sure how I should be approaching this problem and would really appreciate any help. Thanks!