I really feel like I'm missing something here.. I've been trying to make an active object that will send you to another frame if clicked but will open up another menu if long pressed. Is this not a possibility or am I just not getting clever enough with my events?
Long click / long press?
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
I did a test and i got it working doing it like this
1. Repeat while left mousekey is pressed -----------> Add 1 to alterable value A + Set alterable value B to 1 (On an active object of your choice)
2. (negate)Repeat while left mouse key is pressed -----------> Set alterable value A to 0 + Set alterable value B to 0
3. Alterable value A =10
+
Alterable Value b =1 ------------> open menu4. User clicks with left button on active object -------> Go to frame
try that and see if it does anything for you
of course you can exchange that alterable value to be 25 instead of 10 if you want a longer press. Worked like a charm here!
-
Hm.. it makes perfect sense but for some reason I'm not getting the desired result! As soon as I click the left mouse to hold it over the active object it immediately sends me to the next frame. I'm trying to debug it but I can't come up with an answer just yet. Here's what I've tried:
Repeat while left mouse-key is pressed AND mouse pointer is over "active1"
>add 1 to alterable value a
>set alterable value b to 1(negate)Repeat while left mouse-key is pressed
>set alterable value a to 0
>set alterable value b to 0Alterable Value a of "active1" = 10 AND alterable value b of "active1" = 1
>Create "menu"User clicks with left mouse button on "active1" AND alterable value b of "active1" = 0
>Jump to frame "2"I think I have to prevent it from looping to the click event but still allow the click event to happen somehow I'm just not seeing a clean way of doing that. Any ideas?
-
Hmm...well to be completely honest i never tried to open a menu...i had on normal click just play a soundand on longer press endthe application but i figured it would still work...just change what you want to happen
-
Quick and very dirty example using the multi touch object
-
Hi, I'm sorry for bumping up a very old thread.
I'm trying to find out how to create a long press command as well.To jn2002dk: I can download your .mfa file, but Fusion 2.5 says it must have your .mfw in order to open it. Do you still have that .mfw file? Or is it possible to explain how to do a long press command here?
Thank you!
If I'm not allowed to bump old threads, apologies!
-
Try this tutorial
Please login to see this picture.
Please login to see this link. -
Thank you very much! I'm watching it now!
-
I see Sparckman's long press command allows player to click anywhere. But if I would like the player to click and hold only on a specific object, what would be the proper way to do it?
I've added "When mouse click on left on Object", but it doesn't seem to restrict the player's clicking position. -
here is an example from my new examples site.
Please login to see this link. -
This is awesome! It works! Thank you so much, you're awesome Sparckman!
-
Hello! Old post, but I needed a long press on my app. Thanks for your examples, I have another solution without multitouch object
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!