Search found 109 matches

by steVeRoll
Fri Feb 28, 2020 7:32 pm
Forum: Support and Development
Topic: How do I efficiently update an image?
Replies: 16
Views: 3123

Re: How do I efficiently update an image?

Yes, we can tell you a better way of doing it, if you tell us what exactly you want to do . So far you just said that you draw a portion of the screen, but I still have no idea where the render layers come in. Just tell us, without talking about the sizes or amount of render layers, what effect you ...
by steVeRoll
Fri Feb 28, 2020 7:23 pm
Forum: Support and Development
Topic: How do I efficiently update an image?
Replies: 16
Views: 3123

Re: How do I efficiently update an image?

Again, what effect do you want to achieve? You can probably use some workarounds like using a smaller canvas, or not using them altogether.
by steVeRoll
Fri Feb 28, 2020 7:16 pm
Forum: Support and Development
Topic: How do I efficiently update an image?
Replies: 16
Views: 3123

Re: How do I efficiently update an image?

What effect do you want to achieve exactly? I can't see how using canvases would not work.
by steVeRoll
Fri Feb 28, 2020 7:12 pm
Forum: Support and Development
Topic: How do I efficiently update an image?
Replies: 16
Views: 3123

Re: How do I efficiently update an image?

If you want an Image that you can change, a Canvas might be more useful. You can both draw onto a canvas, and draw the canvas onto the screen.
by steVeRoll
Fri Jan 24, 2020 6:37 am
Forum: Support and Development
Topic: love.keypressed not working as expected.
Replies: 2
Views: 522

Re: love.keypressed not working as expected.

Hi and welcome to the forums!
The love.keypressed which is at line 90 seems to work correctly, but you are overwriting it with an empty love.keypressed on line 189. Removing it seems to have fixed the issue.
by steVeRoll
Wed Dec 18, 2019 2:13 pm
Forum: Support and Development
Topic: Love resize error
Replies: 1
Views: 1333

Re: Love resize error

Unfortunately, due to how love works, it is impossible to run code while the window is being resized. love only has a "resize" callback, which is called as soon as you finish resizing.
by steVeRoll
Sat Dec 07, 2019 8:36 pm
Forum: Support and Development
Topic: setRequirePath() correct usage
Replies: 3
Views: 1444

Re: setRequirePath() correct usage

Hi and welcome! setRequirePath is not needed to do this - indeed, you can make this work by modifying package.path, albeit a little different than what you wrote. package.path is a string that contains paths separated by a ';'. When you call require, Lua will go through each one of those paths, repl...
by steVeRoll
Tue Sep 10, 2019 7:36 pm
Forum: General
Topic: problem with offset or something else idk help please?
Replies: 2
Views: 1463

Re: problem with offset or something else idk help please?

Hi and welcome to the forums!
It seems there was a problem when you uploaded the file. I only see the attachment's name, but not the file itself.
Could you try uploading the file again? We will be able to help you if you send your code.
by steVeRoll
Mon Jul 29, 2019 1:07 pm
Forum: Games and Creations
Topic: Three Doors
Replies: 11
Views: 4458

Re: Three Doors

A very interesting game, I had fun solving it.
But as sphyrth points out, you have to make the game compatible with monitors of different sizes.
by steVeRoll
Sun Jul 28, 2019 10:13 am
Forum: Games and Creations
Topic: Connection puzzle
Replies: 4
Views: 2373

Re: Connection puzzle

I didn't actually invent this puzzle, in 7th grade it was given to us as a challenge in math class. I don't know who came up with this puzzle, but the papers we got were created with logic and reasoning behind them. With this I just came up with a way to generate a new puzzle every time, I didn't th...