Search found 80 matches

by alloyed
Sun Nov 13, 2016 11:02 pm
Forum: Libraries and Tools
Topic: [TOOL] LÖVERocks - A package manager manager
Replies: 32
Views: 31648

Re: [TOOL] LÖVERocks - A package manager manager

changelog for 0.1.0 I haven't had to change loverocks for a really long time, so I figured I should give it a "stable" version bump. It still doesn't do everything it could, but I'm happy with what it has right now. LOVE 0.10.1 and 0.10.2, and luarocks 2.4.1 are directly supported. --game ...
by alloyed
Thu Sep 15, 2016 5:50 am
Forum: Support and Development
Topic: What is a nifty way to make your LOVE app restart?
Replies: 8
Views: 7403

Re: What is a nifty way to make your LOVE app restart?

This is undocumented afaict but you can call love.init() to re-do the conf.lua part: https://bitbucket.org/rude/love/src/88e5a25da2a89dd6b5c3fcb4f260861d8fd1f0bf/src/scripts/boot.lua?at=default&fileviewer=file-view-default#boot.lua-331 To actually reload conf.lua so it reflects your changes, you...
by alloyed
Mon Aug 29, 2016 4:01 am
Forum: Support and Development
Topic: (Partial) Text Adventure Questions
Replies: 15
Views: 8699

Re: (Partial) Text Adventure Questions

I would second the html5 idea: while love can do rich text/layouts, the browser is already purpose-built for it, and by default a lot more people will be interested in trying your game if they don't have to leave their browser to do it. for what its worth, javascript is not that different from lua, ...
by alloyed
Sun Aug 28, 2016 3:35 pm
Forum: Support and Development
Topic: BulletManager (performance argument)
Replies: 23
Views: 9232

Re: BulletManager (performance argument)

Side note: the numeric for and ipairs aren't actually semantically equivalent. the length operator in Lua will give wrong results for tables with holes, where ipairs guarantees it will stop at the first nil. A better analog would be to just keep going until you find nil: local a = {1, 2, 3, 4, nil, ...
by alloyed
Mon Aug 08, 2016 2:09 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 89488

Re: [Lib] SUIT - Simple User Interface Toolkit

Hi, I'd like to use suit.anyHovered() in the love input callbacks (love.mousemoved, love.mousepressed ...), to check whether the input should go to what's beneath the GUI, or whether the GUI blocked the input. However, in these functions, anyHovered is always false. I assume this is because love.up...
by alloyed
Mon Aug 01, 2016 10:53 pm
Forum: Support and Development
Topic: Camera logic to keep level and players within view
Replies: 2
Views: 2899

Re: Camera logic to keep level and players within view

For cameras I strongly suggest skimming this article:

http://www.gamasutra.com/blogs/ItayKere ... ollers.php

It's pretty exhaustive, including even the smash bros. example.
by alloyed
Tue Jul 26, 2016 7:55 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 169
Views: 240853

Re: ImGui löve module

I'm currently updating the module to stop using direct GL calls for rendering, and instead use LOVE for it, it works quite well but in terms of performances I can't find a way to avoid transfering the imgui vertex and index lists into a lua table and then send it to LOVE (which then transform it ba...
by alloyed
Mon Jul 18, 2016 3:15 am
Forum: Libraries and Tools
Topic: autobatch: Automates the use of SpriteBatches when drawing
Replies: 15
Views: 15670

Re: autobatch: Automates the use of SpriteBatches when drawing

Ah! Awesome thing. I thought of doing something like that myself, a fair while ago, but never got around to it. I might take it for a spin sometime, see if I can integrate my texture atlas into it somehow, to allow batching even when the original images aren't the same. If you're already using a te...
by alloyed
Fri Jul 08, 2016 1:54 am
Forum: Support and Development
Topic: Internet streaming
Replies: 8
Views: 4185

Re: Internet streaming

Not to nitpick, but one would think that streams used RT(S)P at least, and not http; you'd get the "playlist file" through http, that's possible, but whatever's inside it, usually one line, and not audio data, is the address from where the stream sends out the data proper. And despite löv...
by alloyed
Thu Jul 07, 2016 3:18 am
Forum: Support and Development
Topic: Internet streaming
Replies: 8
Views: 4185

Re: Internet streaming

Internet radio isn't that complex, actually: usually it's just an endless http file that happens to contain mp3/ogg/whatever data. So you need, ultimately, 2 things: 1. A way to open a request and keep it open 2. A way to turn that data into a love.audio source The easiest way I see, since love.audi...