Posted By
|
Message
|
curtaineater
Registered 12/06/2003
Points 23
|
9th July, 2003 at 23:36:49 -
How do i make a floating platform that can move around and teh dude can still land on it, and stay on it. Also, is it possible so he can go through it if comming from the bottom, basically only landing on it from falling, not smashing into it by jumping.
PS. I would love to know how to do this with the standard platform movement in MMF if possible.
thanks pancakes
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
10th July, 2003 at 00:07:32 -
Which direction do you need the platform to go in?
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
|
curtaineater
Registered 12/06/2003
Points 23
|
10th July, 2003 at 03:13:18 -
itll be going left and right. i saw will since stupid MMF messed up and now whenever i run the game it doesnt load any objects...odd. so i gotta restart. oh well. i still need your help since i suck.
n/a
|
Matt Boothman The Nissan Micra of forum members
Registered 20/09/2002
Points 109
|
10th July, 2003 at 08:05:12 -
Basically you need to make a static active object and move it using internal flags e.g
- If 'platform' hits 'detector' (usually a black box): then toggle 'platform' flag one.
- 'Platform' Flag 1 is on: Set x position to x+2
+ every 0.05
Repeat that last event changing the flag to off and x-2.
To stay on the platform, you need to set your guy to move x-1 when the floor detector is on the platform...
- 'Floor' overlapping 'Platform': set (up counter) to 0
and also
- 'Floor' overlapping 'Platform': set guy x position to x+2
+ Internal Flag 1 is on: set animation to 'stopped'
+ Every 0.05
Repeat that for the other direction.
This will work for a custom-platform movement. Also you need to make it in your jump events so it can jump on a platform, you just add:
+ 'floor' is overlapping 'platform': set up to -n (n equals how high to jump).
+ Press jump
Hope this helps! xp
http://soundcloud.com/normbo - Listen to my music.
|
Joe.H Evil Faker
Registered 19/08/2002
Points 3305
|
10th July, 2003 at 08:23:17 -
Noodle, he asked for default movement, not custom movement. Altough your idea is 'fantastic and great' it's not default. The easiest way to move the platform is using path movement.
My signature is never too big!!!
|
Matt Boothman The Nissan Micra of forum members
Registered 20/09/2002
Points 109
|
10th July, 2003 at 14:06:42 -
I don't think it is. Making the path go exactly straight is annoying and you have to make a new object everytime you want a different path.
http://soundcloud.com/normbo - Listen to my music.
|
Rycon
Registered 20/09/2002
Points 996
|
14th July, 2003 at 15:21:27 -
to make things simple, if you ever need a platform to go up and down, and you want your guy to stay on it. do this:
Always = set Y position of GUY +1
set Y position of GUY -1
This refreshes your guy very fast, and has worked perfectly for me in the past for platforms taking the guy up and down.
We are the music makers, we are the dreamers of dreams...
|
|
|