Search found 267 matches

by xNick1
Sun Jan 08, 2017 8:10 pm
Forum: General
Topic: Source code license?
Replies: 13
Views: 14851

Re: Source code license?

Regardless if you release anything on the internet or not, you are still the rightful owner - it's your intellectual property. TM is probably an American thing (I don't see TM too often in Europe) so the specifics may vary depending on the laws in your country. You can have different licenses for t...
by xNick1
Sun Jan 08, 2017 7:19 pm
Forum: General
Topic: Source code license?
Replies: 13
Views: 14851

Re: Source code license?

This might be a bit blunt (sorry for that) but: 1. That probably won't happen. 2. You can't really do anything about it anyway. Anyone who makes a thing and puts it out in the world risks something like that, and the only thing you can do to is never release anything, which isn't a great alternativ...
by xNick1
Sun Jan 08, 2017 7:03 pm
Forum: Support and Development
Topic: play audio file completely before next line of code
Replies: 4
Views: 2054

Re: play audio file completely before next line of code

Thanks. I can accomplish what I want with this, but I hope there's a better solution, specifically, some code that checks to see if the audio clip is playing and continues the code if it has stopped. Something like if "if audioClip ~playing continue program". Also, I have a couple of ques...
by xNick1
Sun Jan 08, 2017 5:10 pm
Forum: Support and Development
Topic: play audio file completely before next line of code
Replies: 4
Views: 2054

Re: play audio file completely before next line of code

Code: Select all

local timeYouNeedToWaitBeforeLoveEventQuit = 10
local timePassed = 0

love.update(dt)
    timePassed = timePassed + 1 * dt

   if timePassed > timeYouNeedToWaitBeforeLoveEventQuit then
        love.event.quit()
   end
 
end
by xNick1
Sun Jan 08, 2017 4:08 pm
Forum: General
Topic: Source code license?
Replies: 13
Views: 14851

Source code license?

Hi guys! I'm looking forward to make a commercial product using LOVE. I wanted to use the MIT license. (I just wrote the MIT license at the very top of every file) I don't care if other people are gonna use parts of my code or use some assets. However I'm a little scared. What if they're gonna take ...
by xNick1
Sun Jan 08, 2017 1:56 pm
Forum: Support and Development
Topic: How to play a sound when I hover over a button?
Replies: 5
Views: 4172

Re: How to play a sound when I hover over a button?

I don't know if it can help, but

Code: Select all

love.audio.play( sound )
works for me.

This one:

Code: Select all

sound = love.audio.newSource("assets/menusfs.mp3", "static")
has to be put in love.load()
by xNick1
Sun Jan 08, 2017 1:50 pm
Forum: General
Topic: Commercial about lua
Replies: 6
Views: 3711

Re: Commercial about lua

Tables guys!!!!!!!!

Tableeeeeeeees!!!!!
by xNick1
Sun Jan 08, 2017 12:04 pm
Forum: General
Topic: Commercial about lua
Replies: 6
Views: 3711

Commercial about lua

Hi guys,
I just wanted to share this commercial about lua

by xNick1
Fri Jan 06, 2017 7:35 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410621

Re: "Questions that don't deserve their own thread" thread

I'm pretty sure what xNick1 wrote would work in any device. It doesn't deal with multitouch so it will only detect a single finger, but it will work nonetheless. If you need multitouch then what 4aiman said is better fit for the task. Note that the first finger is mapped to the [wiki]love.mouse[/wi...
by xNick1
Thu Jan 05, 2017 12:24 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1004395

Re: Avatars: OBEY!

I obey