Search found 96 matches

by ingsoc451
Wed Dec 11, 2019 9:12 pm
Forum: General
Topic: What code editor do you use ?
Replies: 146
Views: 40334

Re: What code editor do you use ?

SciTE
by ingsoc451
Wed Dec 11, 2019 12:39 pm
Forum: Support and Development
Topic: Selecting multiple functions in one class depending on the modificator/table index
Replies: 2
Views: 179

Re: Selecting multiple functions in one class depending on the modificator/table index

local functionTable = { function(enemy) enemy:Throwable(enemy.type) enemy:Bounce() enemy:Gravity() end, function(enemy) enemy:BounceAndRicochet() enemy:Gravity() end, function(enemy) enemy:Chase() enemy:Gravity() end, function(enemy) enemy:NoGravity() end, } function enemy:update() functionTable[se...
by ingsoc451
Wed Dec 04, 2019 9:42 am
Forum: Libraries and Tools
Topic: iffy: A spritesheet helper library
Replies: 4
Views: 334

Re: iffy: A spritesheet helper library

You only need to convert it one time. It looks like it converts it everytime
by ingsoc451
Tue Dec 03, 2019 5:14 pm
Forum: Libraries and Tools
Topic: iffy: A spritesheet helper library
Replies: 4
Views: 334

Re: iffy: A spritesheet helper library

Here something I used while working with Kenney's sprite sheets. It converts the specific xml format to a lua table
by ingsoc451
Wed Nov 27, 2019 8:13 pm
Forum: Libraries and Tools
Topic: bsgtimer
Replies: 7
Views: 3768

Re: bsgtimer

No idea how to do that.
I added a github repo pm an unrelated note.
by ingsoc451
Sat Nov 23, 2019 9:50 pm
Forum: Support and Development
Topic: Is it possible to make a file explorer?
Replies: 5
Views: 457

Re: Is it possible to make a file explorer?

Quite possible but for a random location (that is outside love's reach) you might need to use a lua library to get files in a folder.
Another option is calling system commands like find/ls/dir via popen and capturing their output.
by ingsoc451
Wed Nov 20, 2019 7:10 pm
Forum: Libraries and Tools
Topic: bsgtimer
Replies: 7
Views: 3768

Re: bsgtimer

I made the mistake of reading the source code, it was awful:
rewrote most of it
reduced .love file size by generating textures
added moonshine glow shader

edit: I noticed that I had posted this on the wrong category. (it took only 3.5 years)
by ingsoc451
Tue Nov 19, 2019 3:35 pm
Forum: Games and Creations
Topic: Old nogames in new Love
Replies: 0
Views: 703

Old nogames in new Love

Old love2d nogame screens modified to work on the latest
https://github.com/monolifed/love2d_nogame
by ingsoc451
Thu Nov 14, 2019 3:24 pm
Forum: Libraries and Tools
Topic: text formatter/viewer
Replies: 1
Views: 828

Re: text formatter/viewer

Note: Currently images are drawn above previous text/images
fixed in git

Justification affects the current and the following lines. It is best to use one at the start of a newline.
by ingsoc451
Tue Nov 12, 2019 1:07 pm
Forum: Libraries and Tools
Topic: text formatter/viewer
Replies: 1
Views: 828

text formatter/viewer

https://github.com/monolifed/love2d_textview
(eventually it will be merged into boxui)
(WIP)

I tried to make it a little easier to use:
- You can use markdown style linebreaks
- You can add your own commands without modifying the module
- You can justify text: center, right, left