Search found 131 matches
- Wed Apr 22, 2020 12:05 pm
- Forum: General
- Topic: Is there a way to completly develop on Android ?(Tablet)
- Replies: 5
- Views: 7755
Re: Is there a way to completly develop on Android ?(Tablet)
running your game will be messy, because you will need to find the way to script it Actually, there is an easy way to run your game with the app. You can create a folder called "lovegame" in the root of your filesystem, and put main.lua and other files in there. The app will automatically...
- Wed Apr 08, 2020 12:16 pm
- Forum: General
- Topic: Sprite pixel on the bottom left are glitched
- Replies: 6
- Views: 7026
Re: Sprite pixel on the bottom left are glitched
In your drawing code, try putting the coordinates in the math.floor function.
Also, in the future, please ask questions in the Support and Development forum.
Also, in the future, please ask questions in the Support and Development forum.
- Fri Feb 28, 2020 7:32 pm
- Forum: Support and Development
- Topic: How do I efficiently update an image?
- Replies: 16
- Views: 18640
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 ...
- Fri Feb 28, 2020 7:23 pm
- Forum: Support and Development
- Topic: How do I efficiently update an image?
- Replies: 16
- Views: 18640
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.
- Fri Feb 28, 2020 7:16 pm
- Forum: Support and Development
- Topic: How do I efficiently update an image?
- Replies: 16
- Views: 18640
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.
- Fri Feb 28, 2020 7:12 pm
- Forum: Support and Development
- Topic: How do I efficiently update an image?
- Replies: 16
- Views: 18640
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.
- Fri Jan 24, 2020 6:37 am
- Forum: Support and Development
- Topic: love.keypressed not working as expected.
- Replies: 2
- Views: 2513
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.
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.
- Wed Dec 18, 2019 2:13 pm
- Forum: Support and Development
- Topic: Love resize error
- Replies: 1
- Views: 2913
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.
- Sat Dec 07, 2019 8:36 pm
- Forum: Support and Development
- Topic: setRequirePath() correct usage
- Replies: 3
- Views: 3989
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...
- Tue Sep 10, 2019 7:36 pm
- Forum: General
- Topic: problem with offset or something else idk help please?
- Replies: 2
- Views: 3164
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.
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.