The Daily Click ::. Forums ::. Klik Coding Help ::. Moving Platforms with the Platform Movement Object?
 

Post Reply  Post Oekaki 
 

Posted By Message

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
23rd May, 2009 at 23:58:28 -

I know I've been asking a lot of seemingly stupid questions but I can't for the life of me get them to work smoothly especially when scrolling vertically at the same time. Does anyone have a working example of this? I also want the player to be able to jump through them and down through them by holding down.

Thanks in advance.

 
Image

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
24th May, 2009 at 01:05:43 -

hmm, this question come up about once a month, lets see if i can find the older posts.

 
-

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
24th May, 2009 at 01:07:57 -

here's an artical:
http://www.create-games.com/article.asp?id=1979
and here's an open source game with moving platforms:
http://www.create-games.com/download.asp?id=7308
and another
http://rickygames.googlepages.com/ladders.zip


Edited by Ricky

 
-

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
24th May, 2009 at 01:24:12 -

I left out one important detail. I'm using the platform movement object. Thanks for finding examples, though.

 
Image

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
24th May, 2009 at 01:44:08 -

I think the article will still work with pmo

 
-

Billybobjoe198



Registered
  12/01/2007
Points
  221
24th May, 2009 at 02:45:00 -

If you're using MMF 1.5 I can make one real quick. Cause I'm too cool to upgrade.

 
n/a

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
24th May, 2009 at 04:06:34 -

I'd like to see it, thanks.

 
Image

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
24th May, 2009 at 04:19:25 -


Originally Posted by Billybobjoe198
If you're using MMF 1.5 I can make one real quick. Cause I'm too cool to upgrade.



You're only too cool to upgrade if you still use TGF1. MMF1.5... you're just being silly.

 

  		
  		

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
24th May, 2009 at 04:48:31 -

And if someone has a example from the article working I'd like to see that too. Again, I must be missing some as I keep falling through the platform even with that code.

 
Image

MrPineapple

the fruitiest word i know

Registered
  14/10/2008
Points
  1449

VIP Member
24th May, 2009 at 18:19:41 -

make sure your player doesnt have the built in platform movement still set... thats the mistake i made

 
i am STILL a talking pineapple!

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
24th May, 2009 at 19:09:20 -

No, I'm using the platform movement object.

 
Image

MrPineapple

the fruitiest word i know

Registered
  14/10/2008
Points
  1449

VIP Member
24th May, 2009 at 20:20:38 -

yeah well i had both at one point, which is why my player fell through moving platforms.. took me ages to work out what was wrong

 
i am STILL a talking pineapple!

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
24th May, 2009 at 20:24:36 -


Originally Posted by OldManClayton

Originally Posted by Billybobjoe198
If you're using MMF 1.5 I can make one real quick. Cause I'm too cool to upgrade.



You're only too cool to upgrade if you still use TGF1. MMF1.5... you're just being silly.



Isn't MMF1.5 just a less stable version of tgf, with a bunch of extensions?

 
-

Smirnoff



Registered
  14/05/2009
Points
  356

VIP MemberI am an April Fool
24th May, 2009 at 20:57:30 -


Originally Posted by MrPineapple
yeah well i had both at one point, which is why my player fell through moving platforms.. took me ages to work out what was wrong



Ah. I have nothing set to the player object. Just the PMO. Does anyone have a working example of moving platforms that you can jump through?

 
Image

Jess Bowers

Cake > Pie

Registered
  09/01/2009
Points
  310

Has Donated, Thank You!GOTM FEB - 2010 - WINNER!GOTW Winner!
26th May, 2009 at 21:07:55 -


Originally Posted by Smirnoff
Does anyone have a working example of moving platforms that you can jump through?



Hey Smirnoff,

Assault Andy, one of the administrators on this site, is very talented with the Platform Movement Object. He developed a core engine for our game, Captain Plokey, using the PMO. He also wrote one of the very first tutorials on the PMO back in 2003:

http://www.clickteam.info/kb/start/index.php?showtopic=190

As for an example, I took Andy's core engine for Captain Plokey and inserted the graphics I created for my Custom Platform Movement engine. I also organized the code using the same system I had in the CPM engine:

http://jessandmichelle.com/files/plokey/PlatformMovement-PMO-AssaultAndy.mfa

This engine includes most of the features you'd want in a basic platform engine:
Walking
Jumping (variable height)
Springs
Conveyors
Vertical Moving Platforms
Horizontal Moving Platforms
Slopes (via the PMO)

If you want more advanced features (e.g. ladders, etc.), you may be able to strip some of them from my CPM engine (or others) and (with some modification) insert them into the PMO engine. Here's the CPM engine I'm working on:

http://www.create-games.com/project.asp?id=1571


 
   

Post Reply



 



Advertisement

Worth A Click