Posted By
|
Message
|
RapidFlash Savior of the Universe
Registered 14/05/2002
Points 2712
|
13th July, 2003 at 21:04:38 -
How do you make something move with a moving platform?
Also, does anyone know the speed to x ratio of an object with a path movement?
http://www.klik-me.com
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
14th July, 2003 at 01:06:51 -
Path? *Andy spews* - You can't change the X speed of it. But i guess you could subtract 1 from it's x every second, to make it move slower right.
Move with the moving platform - which way?
-Andy
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
RapidFlash Savior of the Universe
Registered 14/05/2002
Points 2712
|
14th July, 2003 at 11:11:21 -
Yeah, it's a path, though I may change it to an x movement in the code (e.g. value B of platform=2 --->set x pos to platform x pos +2).
The moving platform moves in both directions (left and right).
Another funny thing: In MMF, adding the same decimal of an x value goes a lot slower than subtracting that decimal of an x value.
http://www.klik-me.com
|
Joe.H Evil Faker
Registered 19/08/2002
Points 3305
|
14th July, 2003 at 13:37:27 -
create a detector thats a little below the feet of the character and do this:
. always : set X pos. of Character to X("Platform")
+ floor is overlapping platform
and that should work , but i havent tried it
My signature is never too big!!!
|
Rycon
Registered 20/09/2002
Points 996
|
14th July, 2003 at 14:53:10 -
Or, if your guy is colliding with the platform, set his X pos +2. or -2, depending on wich way the plat is going. So if the plat is going right, set value B to 1, left 2.
If value b of plat = 1, set X pos of GUY +2
if value b of plat = 2, set x pos of GUY -2
We are the music makers, we are the dreamers of dreams...
|
RapidFlash Savior of the Universe
Registered 14/05/2002
Points 2712
|
14th July, 2003 at 15:15:42 -
Thanks, Rycon and Podge. I'll probably try Rycon's way because the platform stops for about a second (just make a value = 3).
http://www.klik-me.com
|
RapidFlash Savior of the Universe
Registered 14/05/2002
Points 2712
|
14th July, 2003 at 17:56:36 -
I just realized that I have the exact code Rycon had except an additional part about the direction the person is facing. I got rid of the direction and it worked fine! Thanks to you anywho, Rycon.
http://www.klik-me.com
|
Rycon
Registered 20/09/2002
Points 996
|
15th July, 2003 at 09:24:55 -
Now this.. is what the daily click is all about.
We are the music makers, we are the dreamers of dreams...
|
Joshtek Administrator
The Archivist
Registered 02/01/2002
Points 3841
|
16th July, 2003 at 10:03:04 -
I made an example a while ago, if your bothered email joshtek@hotmail.com and I will try and find it
:: Joshtek ::
Oreos? GO! OREOS!
|
|
|