Highlighted

Button click in game not working with Mac laptop trackpad

Explorer ,
Jul 10, 2020

Copy link to clipboard

Copied

Hi

 

I have a simple Animate game with buttons needing to be pressed. When the game is played with a Mac laptop trackpad, "tapping" doesn't elicit the buttons to be pressed; this only happens with a hard pressing down until you can audibly hear the mechanical click of the trackpad, which doesn't come naturally to users. Game works fine with a mouse.

 

See attached video, I am alternating between a tap and a click.

 

Has anyone else had this problem?

 

Cheers

Views

23

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Button click in game not working with Mac laptop trackpad

Explorer ,
Jul 10, 2020

Copy link to clipboard

Copied

Hi

 

I have a simple Animate game with buttons needing to be pressed. When the game is played with a Mac laptop trackpad, "tapping" doesn't elicit the buttons to be pressed; this only happens with a hard pressing down until you can audibly hear the mechanical click of the trackpad, which doesn't come naturally to users. Game works fine with a mouse.

 

See attached video, I am alternating between a tap and a click.

 

Has anyone else had this problem?

 

Cheers

Views

24

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 10, 2020 0
Adobe Community Professional ,
Jul 11, 2020

Copy link to clipboard

Copied

use a mousedown event.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 11, 2020 1
Explorer ,
Jul 12, 2020

Copy link to clipboard

Copied

Thanks for the reply. It has revealed to me that the problem wasn't the click itself, but the fact that the animation for the button clicking doesn't always show, while the code does actually register the click. Looks like I'd better code the animation rather than place it on the Down state of the button.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 12, 2020 0
kglad LATEST
Adobe Community Professional ,
Jul 13, 2020

Copy link to clipboard

Copied

you're welcome.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 13, 2020 0