The Daily Click ::. Forums ::. Klik Coding Help ::. I can't use the mouse buttons!!! can someone please help?
 

Post Reply  Post Oekaki 
 

Posted By Message

Va1entine



Registered
  14/12/2003
Points
  367

Has Donated, Thank You!360 Owner
23rd February, 2008 at 08:04:38 -


I've replaced the mouse cursor with TGF movement mouse option. Now i'm unable to use the mouse left and right button in the game, i have since accepted this scenario however i have recently played "War Of Antarctica" and this guys has made his own cursor but yet he's still able to take full advantage of the left are right click buttons on the mouse! Can anyone please advise on how you do this?

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
23rd February, 2008 at 11:28:40 -

I had this problem a while ago, all you need to know is that the built in mouse movement it shit.

just create a normal active object and make it follow the mouse cursor.

 
.

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
23rd February, 2008 at 11:46:52 -

I agree with AndyUK on this one, I also had similar problems a few months back.

 
Image

Tell 'em Babs is 'ere...

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
23rd February, 2008 at 12:55:03 -

also if you have anything follow anything else put the following events at the very end. othewise I've noticed thing lag behind what its following.


 
n/a

Va1entine



Registered
  14/12/2003
Points
  367

Has Donated, Thank You!360 Owner
23rd February, 2008 at 17:12:00 -

I appreciate your help Andy as always, but there isn't an option to follow the mouse pointer! I'm useing the rule

Always (then i tell object A to) but theres no option to follow the mouse pointer, am i missing somthing Andy? I've checked in TGF & MMF 2!

 
n/a

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
23rd February, 2008 at 17:28:45 -

Image
(for 4 words)

 
-

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
23rd February, 2008 at 18:21:26 -

as ricky visually said.

+always
-set objectx to Xmouse
-set objecty to Ymouse

and if you dont want the mouse to show add

-hide mouse pointer

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
24th February, 2008 at 03:24:15 -

Well the answer to the initial problem is that you need to use "User pressed Fire 1" as left click etc. But echoing what everyone's said, make your own.

 
Image
http://bfollington.tumblr.com

Va1entine



Registered
  14/12/2003
Points
  367

Has Donated, Thank You!360 Owner
24th February, 2008 at 12:01:04 -

So action point: Always
Effect: (object X) set X position to "xmouse" & set Y position to "Ymouse"
Effect: Hide Mouse pointer

This is great Ricky, cheers for that! This option works in MMF2 but how do you do this in TGF is there away arround this problem? TGF doesn't recognize the codes "xmouse" and "Ymouse"!

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
24th February, 2008 at 14:15:45 -

Aha! i know there was a way to follow the mouse, lol

 
.

nim



Registered
  17/05/2002
Points
  7233
24th February, 2008 at 14:44:03 -


Originally Posted by Va1entine
So action point: Always
Effect: (object X) set X position to "xmouse" & set Y position to "Ymouse"
Effect: Hide Mouse pointer

This is great Ricky, cheers for that! This option works in MMF2 but how do you do this in TGF is there away arround this problem? TGF doesn't recognize the codes "xmouse" and "Ymouse"!



TGF should recognise XMouse and YMouse. Have you tried removing the quotes?

 
//

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 February, 2008 at 15:10:27 -

I found an old extension that recognizes mouse position. I've never used this before
http://web.archive.org/web/20020918041556/www.cellosoft.com/extensions/extension.php?ext=Mouse

 
-

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
25th February, 2008 at 03:34:31 -

Erm .. wouldn't you just set an active to the mouse position, make that active invisible and then tell the character to always look in the direction of the invisible active ?

That's the only way to get it to work isn't it ? ... hey Ben, how do you set "user click Fire 1" as left click ?

That can be done ? ... I gots to find the old space game I was fiddling with sose I can play with it some more.



 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

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

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
25th February, 2008 at 04:05:11 -

... Err I was saying that using default mouse movement left click becomes Fire 1.

Also I know for a fact that TGF recognizes xmouse and ymouse as variables.

 
Image
http://bfollington.tumblr.com

Va1entine



Registered
  14/12/2003
Points
  367

Has Donated, Thank You!360 Owner
25th February, 2008 at 11:11:20 -

Ben your right, i can't explain it! The other day when i tried in MMF2 it worked but not in TGF, but today it worked in both formats! Anyway this problem has been solved thanks again guys!!!!!!!!!!!

I think Nim has the answer maybe i was putting in the quotation marks!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click