Search found 4761 matches

by bartbes
Thu Dec 14, 2017 8:06 pm
Forum: Libraries and Tools
Topic: Chrono (Timer library)
Replies: 2
Views: 125

Re: Chrono (Timer library)

.. so why would I use this over hump.timer? It may be useful to explain what your improvements are.
by bartbes
Thu Dec 14, 2017 8:04 pm
Forum: Support and Development
Topic: Making LÖVE on Lunix/CentOS
Replies: 8
Views: 296

Re: Making LÖVE on Lunix/CentOS

Are you passing a path to SDL to configure? And if so, does the path you pass contain SDL_timer.h? If you compiled it from source I expect that file to be in /usr/local/include/SDL2.
by bartbes
Wed Dec 13, 2017 8:41 pm
Forum: Support and Development
Topic: Making LÖVE on Lunix/CentOS
Replies: 8
Views: 296

Re: Making LÖVE on Lunix/CentOS

You shouldn't have to copy any files. I'm not sure how it manages to error when compiling, but work when configuring, that shouldn't be possible. Did you install sdl 1.2 or 2.0?
by bartbes
Tue Dec 12, 2017 8:05 pm
Forum: Support and Development
Topic: Making LÖVE on Lunix/CentOS
Replies: 8
Views: 296

Re: Making LÖVE on Lunix/CentOS

So i just skipped the first Step because: bash: /platform/unix/automagic: No such file or directory That file only exists in the repository, and not in the source tarballs, as it's already been executed for those. If configure exists you can skip it. On the second step I came till I had to install ...
by bartbes
Fri Dec 08, 2017 9:15 pm
Forum: General
Topic: Fatal bug when using HC for collision detection
Replies: 2
Views: 114

Re: Fatal bug when using HC for collision detection

It should be 'HC.new(100)', with a dot, not a colon.
by bartbes
Wed Nov 29, 2017 12:28 pm
Forum: Ports
Topic: Love2dCS
Replies: 10
Views: 833

Re: Love2dCS

It's still a bit rough around the edges, like getting NullReferenceExceptions when calling Love.Graphics.NewImage on a file that doesn't exist, but it's cool to see love being used from another language. As I wanted to test this, I got it compiling and running on linux (with mono), so I sent you a p...
by bartbes
Sat Nov 25, 2017 1:06 pm
Forum: Support and Development
Topic: Strange bug makes me suspicious of video library
Replies: 1
Views: 149

Re: Strange bug makes me suspicious of video library

It's definitely possible there are bugs, it's a fairly new and complex beast, but I don't think it's that bad. Can you share some (preferably minimal) example code which demonstrates this issue?
by bartbes
Fri Nov 24, 2017 4:58 pm
Forum: Support and Development
Topic: demand() on channel from errorneous thread -> deadlock
Replies: 11
Views: 659

Re: demand() on channel from errorneous thread -> deadlock

Is it possible, for a future version, to implement a mechanism for reporting thread errors that works like an exception instead of an event? No, because lua itself isn't thread-safe. There is no way to interrupt the main thread, so it has to poll, in this case via the event loop. Or maybe a way to ...
by bartbes
Fri Nov 24, 2017 1:35 pm
Forum: Support and Development
Topic: demand() on channel from errorneous thread -> deadlock
Replies: 11
Views: 659

Re: demand() on channel from errorneous thread -> deadlock

Yeah, the only way around that is to load the thread contents later, I guess. Something like: local channel, contents = ... local ok, err = pcall(function() loadstring(contents)(channel) end) if not ok then channel:supply{error = true, data = err} end (Or pass a filename and call love.filesystem.loa...
by bartbes
Thu Nov 23, 2017 9:03 pm
Forum: Support and Development
Topic: demand() on channel from errorneous thread -> deadlock
Replies: 11
Views: 659

Re: demand() on channel from errorneous thread -> deadlock

It's already been lifted for 0.11.0, and it will error if it detects cycles (instead of go into an infinite loop/overflow the stack). It's still a very basic copying mechanism though, and I wouldn't be surprised if some lua serializers outperform it.