Search found 89 matches

by Marty
Tue Feb 27, 2018 11:24 am
Forum: Libraries and Tools
Topic: Visual Studio Code Template for the LÖVE framework
Replies: 8
Views: 6854

Re: Visual Studio Code Template for the LÖVE framework

Looks great, do you plan on adding it to the extensions marketplace? Ich denke nicht, no. Afaik the extension marketplace does not offer uploading templates. I really suggest to fork this repository instead and keep it up2date, because this will allow you to fetch changes. Conflicts barely should a...
by Marty
Tue Feb 27, 2018 1:21 am
Forum: Libraries and Tools
Topic: Visual Studio Code Template for the LÖVE framework
Replies: 8
Views: 6854

Visual Studio Code Template for the LÖVE framework

So you want to build your LÖVE game in Visual Studio Code? Then I invite you to make use of my Visual Studio Code Template for the LÖVE framework . https://dl.dropboxusercontent.com/s/nazdb60rf4j5g5y/love2d-vscode.png DOWNLOAD It offers various helpful tools (tested in Windows and Mac, Linux should ...
by Marty
Mon Feb 26, 2018 3:00 pm
Forum: Libraries and Tools
Topic: GOOi, an Android-Oriented GUI Library
Replies: 133
Views: 77281

Re: GOOi, an Android-Oriented GUI Library

I see, you mean something to give the impression it's being clicked, right? Yes. Basically I have a complicated background. Maybe I designed a full window with nice texture that is in the background of my form. Your controls on my form should be able to be 100% transparent if I want to. Or I want t...
by Marty
Sat Feb 24, 2018 8:34 pm
Forum: Libraries and Tools
Topic: GOOi, an Android-Oriented GUI Library
Replies: 133
Views: 77281

Re: GOOi, an Android-Oriented GUI Library

@modiX yes, GOOi has support for that somehow, use the :setBGImage() function, it receives a lua string or a LOVE image. I haven't tested this function with all the components though, so thanks for the heads up. GOOi 0.0.6 os out! (btw) https://github.com/tavuntu/gooi/wiki/Change-Log#006 EDIT : It ...
by Marty
Thu Feb 22, 2018 11:50 pm
Forum: Libraries and Tools
Topic: GOOi, an Android-Oriented GUI Library
Replies: 133
Views: 77281

Re: GOOi, an Android-Oriented GUI Library

Hi Alberto, your lib looks very promising, nice work on it, it makes a solid appearance. I'm just wondering, can I use image buttons and image fonts with your lib? I think it's important to provide a GUI that matches the overall feeling of the game to let it look fancy and juicy. A simple icon in th...
by Marty
Thu Feb 15, 2018 7:56 pm
Forum: Support and Development
Topic: Enumerate files outside of root / save directory, recursively
Replies: 22
Views: 6100

Re: Enumerate files outside of root / save directory, recursively

I'm not sure about possible bad side effects, and there might be a better way to do this, but this works for me: local ffi = require('ffi') local l = ffi.os == 'Windows' and ffi.load('love') or ffi.C ffi.cdef [[ int PHYSFS_mount(const char *newDir, const char *mountPoint, int appendToPath); ]] l.PH...
by Marty
Thu Feb 15, 2018 5:00 pm
Forum: Support and Development
Topic: Enumerate files outside of root / save directory, recursively
Replies: 22
Views: 6100

Re: Enumerate files outside of root / save directory, recursively

But you really shouldn't, because as mentioned above, you will probably screw it up for someone's OS. This is not for a game and will be used only internally. For one, you could drag an arbitrary folder onto your project, and mount it; then you could enumerate its contents as well as its subdirecto...
by Marty
Thu Feb 15, 2018 4:38 pm
Forum: Support and Development
Topic: luajit - attempt to index global 'love' (a nil value)
Replies: 18
Views: 3530

Re: luajit - attempt to index global 'love' (a nil value)

That doesn't matter for compiling the code. I've tested under linux: $ cat > main.lua function love.draw() love.graphics.print("Hello, world!") end $ luajit -b main.lua main2.lua $ mv main2.lua main.lua $ love . and the code runs. The reason for having LuaJIT is only to ease compilation, allowing i...
by Marty
Thu Feb 15, 2018 12:34 am
Forum: Support and Development
Topic: Enumerate files outside of root / save directory, recursively
Replies: 22
Views: 6100

Enumerate files outside of root / save directory, recursively

I'd like to enumerate all files within a directory, recursively. Those files are not located in the root folder of the game or the save directory.

I've learnt this can be done in traditional lua using LFS, but it seems to be quite challenging to get it to work in LÖVE. Is there an easier way?
by Marty
Thu Feb 15, 2018 12:16 am
Forum: Support and Development
Topic: luajit - attempt to index global 'love' (a nil value)
Replies: 18
Views: 3530

Re: luajit - attempt to index global 'love' (a nil value)

Hey, sorry for my late reply, I was kinda busy on other things these days. I do however not suggest obfuscating your code, security through obscurity have never been any secure. You can't stop lockpickers just by making it harder to see what's inside the lock. Let me first start by summing things up...