Hi.
I have tried everything to get the player to stand on active objects with out any luck.
What reasons are there as to why my player just falls through active objects and not stand on them like the lift?
Many Thanks
Worf
Printable View
Hi.
I have tried everything to get the player to stand on active objects with out any luck.
What reasons are there as to why my player just falls through active objects and not stand on them like the lift?
Many Thanks
Worf
Standing on something that moves (like a lift) is quite complicated to do, and MMF's built-in platform movement doesn't support it.
For non-moving actives, you should just be able to do:
Player collides with Active: player:Stop
Hi Dynasoft.
Thank you for your reply. I have had the lift part working before in another game i was doing and i am using the same engine which uses Quick Loops yet, the player falls throught this time.
Regards
Worf
If you are using a custom platform movement, make sure that the player is programmed to colide with that particular object the same way it should with a backdrop.
Tip: Try programming your player to colide with a particular group of objects, so you can add the objects that you want your player to colide with in a particular group.
Regards
Hi izac.
It doesn't matter what i do i can not get the player to stand on any active objects and it is starting to make me mad.
I would be greatful if someone looked at it for me if i upload it then i will know where i have gone wrong.
Regards
Worf
Just upload for us, and I'm sure someone can figure it out.
Ok thank you.
Here is the game file:
http://www.megaupload.com/?d=4F8I1IJY
Another thing you can try if you are using custom movement:
Character overlaps active
Set character (or detector)Y position to Y of character (or detector)+1
Marv
Hi nivram.
Tried that stil the same :(. I have used the fastloop engine from Phizzy example game 'Mario'. I have gome through the Phizzy' example and mine and i just can't figure out what's wrong.
Regards
Worf
Try DavidN platform tutorial in the sidebar ---->. It has some really neat things in it.
Marv
Looks like a no go-er as nothing i try works.
Essentially, I do believe the issue is this. The commands are for if the player is touching 'object' to stop. Well, this 'object' is specified by specific pixels. While the player is going down, the object is going up.
Wether it looks like it or not, the player is skipping it's Y direction. And with 2 objects going opposite directions, it may cause the character to 'skip' over the pixels programmed to stop the player.
A few things to try.
1)Slow down the moving platform. See if this helps.
2)Instead of stopping the player, make the players Y direction change to up when touching the platform instead. That way, it will cause the player to 'bounce' while on it, but it should allow you to stay on until i can figure this out.
3)Try making the platform thicker. This may allow it to work.
An example of what I am talking about would be this. Set the player's speed to something INCREDIBLY high, and make it stop when colliding with an object. Make the object incredibly skinny horizontally. When you run and reach max speed, if you are going fast enough, you should be able to 'skip' over the pixels and go "through" it.
Hope this helps.
Thank you Ausomeman.
I have tried a thicker platform and it did the same. I haqve gone over and over this, re-written it from the example and still the same. The other Active Objects the player stands on them but does not animate.
I have used this engine in another game i was doing and all worked ok. I lost it so i can't use it.
Anyway, Thank you for your help
Worf
I used the advanced platform object 2 for collision. It also has holding jump and other cool functions built in. You normally use the prebuolt platform and obstacle object types or use the "if object overlaps obstacle then stop" you could also set it's y position like this "if char not on obstacle y pos = y pos +3". I used this for my character movement on enemies.
Found what the problem is but not sure of a work around.
If the lift was just using shifters to tell it to move up or down without having the lift stop and pause in places it works fine.
But i need the lift to stop and pause in places, damn pain this is.
You could set up a path movement. You can specify multiple movements on re same object and iterate through them. What do u mean by shifters?
They are detector which tell the lift which way to go either up or down. If the lift hits the shifter at the top the lift is sent down and if the lift hits the bottom shift the lift return to the top.
I have tried the path movement but i have the same problem with the player going through the lift object. I have put up a link to my file at the start of this topic if you care to have a look for me, maybe you might have some luck as i'm still stuck? (Tipical newbie)...lol
The main problem causing this is because i need the lift to stop and pause for 5 seconds on each floor, if it wasn't for this i'd be ok.
Many Thanks for your help.