-
Collision Issues
Well, I have this relaly big issue with collisions. When I try to playtest a platformer game with the most basic sprites in Java, the player will move around the stage on the platforms but if you go to jump under the platform or colide with a corner, the player will glide under the platform or even go through it at times.
Is there any way to fix this? I'm just using the basic platform object, and setting backdrops as obstacles and to 'bounce' or 'stop' when touching backdrops.
-
Re: Collision Issues
You could make all the platforms active objects. And have each platform object in a group and then test for collisions or overlapping (when dealing with multiple layers) so u just have to add objects to the group to test collisions. It could also be a difference due to java code or something mmf2 does. You could try the adv platform object 2. It gas functions that include hold jump and detection. I had to use it as the standard collisions were glitchy for me. But it seems to handle only one "selected" object to test at a time. So I don't know what to do for enemies.