The Daily Click ::. Forums ::. Klik Coding Help ::. Looking for PMO (Platform Movement Object) Tutorials
 

Post Reply  Post Oekaki 
 

Posted By Message

Mr G



Registered
  31/12/2008
Points
  178

VIP MemberPS3 OwnerI like Aliens!Attention GetterDos Rules!
20th February, 2009 at 11:45:22 -

I have been using custom movements, but can someone direct me to a full Platform Movement Object Tutorial (with jumping, dashing, double jumping, etc) ?


I have been looking everywhere but couldn't find any :S

 
Image

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

Chloe Sagal

under the influence of FUN

Registered
  19/02/2009
Points
  607

Orange
20th February, 2009 at 15:31:27 -

i couldnt find any tutorials either, but from what i learned so far you need to have the player detect collisions by using the event
(pmo)test for obstacle overlap
(player) whichever collision you want(backdrop, actives, ect)
(pmo) selected object overlaps obstacle

you also need to remeber to select the object, usually easiest from the start of the frame (it doesnt like multiple objects, so you would most likely have to have one for each person using one)

then to make them jump just have a
(pmo) selected object is standing on ground
(controls) player presses whatever
(pmo) jump

if you want it to hold just do
(controls) player holds whatever
(pmo) hold jump

the double jump do the same event as the initial jump but negate the player is standing on ground, place it under the control command then add the flag 0 is off condition. then add turns on flag 0 in the actions. afterwards add a new event that states when the player is standing on ground then set flag 0 off.

dashing is something else, ill get back to you on that.

 
Patreon: http://www.patreon.com/chloesagal
Twitter: https://twitter.com/ChloeSagal

Jess Bowers

Cake > Pie

Registered
  09/01/2009
Points
  310

Has Donated, Thank You!GOTM FEB - 2010 - WINNER!GOTW Winner!
20th February, 2009 at 15:47:10 -

Assault Andy made this tutorial awhile back:

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

I'm not sure, but he might even have some more information about the PMO now. He's pretty darn good at coding with it!

 

Chloe Sagal

under the influence of FUN

Registered
  19/02/2009
Points
  607

Orange
20th February, 2009 at 15:55:39 -

that was a great tutorial! thanks for posting it, it gives me an idea. although with the hold jump code, he doesnt need the not overlaping anything part, i dont have it and it doesnt interfere at all. but i suppose it doesnt hurt. i also wish he went more into the ai as far as multiple instances, because i cant get that to work right.

 
Patreon: http://www.patreon.com/chloesagal
Twitter: https://twitter.com/ChloeSagal

Mr G



Registered
  31/12/2008
Points
  178

VIP MemberPS3 OwnerI like Aliens!Attention GetterDos Rules!
20th February, 2009 at 16:22:02 -

Although it's for MMF 1.5 version of PMO, I think the system is practically the same. Thanks for the link

Thanks for your description too chloe

 
Image

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

Chloe Sagal

under the influence of FUN

Registered
  19/02/2009
Points
  607

Orange
20th February, 2009 at 16:28:30 -

youre welcom! i have a neat little stair trick in the other thread, you should check that out too!

 
Patreon: http://www.patreon.com/chloesagal
Twitter: https://twitter.com/ChloeSagal

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
20th February, 2009 at 16:32:52 -

Some people can even get the PMO to operate their enemies' movements too. I should really look into the PMO one of these days.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
20th February, 2009 at 16:45:52 -

PMO is quite self-explanatory. If you take a look at the programming in the PMO example files that come with the extension, they're fairly easy to make sense of.

And yes, PMO can control enemies, Nifflas made an example not long ago:

http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=16723&Number=118309#Post118309

 
n/a

Chloe Sagal

under the influence of FUN

Registered
  19/02/2009
Points
  607

Orange
20th February, 2009 at 17:06:19 -

!!! i was actually going to make a post about that, but that tutorial has everything i need! thanks adam!

see, youre really a sweetheart, everyone else is a liar!

 
Patreon: http://www.patreon.com/chloesagal
Twitter: https://twitter.com/ChloeSagal

Mr G



Registered
  31/12/2008
Points
  178

VIP MemberPS3 OwnerI like Aliens!Attention GetterDos Rules!
20th February, 2009 at 19:55:11 -

Thanks for the link Adam, the engine looks pretty good.

@Chloe: Replied to your thread, with a useful engine

 
Image

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

Post Reply



 



Advertisement

Worth A Click