|
Post by Bigfoot on Mar 31, 2005 21:13:55 GMT -5
okay, Im having a moving platform problem, Im having a platform move in mid air(with invisible blocks under it of course) and I have it that you run with the moving platform, because if you dont you fall, the only problem is that I cant get my freaking guy to fall, he just stands in midair, until I move, then he falls, so the player could just wait until the platform comes back around then move again. so ive tried having an equel event with the same motion script along the sides of the platform, but if the event is moving it doesnt activate. any solution to this problem?
|
|
|
Post by Dungeon Warden on Mar 31, 2005 21:54:28 GMT -5
Yes, I encountered this problem myself. What you need to do is make the event 'jump' instead of move. That is, it needs to jump from square to square and wait for the platform to move and then move to the next square, etc. The event needs to be motionless for the player to activate it. Make the side events invisible so the player doesn't see then and it should work.
Note the player still needs to move to activate an equal event, so your solution still won't work if the party stands still. However, if the 'fall off' events are close to the edge the party may still activate them while trying to keep from falling off the platform.
|
|
|
Post by NASH7777 on Apr 1, 2005 8:21:09 GMT -5
Yes I have encountered the same problem before. I got my elevating one semi working but it's kinda screwed up and wasn't meant for this. I think I know DW what you meant, but could you clarify it more. Like one couldn't have an auto moving event? It would have to be moving only after each step you take on it? Think you could set it up a bit more?
It's just another thing I hate with the limits of an action script. All you would need to do is put the Fall script for the party in there but NOOO you can't do that. Grrrrr Something definately they should improve on.
|
|
|
Post by The Final Rune on Apr 1, 2005 9:07:15 GMT -5
Um, I know jack about using moving block and how they affect the characters and all, so smack if I'm totally off with this.
For a platform moving up and down couldn't you just assign a repeating float and landing script to control the movement of the object.
Then, make another script that checks the the current 'Z' of the floating block and if the player hit the 'jump' button while floating block = 'whatever Z' then a jump is executed properly. Else the jump would fail and the player would fall.
I know all this can be done using 'blank box' events like the setup from SD Paradise, but I think this might be a less event heavy setup.
Or, I could be full of crap and my ideas are wrong, because the game can't handle that setup.
|
|
|
Post by NASH7777 on Apr 1, 2005 12:25:51 GMT -5
I'm talking about there's this platform that moves Up and Down on it's own and as you walk on it it will move you up and down as well. Only problem is you can't control the party's Z in an action script so the platform just goes right through the party since there is no condition to check for if there is a collision on moving with the z axi. I've worked with this already pretty much if you move while it's going through your body it raises you up to ontop of it, but if you let it get too far above you then you fall to the ground when you move.
|
|
|
Post by doyleman on Apr 1, 2005 12:35:47 GMT -5
I'd prob use a content where it would "apply together" with button commands, left, right, etc. could move your char. and the elevator applys together with moving the char up and down when stepped on. prob w/ this is that you can't have the elevator move up and down while the party is walking around else where unless you use waits and variables to keep track of the elevators movements.
|
|
|
Post by NASH7777 on Apr 1, 2005 12:41:17 GMT -5
Yeah I have thought of this, but would be a hastle, but could have that run as elevator rises you can move around and even fall off, and then even call the square script for if square is press. I wonder if we could make it convinveing enough that the player wouldn't notice? I spose unless you have a custom cam system you would need it to be facing a set direction for the movements tyo work. I may throw something like this in my zelda game today on the new dungeon if I get time. ? we'll see
|
|
|
Post by NASH7777 on Apr 1, 2005 12:42:35 GMT -5
Alswo if you had it so it was just a platform that moved up and down when the player wasn't at equal height you could do this. Just have it stop it's movement when the party is at equal of it's height.
(sorry double post)
|
|
|
Post by doyleman on Apr 1, 2005 12:44:17 GMT -5
ah, never thought of that. saves time i guess
|
|
|
Post by Bigfoot on Apr 3, 2005 19:56:34 GMT -5
I'm tossing this Idea, I cant get the moving left and right platform thing for when it moves away from the character for the character to fall right away! but thanx for the help anyone.
|
|
|
Post by NASH7777 on Apr 3, 2005 20:38:35 GMT -5
I got an elevation one to work in my game perfect. It's in my Zelda game! I also have an idea that will work for the side to side ones. Basically it will move but the party sorta has to move with it. Basically it will move just so long as that the party isn't at it's edges to which direction it's moving. So like: XXXXX ZZZZZ ZZZZZ
And the platform is moving down, south to the bottom of your screen from a sky view.
So after each move of the platform it will check to see if your on the X spot if you are it won't move, otherwise it will. You only need to check the end that they can fall of which depends on which direction the platform is moving.
|
|
|
Post by The Final Rune on Apr 4, 2005 17:25:50 GMT -5
I don't get it, but I'd like to be able to use features like this in my game.
|
|