button collision box issue [solved]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

button collision box issue [solved]

Post by Doctory »

hello everyone.
there seems to be an issue with my button collision box.
if you click the very upper left corner of the button, it will move downwards and not come back up when you release it.
i didnt check if the same goes for all corners.

EDIT: fixed by adding a boolean clicked and enabling it when you click the button. now instead of checking if the mouse is on the button when it is released, it checks if it the boolean clicked is enabled.

.love removed
Post Reply

Who is online

Users browsing this forum: Bing [Bot], CPop and 59 guests