Search found 3 matches
- Sun Feb 02, 2014 9:33 pm
- Forum: Support and Development
- Topic: [SOLVED] Problem with pictured menu
- Replies: 4
- Views: 2793
Re: Problem with pictured menu
Thank you so much, it works fine!
- Sun Feb 02, 2014 9:11 pm
- Forum: Support and Development
- Topic: [SOLVED] Problem with pictured menu
- Replies: 4
- Views: 2793
Re: Problem with pictured menu
Nothing's happening ;/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 toAnd line 46 of main.lua changes toCode: Select all
function button_check(mouseX, mouseY)
Code: Select all
button_check(mouseX, mouseY)
- Sun Feb 02, 2014 7:57 pm
- Forum: Support and Development
- Topic: [SOLVED] Problem with pictured menu
- Replies: 4
- Views: 2793
[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 &...