Search found 68 matches

by georgeprosser
Fri Aug 14, 2015 12:03 pm
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

Re: simple-slider

Some suggestions. * keep a list of all sliders and make one silderinstance:update() and silderinstance:draw() function, so you don't need to specify this for every slider * push it to github :) * don't make it global * I'll leave this for people to handle themselves. For all my projects I have a 'c...
by georgeprosser
Fri Aug 14, 2015 6:34 am
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

Re: simple-slider

Positive07 wrote:Could I make a material theme for this and make it part of my [shameless plug]Material-Love[/shameless plug] set of libraries? Of course with propper credits!
Yeah sure, though you might find it easier to start from scratch and use this as a guide.
by georgeprosser
Thu Aug 13, 2015 9:38 pm
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

Re: simple-slider

What you should actually so that people can use this for LÖVE projects without hassle is put LÖVE's license.txt in your project, delete everything except lines 3-22 and replace the now-first line with the current year and your name. You can put a link or email address there as well if you like. Tha...
by georgeprosser
Wed Aug 12, 2015 9:50 pm
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

Re: simple-slider

Ranguna259 wrote:I suggest using CC BY license (human-readable summary). Link it in you code ( or on this thread and link this thread in your code).
I'm clueless about licensing. Is it necessary?
by georgeprosser
Wed Aug 12, 2015 7:08 pm
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

Re: simple-slider

NowakHDZ wrote:I wonder if I could use it for my game, for free?
Absolutely! I'm releasing this so that other people can use it, modify it, redistribute it etc.

Free, no credit needed.
by georgeprosser
Wed Aug 12, 2015 2:07 pm
Forum: Libraries and Tools
Topic: simple-slider
Replies: 21
Views: 16568

simple-slider

Hiya lovers! I made a tiny library that lets you easily put basic sliders in your game. It gives you customizable sliders that can manipulate properties, like audio volume. https://love2d.org/imgmirrur/NUG3cbZ.gif https://love2d.org/imgmirrur/9p7rWRy.gif https://love2d.org/imgmirrur/cq77YlS.gif Exam...
by georgeprosser
Sun Aug 02, 2015 11:52 pm
Forum: Libraries and Tools
Topic: love-loader: load resources in a separate thread, easily
Replies: 47
Views: 51100

Re: love-loader: load resources in a separate thread, easily

This is fantastic, thanks for making this and sharing it with everyone.

Just implemented a loading screen into my audio-heavy game and it immediately feels much more professional.
by georgeprosser
Sun Aug 02, 2015 10:47 pm
Forum: Support and Development
Topic: Small Useful Functions
Replies: 127
Views: 53363

Re: Small Useful Functions

Here's another while I'm sharing. This function gives you the angular distance between two angles.

Code: Select all

function angularDistance(a, b)
    return math.abs(math.atan2(math.sin(a - b), math.cos(a - b)))
end
by georgeprosser
Sun Aug 02, 2015 9:26 pm
Forum: General
Topic: LÖVE 0.9.2 Released
Replies: 59
Views: 82064

Re: LÖVE 0.9.2 Released

Wow, 0.10.0 is looking like a really big release!
by georgeprosser
Sun Aug 02, 2015 9:18 pm
Forum: Support and Development
Topic: Small Useful Functions
Replies: 127
Views: 53363

Re: Small Useful Functions

Haven't seen this one posted. Maybe that's because it's so obvious and simple, but I use it all the time. This function returns true with the supplied probability. function chance(p) return math.random() < p end Means you can write neat stuff like this: if chance(0.5) then print('heads') else print(...