2 Attachment(s)
Moving platforms with PMO
Here is an example showing how you can get moving platforms working with the PMO. This allows the platforms to move in any way, using whichever movement you like (custom or in-built). The example uses path movements.
From what I can tell, this works well, but if it does not for you, you may get better results marking the platforms as obstacles instead of jump through.
Re: Moving platforms with PMO
Oh wow, this looks like exactly what I've been looking for! Thankyou forever :grin:
EDIT: May do a little experimenting with it to see if I can stop that "pop on top" thing that happens when jumping on from below. I think I have an idea how to do it, anyway~
2 Attachment(s)
Re: Moving platforms with PMO
Actually, there seems to be a bug in the last file. Does this nwe file work better for you? The new one is simulating jump through using the ordinary obstacle tests.
Either way, the principle of this example is to make the platform appear to be static in the view of the PMO by moving the player object at almost exactly the same time as the platform and exactly as much.
Re: Moving platforms with PMO
Oh, that's perfect. I can't thank you enough :D
Re: Moving platforms with PMO
Quote:
Originally Posted by fodo
Actually, there seems to be a bug in the last file. Does this nwe file work better for you? The new one is simulating jump through using the ordinary obstacle tests.
Either way, the principle of this example is to make the platform appear to be static in the view of the PMO by moving the player object at almost exactly the same time as the platform and exactly as much.
Hi!
Very nice example, but I found a bug. If the platform is moving horizontal, and the player walk off the moving platform to another platform that is exactly the same high, the player still moving together with the moving platform.
2 Attachment(s)
Re: Moving platforms with PMO
2 Attachment(s)
Re: Moving platforms with PMO
Hey guys,
Here is another example of a platform engine using the PMO. I created the graphics and Assault Andy did the programming. Andy is a very talented guy and also wrote one of the first PMO Tutorials back in 2003. As this was his first hack at changing my custom platform engine to a PMO-based engine, you'll notice the comments are specifically directed at me. It's also pretty quick for Andy so if you find a mistake - it's probably because he knocked it out so fast.
This includes:
- Jumping
- Moving Vertical Platforms
- Moving Horizontal Platforms
- Conveyor Belts
- Springs
- Doors and Keys
- Ladders (not fully implemented)
The ladder movement is not complete and Andy is still working on it. To exit a ladder, you have to jump off.
Hope this helps!
P.S. This engine is for a game we're creating together. Once we're done, I may have a more complete engine that I can post.
Re: Moving platforms with PMO
Say, has anybody had any troubles with this engine?
because when i opened it i had some major weirdness happening:
the player would move well but he would be sitting half way inside platforms or the floor most of the time - i think the only time it was playing normal was when standing on horizontally moving platforms or if you were holding down a directional button down. Obviously It's not running as intended so i was just wondering if there is something i need - an extension, or maybe there is a feature only on the developer that it uses which might explain why such a promising example seem so horrible when i open it on my computer.
Re: Moving platforms with PMO
Hi Zonacas and fodo. This is some good stuff and I like the examples a lot. Love the acid. Thanks for the ladders.
Marv
Re: Moving platforms with PMO
These are really good examples.
I do have one question though.
In all the PMO examples I have seen ....When the character is walking/running and you press jump, the caracter wont jump unless he is stopped.
Has anybody made an example where the caracter can jump while walking/running?
Re: Moving platforms with PMO
Not sure what you mean Gerald - in my PMO examples the player doesn't need to be stopped? Could you elaborate?
Re: Moving platforms with PMO
Sorry, your right Chaos!
My brain got ahead of my memory!
( ya, I know that don't make sense :crazy: ) It's an age thing :eek:
Re: Moving platforms with PMO
Quote:
Originally Posted by fodo
Actually, there seems to be a bug in the last file. Does this nwe file work better for you? The new one is simulating jump through using the ordinary obstacle tests.
Either way, the principle of this example is to make the platform appear to be static in the view of the PMO by moving the player object at almost exactly the same time as the platform and exactly as much.
There's a problem with this, if you hold down "jump" when the platform is moving up and the platform moves past the player the player will sink right through.
JessBowers example seem to work though.
Re: Moving platforms with PMO
A problem I noticed with this file is that the player sinks into the ground. Any help?
Re: Moving platforms with PMO
Thanks for it :) I tried to do it, but not could to be...