Looks like a no go-er as nothing i try works.
Printable View
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.