Search found 5 matches
- Sun Dec 08, 2024 9:38 am
- Forum: Support and Development
- Topic: Help with making a button
- Replies: 9
- Views: 2048
Re: Help with making a button
pauseMenu = {} pauseMenu.isVisible = false MenuP = {} require("music") MenuP.PauseM = love.graphics.newImage('Sprites/ButtonsPaused/PauseMenu.png') MenuP.PauseQ = love.graphics.newImage('Sprites/ButtonsPaused/PauseQuit.png') MenuP.PauseR = love.graphics.newImage('Sprites/ButtonsPaused/Paus...
- Sun Dec 01, 2024 12:58 pm
- Forum: Support and Development
- Topic: Help with making a button
- Replies: 9
- Views: 2048
Re: Help with making a button
Do u mean that x and y is the position in top left of the button or the position of the button(midpoint of the button)???
Also how do we find the x and y of the top left corner of the button if yes to the first question.
By the way thank you so much for telling me how to do this.
Also how do we find the x and y of the top left corner of the button if yes to the first question.
By the way thank you so much for telling me how to do this.
- Fri Nov 29, 2024 9:49 am
- Forum: Support and Development
- Topic: Help with making a button
- Replies: 9
- Views: 2048
Help with making a button
I have made a button using a image. I am not sure how to make it trigger an event when clicked on it. Pls help me.
- Mon Oct 07, 2024 11:01 am
- Forum: Support and Development
- Topic: Help in using draw function in other scripts.
- Replies: 2
- Views: 9107
Re: Help in using draw function in other scripts.
Thank you so much. It worked
- Sun Oct 06, 2024 1:39 pm
- Forum: Support and Development
- Topic: Help in using draw function in other scripts.
- Replies: 2
- Views: 9107
Help in using draw function in other scripts.
So in my game, there are three scripts the main.lua script draws the player which works absolutely fine but the other script, in pauseMenu.lua the draw function is not working, it does not draw anything if we create any script other than main.lua the same happens the draw function is not working. Ca...