Work on Level 4 has begun:
This will be my most ambitious level yet. It will feature alot of platforming elements that haven't been in previous levels.
However, it's hard to make good platforming elements when all the player can do is jump on static tiles. This brings the need for moving platforms, falling platforms, etc.
But how should I implement them? I only have a way for the player to stand on tiles, but not on non-tile objects. So I have to not only let the player stand on these platforms, but have it look natural.
Yesterday, I started thinking of how to make them, and here's what I've come up with.
I figure that I've got one really good thing going for me, the enemies have access to the player object all the time. That means manipulating the player from the platform objects will be very easy (as platforms are defined in this game as enemies).
So, I suppose I should just apply the same collisions for these platforms as I do with tiles. That means once a player collides with one, it will push the player to the surface of it. However, I don't want the player to be able to shoot to the surface by just touching a platform with Stompy's head. So I figure this, only allow the player to land on a platform if Stompy's feet collide with it.
Okay, but how do I make Stompy stay on a platform if it is moving? Well, I guess I could just move Stompy when I move the platform.
There are several other issues, though. For instance, to the player object, if there is a platform underneath Stompy, it will act like there is nothing there. It does this with all non-tile objects. This problem is what will probably cause the most headaches.
Well, I'm going to take a shot at making these non-tile platforms. Hopefully my ideas will work.