The Daily Click ::. Forums ::. Non-Klik Coding Help ::. Platform Movement Object
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
10th August, 2008 at 14:30:28 -

I was wondering how to wall jump and swim in water while using the Platform Movement Object. Is it possible???

 
n/a

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
10th August, 2008 at 15:03:55 -

Indeed, Coal uses the PMO. Also my compo game uses it, and you can swim. Basically swimming is just lower gravity, with endless jumping. Wall bouncing needs sensors on each side of the guy or else it won't work I think.

 
You can log off any time you like, but you can't ever leave.

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
10th August, 2008 at 15:24:05 -

Turn flags on and off for when the player's in/out of the water.

 
n/a

Introversity

Denture Disciple

Registered
  07/01/2007
Points
  42

Hero of TimeHas Donated, Thank You!
10th August, 2008 at 16:50:08 -

Eeeeew, your first mistake is using the Platform Movement Object.

But yeah, water is always low gravity, and then either low jump strength and unlimited jumps or a single jump of normal jump strength (like in a lot of games with robots, like Megaman, where they sink but can jump extra high).

And then wall jump either have sensors on the sides of the character, or on the sides of the walls (which I find easier, but only because my walls are already covered in sensors). When the sensor is in contact with the person/wall then you slow your fall (holding onto the wall, usually when pressing a button towards the wall) and/or get an extra jump as long as you're in contact with it.

Oh, and don't use the Platform Movement Object, it's three parts useful and one part pure evil.

 
Loves cute animals.

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
10th August, 2008 at 16:52:48 -

"Oh, and don't use the Platform Movement Object, it's three parts useful and one part pure evil."

Don't speak such crap. The PMO is an awesome object, easy to use and manipulate and feels a damn site better than 90% of custom platform movements Ive ever played. I think you'll find quite a few people agree with me that it's a good object to use.

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
10th August, 2008 at 16:54:26 -

PMO is brilliant.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
10th August, 2008 at 17:16:47 -

Thanks for the help Also, I bet I could figure this out sorta fast, but how to double jump???

 
n/a

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
10th August, 2008 at 18:10:29 -

This should help

http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=14414&Number=102426#Post102426

 
n/a

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
10th August, 2008 at 18:35:39 -

Yes if you want to make any platform game you should definaty use the PMO.

+ Its completly customizable.

Badly spelled.

 
All your base are in another castle, take this.

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
10th August, 2008 at 22:16:51 -



Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
10th August, 2008 at 22:42:56 -

The double jump works fine, but I still can't really make a wall jump

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
10th August, 2008 at 23:06:33 -

I've never used the PMO, but the only thing you should have to do is copy the code for the original jump except change the code for him being on the ground to not being on the ground + touching a wall. That's how you would do a custom one anyways.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

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
10th August, 2008 at 23:14:03 -


Originally Posted by Jon222
The double jump works fine, but I still can't really make a wall jump



Id have side sensors that only position themselves at the players sides when hes falling, and are in the same direction of the player... so

Hes falling, facing left, there's a detector on the left side of him. If it overlaps the backdrop and user presses jump again, he changes direction and jumps, causing the himself and the sensor to face right, ready to overlap the right wall... lol hope that made sense.. I think that should kinda work.

 
n/a

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
10th August, 2008 at 23:44:50 -

I love how flexable the PMO object is!

 
You can log off any time you like, but you can't ever leave.

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
10th August, 2008 at 23:58:20 -


Originally Posted by -Adam-

Originally Posted by Jon222
The double jump works fine, but I still can't really make a wall jump



Id have side sensors that only position themselves at the players sides when hes falling, and are in the same direction of the player... so

Hes falling, facing left, there's a detector on the left side of him. If it overlaps the backdrop and user presses jump again, he changes direction and jumps, causing the himself and the sensor to face right, ready to overlap the right wall... lol hope that made sense.. I think that should kinda work.


I'm preety sure I get what you mean

 
n/a

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
11th August, 2008 at 00:02:46 -

http://w17.easy-share.com/1701186752.html

I made an example... kinda works..

 
n/a

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
11th August, 2008 at 03:14:49 -

Awsome adam. I'm gonna use it. I swithced to custom movement recently just cause I thought this wouldn't work.

 
All your base are in another castle, take this.

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
11th August, 2008 at 03:41:10 -

Well, like Klikmaster pointed out on MSN, its pretty lame wall jumping but it does the job ;__;

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
11th August, 2008 at 04:35:48 -

It works pretty well Adam but do I have to create that detector thing that many times???

Also I don't like not being able to jump on a single wall as the detector doesn't let you.

Image Edited by the Author.

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
11th August, 2008 at 12:47:27 -

I merely suggested that the player jumps away from the wall as well as up, otherwise you have to do a lot of tedious floating through the air with the arrow keys

 
n/a

Introversity

Denture Disciple

Registered
  07/01/2007
Points
  42

Hero of TimeHas Donated, Thank You!
11th August, 2008 at 13:37:08 -

*shrugs*

I didn't mean to be rude, the PMO is a lot better than most custom movement I've seen, and if you're uncomfortable making your own then definitely use the PMO. But once you start needing more complex actions then it's a good idea to consider making your own. If you can't, then no big, the community is always here to help you exploit the PMO.

Also, that example game was kind of confusing.

Also, Klikmaster is right, when you wall jump there needs to be some horizontal velocity added, pushing you away from the wall.

 
Loves cute animals.

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
11th August, 2008 at 13:58:57 -

That example was very simple and crappy, as I made it in about 10 mins.

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
11th August, 2008 at 15:48:17 -


Originally Posted by Introversity
*shrugs*

I didn't mean to be rude, the PMO is a lot better than most custom movement I've seen, and if you're uncomfortable making your own then definitely use the PMO. But once you start needing more complex actions then it's a good idea to consider making your own. If you can't, then no big, the community is always here to help you exploit the PMO.

Also, that example game was kind of confusing.

Also, Klikmaster is right, when you wall jump there needs to be some horizontal velocity added, pushing you away from the wall.


You're probably right, I'm just bad at making a platform movement engine and once I get more confortable with MM2 I'll try

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
11th August, 2008 at 15:49:05 -


Originally Posted by -Adam-
That example was very simple and crappy, as I made it in about 10 mins.


It was good for ten minutes, though, especially if you made those sprites right then

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
21st August, 2008 at 04:08:32 -

I've figured out the Wall Jump by my self pretty much. Thanks for all the help Here's the link to my example:

http://www.mediafire.com/download.php?zyr3kfsalin

 
n/a
   

Post Reply



 



Advertisement

Worth A Click