Search found 49 matches

by 4vZEROv
Sat Nov 23, 2019 2:16 pm
Forum: Support and Development
Topic: How do objects in the game work properly with the time that the game runs?
Replies: 5
Views: 411

Re: How do objects in the game work properly with the time that the game runs?

You need to multiply every number that you use for movement by dt so it's framerate independant.
Or you need to lock the framerate (look at gameloop accumulator)
by 4vZEROv
Mon Nov 11, 2019 12:10 pm
Forum: Libraries and Tools
Topic: love-timer | A small timer lib
Replies: 2
Views: 703

Re: love-timer | A small timer lib

OOP can be implemented in different ways in Lua, your way is good.
Not a fan of the deepcopy inside the constructor, why don't you initialize the variables here ?
by 4vZEROv
Fri Sep 20, 2019 8:49 am
Forum: General
Topic: Best place to make a Devlog
Replies: 1
Views: 825

Re: Best place to make a Devlog

Github is not bad for that (exemple : https://github.com/adnzzzzZ/blog). Github also give you a free static website (https://pages.github.com/) to do whatever you want.
by 4vZEROv
Sun Sep 15, 2019 2:52 pm
Forum: General
Topic: How to test if to lines intersect
Replies: 2
Views: 892

Re: How to test if to lines intersect

Learn how to use google mate. Everything you need for 2d collision detection is here : http://www.jeffreythompson.org/collision-detection/table_of_contents.php And since i'm such a good person : function line_line(x1, y1, x2, y2, x3, y3, x4, y4) local uA = ((x4-x3)*(y1-y3) - (y4-y3)*(x1-x3)) / ((y4-...
by 4vZEROv
Mon Aug 05, 2019 11:17 pm
Forum: General
Topic: Tempst-like retro effect?
Replies: 3
Views: 3756

Re: moonshine

mxmlnbndsmnn wrote:
Sat Aug 03, 2019 3:21 pm
-snip-
Moonshine use shaders and canvas. You should take a look at :
https://love2d.org/wiki/Shader


and

https://love2d.org/wiki/Canvas
by 4vZEROv
Tue Jul 30, 2019 7:24 pm
Forum: Libraries and Tools
Topic: Building a Free Library of Images for Everyone
Replies: 138
Views: 120074

Re: Building a Free Library of Images for Everyone

Did you just assume zorg gender ?
by 4vZEROv
Tue Jul 30, 2019 3:38 pm
Forum: Libraries and Tools
Topic: Color-Picker for Love
Replies: 19
Views: 4867

Re: Color-Picker for Love

I've got to say that this entire color picker scheme is... for lack of better words, retarded. Sure, it helps about 0.2% of people that can't google a color name and take the RGB percentages and move the decimal a bit, then put it into a love function they previously locally defined, but that's the...
by 4vZEROv
Sun Jul 28, 2019 10:46 pm
Forum: Libraries and Tools
Topic: Building a Free Library of Images for Everyone
Replies: 138
Views: 120074

Re: Building a Free Library of Images for Everyone

Good to be self aware, beware of Dunning Kruger tho. Sorry to Eric for derailing the thread and keep up the good work :)