Search found 3 matches

by ellessaar
Sun Feb 02, 2014 9:33 pm
Forum: Support and Development
Topic: [SOLVED] Problem with pictured menu
Replies: 4
Views: 2669

Re: Problem with pictured menu

Thank you so much, it works fine! :)
by ellessaar
Sun Feb 02, 2014 9:11 pm
Forum: Support and Development
Topic: [SOLVED] Problem with pictured menu
Replies: 4
Views: 2669

Re: Problem with pictured menu

lachlaan wrote:Try passing the mouse X and Y coordinates to the check function instead of just using the same name in the separate modules.

Line 43 in menu.lua changes to

Code: Select all

function button_check(mouseX, mouseY)
And line 46 of main.lua changes to

Code: Select all

      button_check(mouseX, mouseY)
Nothing's happening ;/
by ellessaar
Sun Feb 02, 2014 7:57 pm
Forum: Support and Development
Topic: [SOLVED] Problem with pictured menu
Replies: 4
Views: 2669

[SOLVED] Problem with pictured menu

How can I make menu pictures change? I mean: I've got a menu (table) and each button in this menu is an image. I want to change image into e.g. a bigger one if the mouse position is on the picture. The question is ... ... how? I made some button_check() function checking the position of mouseX &...