The Daily Click ::. Forums ::. Klik Coding Help ::. Doing Anti-gravity with the PMO
 

Post Reply  Post Oekaki 
 

Posted By Message

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
10th July, 2007 at 03:15:23 -

Is it possible to do anti gravity with the Platform Movement Object? You know, walking on the ceilings. Sorry if it's been asked before but me and Ben have tried but both of us cant get the character to jump properly...

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
10th July, 2007 at 07:06:17 -

You could try entering a negative value for gravity in the movement setup. Or just change the Y velocity variable directly.

Or... *elitist asshat* just make your own engine!

 
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 July, 2007 at 07:12:15 -

Have the PMO set the gravity, jump strength and jump hold to 3 external values (just on a regular active object). When you want to flip gravity just tell the PMO to get negate the values (add "*-1" to the code).

Ba da bing.

 
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

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
10th July, 2007 at 12:12:48 -

Ba da boom.

(@Ben and Jake: I coulda told you that! -_- anyways..)

 
http://www.SilverNova.co.uk


The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
10th July, 2007 at 14:57:08 -

Its perfectly possible, the original MSD had that feature in the last level... though few ever got to it. Sadly Ive also lost the source at the moment, so I cant show you.

 
n/a

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
10th July, 2007 at 19:42:10 -

Yes, Mr Stumps is incredible difficult Circy, but good, I got upto the place after the tree top zone and game-overed

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

Jake G



Registered
  06/03/2010
Points
  782

Wii OwnerVIP Member
10th July, 2007 at 19:43:27 -

Oh and thanks everyone!
I like using the PMO cause I suck at programming...

 
Visit www.voltic.com.au - you probably won't regret it!

~Gradually getting less bad at making games~

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
10th July, 2007 at 19:44:16 -

@ Everyone: I did THAT. That's common sense ¬_¬. It jumps but doesn't decelerate in the air properly.

 
Image
http://bfollington.tumblr.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
10th July, 2007 at 23:06:28 -

Here's what I posted on Clickteam yesterday when you asked Maybe you could post on one site at a time hehe.

"I think you could achieve this by setting the gravity and the jump strength to 0. Then you could make it so that whenever you press jump and the player is standing on the ground(ceiling in this case ) then it sets the 'additional y velocity' to a number like 300. You would then have another event saying: If additional y velocity is greater than -20, then add 10 to it. I think that should work but I haven't tested it. "

 
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

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
11th July, 2007 at 00:22:09 -

lol yeah thanks Andy .

Tried that but when subtracting from it, it won't drop below zero. I should start with a new document really to test this out :\. But we might just use a custom engine.

 
Image
http://bfollington.tumblr.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
11th July, 2007 at 03:15:42 -

I was interested to see if my method worked. So I made the example:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=47465&page=0#Post47465

It uses two detectors, but it seems to work, and it's only about 5 extra events.

I hope it helps.

Image Edited by an Administrator.

 
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

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
11th July, 2007 at 05:41:29 -

How queer. Mine works, I tried it on a little game I was working on back in MMF1.5. unless the PMO has changed a lot since then?

 
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
   

Post Reply



 



Advertisement

Worth A Click