-
Moving Platforms
View MFA
I made a circular moving platform, and now I want to combine it with DavidN's platform movement. I've tried some stuff, and I figured out the X coordinate at least (Line 12):
View MFA with working X positioning
I've tried moving the event around, putting in values for the gravity and putting in values for the Y position and nothing seems to work!
Actually, even the X won't work the way I want it to - if you make it so that the detector also has to be overlapping the invisible (well, visible for now) pink platform too, the X positioning fails.
-
Re: Moving Platforms
Ricky, When I tried your file there are 3 objects that are not in the frame (shows up as the bug in the event editor) left, right and spring
BTW: My PEWP can do all that (thought I'd put that plug in there ;) )
-
Re: Moving Platforms
Ah cool.
Yes I know those objects are missing. It shouldn't matter.
-
Re: Moving Platforms
A few more things, you draw platforms by clicking and releasing, then test by pressing enter.
-
Re: Moving Platforms
Well, you should store an alterable value that is the difference in Y position between the Old Y and the Current Y, or New Y. Then just add that number to the player's position while they are on the platform ;)
-
Re: Moving Platforms
I did.
It failed - want proof?
[size:8pt]And why are you not joining the chat, it's getting really annoying waiting for replies ;_;[/size]
-
Re: Moving Platforms
View MFA
Latest attempt (and added comments)
-
Re: Moving Platforms
Sorry this took so long, I was busy doing other things.
Here you go RickyRombo I fixed it for you. I hope this makes you happy.
http://mfa.aquadasoft.com/view/1275877319-Moving_Platforms_for_RickyRombo
-
Re: Moving Platforms
You do realize that fastloop names can have spaces in them, right? ;)
-
Re: Moving Platforms
-
Re: Moving Platforms
Aw I was soo excited to see it, and as I was playing with it I was like, THIS IS AWESOME!
Then I made the detector and the platform (pink one) invisible and tested it some more, and at random times the player would just fall throw :(
-
Re: Moving Platforms
I'm really appreciating all the help guys! Thanks a ton :)
After a night to think about it, I think I'm close:
http://mfa.aquadasoft.com/view/1275964545-Platforms
I used some ideas I gathered from lost_child, LB and Viewtiful, and somehow, it worked. Now I just need to somehow make the jumping relative so that you jump higher, and then make the animations work. [strike]I already made an attempt by using a flag to indicate the change, but I tried the same thing for walking and it didn't seem to work?[/strike]
I figured it out! I changed the order because each time it would do the jumping animation before the stopped or walking, so the walking animation got reset each time. Time for another upload: View MFA
Alright, now jumping relativity, then I'm done :D !!
I'm making great progress! :D thanks again for all the interesting help!