Search found 38 matches
- Sun Apr 23, 2017 3:03 pm
- Forum: Libraries and Tools
- Topic: clasp - tiny class library
- Replies: 29
- Views: 20919
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...
- Thu Mar 23, 2017 12:54 pm
- Forum: General
- Topic: What code editor do you use ?
- Replies: 195
- Views: 301602
Re: What code editor do you use ?
Read the original post again.yetneverdone wrote: ↑Wed Mar 22, 2017 10:23 amReally cool. But is there some autocomplete function?
Or any additional plug ins for love2d using micro?
- Mon Mar 20, 2017 9:20 pm
- Forum: General
- Topic: What code editor do you use ?
- Replies: 195
- Views: 301602
Re: What code editor do you use ?
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.
- Sat Mar 04, 2017 9:29 am
- Forum: Support and Development
- Topic: Different fps on different machines
- Replies: 5
- Views: 6525
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.
- Sat Feb 25, 2017 9:43 am
- Forum: General
- Topic: Math for a Scrollbar?
- Replies: 4
- Views: 4220
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...
- Fri Feb 24, 2017 6:17 pm
- Forum: General
- Topic: Math for a Scrollbar?
- Replies: 4
- Views: 4220
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...
- Mon Feb 20, 2017 7:36 am
- Forum: General
- Topic: What code editor do you use ?
- Replies: 195
- Views: 301602
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...
- Sun Feb 19, 2017 1:16 pm
- Forum: Libraries and Tools
- Topic: Guilty - yet another GUI library
- Replies: 10
- Views: 7798
- Fri Feb 17, 2017 7:10 am
- Forum: Libraries and Tools
- Topic: Guilty - yet another GUI library
- Replies: 10
- Views: 7798
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!
- Sat Feb 11, 2017 2:16 pm
- Forum: Libraries and Tools
- Topic: Guilty - yet another GUI library
- Replies: 10
- Views: 7798
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...