• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Button fault

Status
Not open for further replies.

Lucifer XIII

Fisherman
Not sure if you know about this already but when you try select something, you have to click the button without clicking the button itself. makes it kinda awkward when trying to shop.

Id upload a screenshot but you cant see the mouse pointer. Basically, when you try to press a button such as the buy icon in a shop, you have to click either to the far right of the of the button (not on the button itself) or to the left of the button. it keeps alternating between the two when the fault kicks in. when trying to click the button tabs in a shop such as the pokeball icon, it gets very hard to find where the button will actually activate and when the fault happens so you have to active the button to the left of the button, The repel tab becomes virtually impossable to hit as the mouse pointer cant get far enough to the left to activate the button. It doesn't do it when you first start the game, but as you continue to play, it starts to mess up like this.
 

Falkner

Active Member
Huh, lol in the last update ot worked fine...
Dunno why it doesn't work properly, I haven't tested it.
 

Lucifer XIII

Fisherman
its done it with all the updates and i dont think its to do with the window. it works fine when you start playing but over time slowly faults to the sides
 

Prince Vade

Champion
Trusted Support
Retired Mod
What version are you running?
Please include that in the title for future reference btw
 

Shou Liengod

Active Member
Trusted Support
i k now what he's talking about. like when you set the Game's Window to a certain resolution, like stretching the Window, the buttons become unpressable, but able to press them when pressing away from it. hard to explain...
 

Darkfire

Administrator
Administrator
P3D Developer
Oh i get it
Nilllzz probably has the button location set at a certain set of pixels or something not at a percent of the window?
maybe?
or it is accidentally set like that (or is it something i havent said)
 

DracoHouston

Kolben Developer
Contributor
Oh i get it
Nilllzz probably has the button location set at a certain set of pixels or something not at a percent of the window?
maybe?
or it is accidentally set like that (or is it something i havent said)
how it usually works is he makes a button draw with math like screen width / 4 and screen height /2 and a few constants and stuff thrown in, then the update loop checks if the mouse cursor is where a button would be and if they were pressing left mouse button last update tick but aren't now (released)

it's a problem, yeah. i'm already working on it :) i've made a little system of widgets that scale with resolution and trigger events for input
 

Lucifer XIII

Fisherman
Although, i have noticed you seem to get the problem as soon as you start the game in full screen mode. (it does it in windowed mode over time but full screen mode, it does it straight from the main menu.) it not so bad at first in full screen, it tends to just shift a couple of cm to the left. It just as you keep playing it shifts further and further along until it get to the point where you cant tell where you need to click to activate the button. And sometimes, as in shopping, it can be almost impossable hit hit any of the side buttons due to the mouse not being able to get far enough of the screen to activate them.
 

Lucifer XIII

Fisherman
Still in [0.30]

2013-04-10_07.31.09.png

And this is what happens to the button positions too. cant click them because the button is in the right place, but the clicky thing has shifted to the left in this case. The clear bit on the right shows you how far you have to go left of a button to activate a button.
 

DracoHouston

Kolben Developer
Contributor
Still in [0.30]


And this is what happens to the button positions too. cant click them because the button is in the right place, but the clicky thing has shifted to the left in this case. The clear bit on the right shows you how far you have to go left of a button to activate a button.
yeah, don't worry, i got a solution for this stuff cooking atm, don't know what update it'll be in. rollout of the solution will take a while because it basically requires rewriting most of the ui
 
Status
Not open for further replies.
Top