Search found 38 matches

by evölbug
Sun Apr 23, 2017 3:03 pm
Forum: Libraries and Tools
Topic: clasp - tiny class library
Replies: 29
Views: 20820

clasp - tiny class library

Yes, yes I know, there are a ton of class libraries out there, some good, some bad, to each their own. None of them quite felt good to me, so I made my own. This is a simple and clean class library. It uses c-style syntax and, while I know this is Lua and some may scream at this heresy, I think it l...
by evölbug
Thu Mar 23, 2017 12:54 pm
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 296764

Re: What code editor do you use ?

yetneverdone wrote: Wed Mar 22, 2017 10:23 am
evölbug wrote: Mon Mar 20, 2017 9:20 pm ...
Really cool. But is there some autocomplete function?
Or any additional plug ins for love2d using micro?
Read the original post again.
by evölbug
Mon Mar 20, 2017 9:20 pm
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 296764

Re: What code editor do you use ?

yetneverdone wrote: Sat Mar 18, 2017 5:35 am
evölbug wrote: Mon Feb 20, 2017 7:36 am...
That looks awesome. How to setup that with love2d?
If you have Love2D installed, you can press CTRL+B in Micro while editing to execute shell commands, running "love ." should suffice to run your Love2D project.
by evölbug
Sat Mar 04, 2017 9:29 am
Forum: Support and Development
Topic: Different fps on different machines
Replies: 5
Views: 6495

Re: Different fps on different machines

Different machines with differing specs. It's fine as long as you use delta time (dt) to compensate for FPS changes in your code.
by evölbug
Sat Feb 25, 2017 9:43 am
Forum: General
Topic: Math for a Scrollbar?
Replies: 4
Views: 4209

Re: Math for a Scrollbar?

It would be helpful with more context. Could you share the whole file? The whole file won't help you much, as it is written in moonscript and it's component oriented. The excerpts are the pure functionalities of two components - the scroller (what does the actual content scrolling) and scrollbar it...
by evölbug
Fri Feb 24, 2017 6:17 pm
Forum: General
Topic: Math for a Scrollbar?
Replies: 4
Views: 4209

Re: Math for a Scrollbar?

in my GUI library I use this for scrolling -- approach function function approach(curr, goal, step) if curr+step >= goal then return step>0 and goal or curr+step else return step<0 and goal or curr+step end end -- scroll code if scrollY>0 then -- scroll down if object.y <= 0 then object.y = approach...
by evölbug
Mon Feb 20, 2017 7:36 am
Forum: General
Topic: What code editor do you use ?
Replies: 195
Views: 296764

Re: What code editor do you use ?

I have lately moved to a terminal oriented workflow, because I found this great editor called Micro , which is like SublimeText but for terminals. It doesn't have autocomplete or multiple cursors yet , and it lacks high level Lua debugging capabilities (though it does have a linter). BUT , it's exte...
by evölbug
Sun Feb 19, 2017 1:16 pm
Forum: Libraries and Tools
Topic: Guilty - yet another GUI library
Replies: 10
Views: 7796

Re: Guilty - yet another GUI library

Docs now guys! https://evolbug.github.io/Guilty/

Almost finished, but has the basic elements there
by evölbug
Fri Feb 17, 2017 7:10 am
Forum: Libraries and Tools
Topic: Guilty - yet another GUI library
Replies: 10
Views: 7796

Re: Guilty - yet another GUI library

Hello again, I have updated the main post and now there's a .love file you can check out! Documentation is coming very soon!
by evölbug
Sat Feb 11, 2017 2:16 pm
Forum: Libraries and Tools
Topic: Guilty - yet another GUI library
Replies: 10
Views: 7796

Re: Guilty - yet another GUI library

So it's been a little bit more than a month, sorry for the silence, but I was still working on it in the meantime :D (I was reinstalling my OS multiple times (Linux eh), was busy with school and etc.) The only thing left to sort out are nice theme definitions and some kind of documentation. Will rel...