How do I solve my mouse over problem ?

Get help using Construct 2

Post » Wed Mar 30, 2016 4:49 pm

Hi everyone,

I work for a client and I had to create a wheel game. The wheel must turn when a button is clicked.

here is the game project : http://nicolasbenigno.com/jeux/roulette/index.html

And the problem is : When you resize the game, the button clickable area is leaving ! (its possible to find it somewhere at the bottom right of the button ! depending on the resize ratio)

I have fullscreen mode set to off and the canvas is resized with css max-width:100%; and height:auto;

Besides, all the images are loaded from a distant server (wheel, button, etc...) and the game zone must be responsive.

Here is a snapshot of my code : http://nicolasbenigno.com/jeux/roulette/screenshot.png (for privacy)

So, is this a Construct 2 issue or is there another way to solve this problem ?
B
3
Posts: 2
Reputation: 179

Post » Thu Mar 31, 2016 3:38 pm

Up !

Maybe you don't have a solution at my problem, and another way to handle a mouse click on a sprite will be ok !

Cheers
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: Bootfit, Huemerson, jorgmaquoi, odiusfly, Yahoo [Bot] and 5 guests