Page 1 of 1

SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 12:13 am
by lenlenlL6
I just made a swipable ui library :D, not great but I wanted to share.

https://github.com/lenlenlL6/SUI

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 10:46 am
by dusoft
Looks alright, not anything we have had before.

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 1:44 pm
by lenlenlL6
dusoft wrote: Wed Jul 05, 2023 10:46 am Looks alright, not anything we have had before.
Thanks :D

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 2:37 pm
by GVovkiv
I think, right link should be

Code: Select all

https://github.com/lenlenlL6/SUI
not

Code: Select all

https://github.com/lenlenlL6/SUI/tree/main
in case if you change main branch name.

Also: https://github.com/lenlenlL6/SUI/blob/main/LICENSE#L189 I'm by no mean lawyer, but aren't here you supposed to fill information, like year and copyright owner? Does license even would "work" without this information, if you just place that apache license there?

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 2:57 pm
by lenlenlL6
GVovkiv wrote: Wed Jul 05, 2023 2:37 pm I think, right link should be

Code: Select all

https://github.com/lenlenlL6/SUI
not

Code: Select all

https://github.com/lenlenlL6/SUI/tree/main
in case if you change main branch name.

Also: https://github.com/lenlenlL6/SUI/blob/main/LICENSE#L189 I'm by no mean lawyer, but aren't here you supposed to fill information, like year and copyright owner? Does license even would "work" without this information, if you just place that apache license there?
Sorry about these mistakes :(, I'm a new Github user so I don't really know about these things, I also don't use Github that often, by the way like you said, I should change the "copyright owner" to my real name or my Github name?

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 3:09 pm
by GVovkiv
I should change the "copyright owner" to my real name or my Github name?
Since I'm still not lawyer, I'm not sure. Maybe, by legal means it's should be real name, but some use just their most used alias, so that should count?

Someone can explain that?

And side note: while github can redirect branches (at least, if link would lead to non-existing branch), (so, "in case if you change main branch name." *kinda* wrong), it's still better to place link to github repo, link will become shorter and just cleaner, probably.
On other hand, if you later would add another branch (let's name it "master"), and it will become your default branch, but you WON`T remove "main" branch, then github won't redirect anything, right? It would redirect only in case if "main" branch wouldn't exist and "master" become default branch?
So, probably, still better to use link to repo, not to specific branch, unless there special reason to do so.

Re: SUI - Love2d library helps to create a slideable UI

Posted: Wed Jul 05, 2023 4:16 pm
by lenlenlL6
GVovkiv wrote: Wed Jul 05, 2023 3:09 pm
I should change the "copyright owner" to my real name or my Github name?
Since I'm still not lawyer, I'm not sure. Maybe, by legal means it's should be real name, but some use just their most used alias, so that should count?

Someone can explain that?

And side note: while github can redirect branches (at least, if link would lead to non-existing branch), (so, "in case if you change main branch name." *kinda* wrong), it's still better to place link to github repo, link will become shorter and just cleaner, probably.
On other hand, if you later would add another branch (let's name it "master"), and it will become your default branch, but you WON`T remove "main" branch, then github won't redirect anything, right? It would redirect only in case if "main" branch wouldn't exist and "master" become default branch?
So, probably, still better to use link to repo, not to specific branch, unless there special reason to do so.
Thanks for this helpful info, I've edited it.