Search found 2282 matches

by zorg
Wed Jun 20, 2018 7:34 am
Forum: Libraries and Tools
Topic: Öscillofun
Replies: 26
Views: 3871

Re: Öscillofun

thread ressurection warning seriously i would really love to make a visualizer, how do you get this data into Love 2D? 0. Stop resurrecting dead threads, and open a new one :P 1. Create SoundData (Either empty or from a music file) There, now the data is there, and you can access it with :getSample...
by zorg
Wed Jun 20, 2018 7:18 am
Forum: Support and Development
Topic: I can't figure out this lua error ("= expected") - possibly middleclass?
Replies: 4
Views: 95

Re: I can't figure out this lua error ("= expected") - possibly middleclass?

Thank you so much, I re-made the file and it works now :D The file must have gotten corrupted but the corruption didn't show up in notepad++ or even notepad somehow. I am currently using Notepad++ as my editor. What program do you use? He uses either Atom, micro, or both, as he said. Also, most cod...
by zorg
Wed Jun 20, 2018 7:13 am
Forum: Support and Development
Topic: Prevent freezing while working with large files?
Replies: 25
Views: 493

Re: Prevent freezing while working with large files?

I still don't really get the issue to be honest; reading in from disk/ssd into ram line by line will always be slow as heck (doing it byte-by-byte is worse), just load it in all at once, or use a large enough buffer, like in the megabytes range; updating your progress bar from 0 to 100% in one step ...
by zorg
Mon Jun 18, 2018 9:15 pm
Forum: Support and Development
Topic: Could really use some help in Lua, have hit a wall and can't move forward.
Replies: 15
Views: 257

Re: Could really use some help in Lua, have hit a wall and can't move forward.

Defining the local elapsedTime inside love.update itself is asking for the variable to be reset every frame; move that out of the function. Also, to be more clear, whatever image or even sprite sheet one specific animation might use doesn't necessitate them to have separate x and y positions; logica...
by zorg
Mon Jun 18, 2018 7:15 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 5
Views: 266

Re: 11.1 app randomly crashes when looping an OGG file

The lack of a click may only mean that the static version (which is guaranteed to always just store all samplepoints with a given sampling rate) can loop more seamlessly than ogg or mp3 files could, since at least the latter stores data not exactly in that way, so it might not be able to accomplish ...
by zorg
Mon Jun 18, 2018 7:12 pm
Forum: Support and Development
Topic: access to fonts directory
Replies: 5
Views: 152

Re: access to fonts directory

As I said, LÖVE is designed to encourage cross-platform compatibility, so these things are out of the scope of what it is designed to do. Still, you can do what you want, but it's not easy. You need to mount the folder using PhysFS via FFI. I believe zorg is working on a library to make that easier...
by zorg
Sun Jun 17, 2018 10:51 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 5
Views: 266

Re: 11.1 app randomly crashes when looping an OGG file

You can try to see if that narrows it down to a decoder issue, or something else; you are looping it with just setting the loop properity on the source object, right? Or are you doing more advanced shenanigans? :3
by zorg
Thu Jun 14, 2018 6:15 am
Forum: Support and Development
Topic: Löve 11.1: love.filesystem.createDirectory( ) doesn't seem to work
Replies: 6
Views: 187

Re: Löve 11.1: love.filesystem.createDirectory( ) doesn't seem to work

You need to set t.identity to a singular string, which will be the relative path starting from löve's basic save directory; it won't take absolute paths.
by zorg
Thu Jun 14, 2018 6:01 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 5
Views: 266

Re: 11.1 app randomly crashes when looping an OGG file

Is it only ogg files that do that to you? Do check whether its bitrate is larger than 320 kbps (ogg can go up to 450 iirc; not sure if thats an issue though)
by zorg
Tue Jun 12, 2018 5:50 pm
Forum: Support and Development
Topic: How to remove an item that is picked up?
Replies: 6
Views: 377

Re: How to remove an item that is picked up?

Don't wanna play forum police here, but he said he solved his problem already... several months ago. Edit: hmm... looking at his other posts, that guy kinda looks like a bot. Or just someone who uses google to search löve's forums for threads, tries to be a good samaritan, and doesn't know english ...