Search found 3070 matches

by slime
Sat Sep 23, 2023 2:51 pm
Forum: General
Topic: I just accidentally found a literal zip bomb for the ram in love
Replies: 3
Views: 6191

Re: I just accidentally found a literal zip bomb for the ram in love

There's at least one third party audio source wrapper library (SLAM) which overwrites Source:play to create a new Source each time it's called. If you're using that it'd cause huge memory increases when you call Source:play every frame.

Otherwise zorg is correct.
by slime
Wed Sep 20, 2023 4:46 pm
Forum: General
Topic: Offline-capable LÖVE tutorial
Replies: 20
Views: 18475

Re: Offline LÖVE documentation for download

The wiki is mainly meant to be about API documentation (as is the offline love docs thread). A tutorial is a separate thing outside the scope of both of those areas, and several exist already. I've split the posts about a tutorial out of the other thread to keep things on-topic.
by slime
Tue Sep 19, 2023 7:36 pm
Forum: Ports
Topic: LÖVE for the Switch
Replies: 47
Views: 194624

Re: LÖVE for the Switch

**Imminent Rant** I don't think I fully understood this post but in case you missed this - there are multiple existing complete ports of love to the Switch via the Nintendo SDK (so you can put your games on the Switch store once you get access to Nintendo's developer tools). Previous posts in this ...
by slime
Wed Sep 13, 2023 4:47 pm
Forum: Support and Development
Topic: [Solved] Detect love.js
Replies: 2
Views: 913

Re: Detect love.js

love.system.getOS will return "Web", I think.
by slime
Sun Sep 10, 2023 2:36 am
Forum: Games and Creations
Topic: Just launched Typing Bullets on Steam
Replies: 16
Views: 184582

Re: Just launched Typing Bullets on Steam

I do not want to hijack this topic I don't want to take away anything from cip Sorry about hijacking this post, but this is not about me at all If you actually felt that way you would've written your posts much differently, and maybe you wouldn't have posted anything at all. I will delete further p...
by slime
Sun Sep 03, 2023 2:31 am
Forum: Support and Development
Topic: love_Canvases undeclared identifier, cannot get shader to compile
Replies: 2
Views: 765

Re: love_Canvases undeclared identifier, cannot get shader to compile

love 11's shader entry point parsing is pretty basic and doesn't know that your "vec4 effect" declaration won't be compiled, so it uses that. love 12 parses comments so it won't have that problem with your code.
by slime
Tue Aug 29, 2023 2:01 am
Forum: Support and Development
Topic: How to add a C library in linux?
Replies: 3
Views: 1171

Re: How to add a C library in linux?

There won't be a difference, performance-wise. It generally takes more effort to modify love instead of having a standalone library, so the former is slower to implement. If runtime performance is really important, you'd probably want to use LuaJIT's FFI to call C functions that are in your standalo...
by slime
Sat Aug 26, 2023 1:15 pm
Forum: Support and Development
Topic: love.window.setMode not triggering love.resize is bug or feature?
Replies: 7
Views: 1953

Re: love.window.setMode not triggering love.resize is bug or feature?

love.resize is called when the size of the window changes to something you didn't specify. This can happen if the user resizes the window via desktop UI (or rotating a phone or whatever), or if you programmatically specified a size that's not supported so it has to pick something that is supported. ...
by slime
Sat Aug 26, 2023 12:47 pm
Forum: Support and Development
Topic: love.window.setMode not triggering love.resize is bug or feature?
Replies: 7
Views: 1953

Re: love.window.setMode not triggering love.resize is bug or feature?

Alright, well those are some solutions, it's up to you to use them. :)
by slime
Sat Aug 26, 2023 12:40 pm
Forum: Support and Development
Topic: love.window.setMode not triggering love.resize is bug or feature?
Replies: 7
Views: 1953

Re: love.window.setMode not triggering love.resize is bug or feature?

You can just have a function that's meant to be called after a user calls setMode/updateMode, instead of wrapping setMode. Or if you already have a library function that's called in love.update or similar places, you can check the actual versus expected dimensions there and call your internal resize...