You could try encoding the image using Data:getString. Possibly compress it with love.data.compress.Lovingsoul1337 wrote: ↑Mon Jul 22, 2024 6:58 am what if my table contains image data from love2d does this work then too ?
Search found 413 matches
- Fri Jul 26, 2024 7:56 pm
- Forum: Support and Development
- Topic: Loading/saving a table??
- Replies: 10
- Views: 12645
Re: Loading/saving a table??
- Mon Jul 08, 2024 12:11 pm
- Forum: Libraries and Tools
- Topic: libraries/anim8.lua:256: attempt to call field 'drawq' (a nil value)
- Replies: 3
- Views: 12970
Re: libraries/anim8.lua:256: attempt to call field 'drawq' (a nil value)
love.graphics.drawq was removed in 0.9.0. You should just be able to change it to love.graphics.draw.
- Thu Jul 04, 2024 10:39 pm
- Forum: General
- Topic: Problems accessing the wiki
- Replies: 7
- Views: 4063
Re: Problems accessing the wiki
Ah I see, I wasn't aware of that, thanks
- Thu Jul 04, 2024 12:41 pm
- Forum: General
- Topic: Problems accessing the wiki
- Replies: 7
- Views: 4063
Re: Problems accessing the wiki
It is already reported on the github bugtracker. So I guess just wait until someone clicks the right buttons or whatever magic needs to be done. I didn't see it, but I'm not really used to visiting it. All I see is bugs and feature requests for the software itself, nothing about the website. I figu...
- Thu Jul 04, 2024 10:46 am
- Forum: Support and Development
- Topic: I can see my player respond to collision in real time, instead of it being instant
- Replies: 1
- Views: 2007
Re: I can see my player respond to collision in real time, instead of it being instant
I'm guessing it's because you run the loop 8 times. It will check if mainY is on a non-zero alpha channel and it will move the playerY up 1 pixel. That doesn't change mainY in that loop, so as it runs 8 times, mainY doesn't change, but playerY moves up 8 pixels. On the next frame, it will move playe...
- Thu Jul 04, 2024 10:30 am
- Forum: General
- Topic: Problems accessing the wiki
- Replies: 7
- Views: 4063
Problems accessing the wiki
Hello,
I'm running into this problem on most of the wiki pages:
I'm running into this problem on most of the wiki pages:
- Sat Mar 09, 2024 11:00 pm
- Forum: Support and Development
- Topic: Prevent window rotation on Android
- Replies: 6
- Views: 5794
Re: Prevent window rotation on Android
if orientation == "portrait" or "portraitflipped" then I realise this is an older post, but I believe that if-statement is wrong. I think it should be: if orientation == "portrait" or orientation == "portraitflipped" Otherwise, it will always return true, and...
- Tue Feb 22, 2022 11:08 pm
- Forum: Support and Development
- Topic: Gray box instead of image [RESOLVED]
- Replies: 11
- Views: 5587
Re: Gray box instead of image
Are the image dimensions powers of 2? This used to be an issue in older versions, because graphics cards don't like it if images are not powers of two. It has been fixed, but I can imagine there's some edge cases where it's still an issue. [edit] The fix was made in version 0.8.0, see information [h...
- Thu Jul 22, 2021 3:36 pm
- Forum: Support and Development
- Topic: Code editor for android phone.
- Replies: 2
- Views: 6286
Re: Code editor for android phone.
I've used DroidEdit Free for Android in the past.
- Thu Jul 22, 2021 2:36 pm
- Forum: Games and Creations
- Topic: I was bored at work, so I made a Tetris clone
- Replies: 2
- Views: 7932
Re: I was bored at work, so I made a Tetris clone
Thanks! Yes, on an old Windows tablet (HP Stream 7), with on screen keyboard. I've ordered a Bluetooth keyboard to make it easier, but this was done all on the tablet screen. We have a lot of downtime lately and they don't mind it if we do our own things in that time. We also sometimes play badminto...