http://www.kirupa.com/developer/mx2004/platform_game.htm
I am basically at the point of having the ball/character fall onto the blocks within the ground/platform movie clip, movie left and right, jump up and down etc.
So far this is all very good, except for one very annoying thing lol, which has pretty much halted me from continuing any further (heck I even tried searching google for the lats couple of hours but can't find any relevant hits to my specific case).
If anyone has followed this, understands it's method of play and collision detection or has followed this before will more than likely know my problem, which is:
When the ball/character jumps/falls onto a block, the collision detection is quite random, sometimes it falls a bit too far above, sometimes exact, sometimes inside (I move the balls movie clip point upward so the crosshair was below the image for somewhat better detection).
Does anyone have a solution for this?
I know I could create singular platformed objects and test them individually using the old basic co-ordinate checks, but being able to have multiple platforms of the same type all sitting in the same movie clip and all subject to the exact same collision call is extremely usefull and removes alot of bloated code.
Any help is greatly appreciated!


