Hello everyone, I'm trying to develop this custom buttons so they can have more effects on in and make the game more attractive you know? Those type of buttons that change shape, or color, or size whenever the mouse is over it or clicking it.
For now I'm using a code like, "If mouse is over Button" Change Button frame to frame(1).
else frame(0).
This works like a charm... sometimes. Whenever I put the mouse over the button it change it's frame, but sometimes (usually at the start of the layout) when I put the mouse over the button ALL the buttons change frame at the same time. Other times the button doesn't change back to frame(0) when the cursor is not over.
When we all know that for a good game we need a interface that works the same way 100% of the time, this unstable thing that sometimes work and sometimes doesn't destroy the game completely.
Have anyone ever tried anything like this, or gone throw the same kind of problem? Any tips or suggestions about it?
Thank you for your time