The Daily Click ::. Forums ::. Klik Coding Help ::. Platform Movement Object + Mouse
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
10th December, 2007 at 18:02:00 -

Why can't I have it so clicking will jump?

Object on ground
+ Shift pressed
--JUMP

Works


Object on ground
+ Right click
--JUMP

Will not work


Why is this? ;_;

 
Image

Tell 'em Babs is 'ere...

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
10th December, 2007 at 18:13:48 -

Try reversing it, like-a-da-so:

On Right-Click
+ Object on Ground
-- Jump

The 'On Right CLick' condition is a triggered condition, meaning it must come first. In MMF2 they should appear red.

 
191 / 9999 * 7 + 191 * 7

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 December, 2007 at 18:26:03 -

The PMO object is godly, if you experiment with it you can achieve quite a lot

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
10th December, 2007 at 18:38:42 -

Still no luck ;_;

It seems the mouse movement is also very glitchy. I have a cursor which the player object "Always" looks in the durection of and holding left mouse button makes it move in that direction. However if the cursor is too far up or down from the player object it doesn't reconise it ;____;

 
Image

Tell 'em Babs is 'ere...

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 December, 2007 at 18:47:37 -

Ill try and edit that example I made you ages ago.. Why didnt you just ask me this on msn? &&

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
10th December, 2007 at 20:17:01 -

Image

You're sure that code doesn't work? (You need an obstacle BG of course )

EDIT: I meant to add a "it worked for me"

Image Edited by the Author.

 
Image
http://bfollington.tumblr.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!
11th December, 2007 at 11:10:11 -


Originally Posted by -Adama Claus-
The PMO object is godly, if you experiment with it you can achieve quite a lot



Like, games!

 
http://www.SilverNova.co.uk


-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
11th December, 2007 at 18:17:16 -

I've uplaoded the file. If the cursor is a few pixel too high of the characters position, it doesn't recognize the action.
You'll see what I mean...

http://www.verchiesoft.com/blobadventure.mfa

Image Edited by the Author.

 
Image

Tell 'em Babs is 'ere...

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
11th December, 2007 at 19:57:00 -

Wow that's an odd one slink! Taking a look now...

EDIT: BAM! http://www.silvernova.co.uk/images/ben_dp/blobadventure.mfa

Image Edited by the Author.

 
Image
http://bfollington.tumblr.com

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
14th December, 2007 at 09:32:55 -

BEN! Thank you, that works perfectly!
I had no idea you could just set an object to the position of the cursor, without setting mouse movement to it. Thanks!

 
Image

Tell 'em Babs is 'ere...

--Tom--



Registered
  06/07/2006
Points
  155
14th December, 2007 at 10:52:09 -


Originally Posted by -Adama Claus-
The PMO object is godly, if you experiment with it you can achieve quite a lot



I agree, it's an excellent little tool that makes it about a thousand times easier to create a decent platform engine! I always use it because it speeds up development significantly, and you can do pretty much anything with it if you know how. :]

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
15th December, 2007 at 06:50:46 -

<3 Slink

 
Image
http://bfollington.tumblr.com
   

Post Reply



 



Advertisement

Worth A Click