Search found 170 matches

by Alexar
Mon Feb 25, 2019 5:26 am
Forum: Support and Development
Topic: What's the best way to make boundaries around the screen?
Replies: 4
Views: 1394

Re: What's the best way to make boundaries around the screen?

function math.clamp(a,low,high)
math.max(low,math.min(a,high))
end
so clamp your position within the sceen size.
by Alexar
Mon Feb 25, 2019 5:22 am
Forum: Support and Development
Topic: Any way to make the window transparent?
Replies: 6
Views: 1274

Re: Any way to make the window transparent?

You can use "ffi" and windows api (user32.dll etc) to handle that.
by Alexar
Wed Jan 09, 2019 9:04 am
Forum: Support and Development
Topic: love.audio effect and filter support documents
Replies: 1
Views: 337

love.audio effect and filter support documents

hi guys, i'm looking for documents about love.audio these days. and this is what i found : EAX 4.0 Sound Designer's Guide (2003).pdf which helps me a lot understanding about effects and filters for the source. but this is not the latest version. does anyone have the latest version? please tell me, t...
by Alexar
Mon Dec 17, 2018 2:51 am
Forum: Libraries and Tools
Topic: lighter: another lib for light and shadows
Replies: 3
Views: 2798

Re: lighter: another lib for light and shadows

updated, fixed some bugs.
i ignored this condition : polygons in the world intersect each other should make new nodes for the rays.
GIF.gif
GIF.gif (2.49 MiB) Viewed 2705 times
lighter.love
(6.12 KiB) Downloaded 124 times
by Alexar
Fri Dec 14, 2018 9:34 am
Forum: Libraries and Tools
Topic: lighter: another lib for light and shadows
Replies: 3
Views: 2798

lighter: another lib for light and shadows

This lib is an implement of the contents from page https://ncase.me/sight-and-light/
Just have a try. :awesome:
GIF2.gif
GIF2.gif (3.1 MiB) Viewed 2798 times
GIF.gif
GIF.gif (5.91 MiB) Viewed 2798 times
lighter.love
(2.98 KiB) Downloaded 131 times
by Alexar
Fri Nov 23, 2018 1:59 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1681
Views: 384230

Re: What's everyone working on? (tigsource inspired)

a set of love-style api for weixin-minigame with js language.
GIF.gif
GIF.gif (3.72 MiB) Viewed 4254 times
by Alexar
Thu Nov 08, 2018 12:40 am
Forum: Support and Development
Topic: [solved] Is it possible to pack .love file using love itself?
Replies: 2
Views: 1009

Re: Is it possible to pack .love file using love itself?

Nelvin wrote:
Wed Nov 07, 2018 8:15 am
viewtopic.php?t=84549
thanks a lot , it works!
by Alexar
Wed Nov 07, 2018 2:32 am
Forum: Support and Development
Topic: [solved] Is it possible to pack .love file using love itself?
Replies: 2
Views: 1009

[solved] Is it possible to pack .love file using love itself?

I am working on a love2d IDE with love2d on Android platform. I wonder if love supports to zip a folder, so that i can export a project without using other libs. Thanks.
by Alexar
Fri Nov 02, 2018 12:59 am
Forum: Support and Development
Topic: [SOLVED] Detecting special characters with love.textinput()
Replies: 3
Views: 950

Re: Detecting special characters with love.textinput()

"return" is not a kind of character but a ctrl command, so you can not get it from textinput(), so just use the keypress() func.
by Alexar
Fri Sep 07, 2018 10:33 am
Forum: Ports
Topic: Love.js - A Direct Emscripten Port
Replies: 103
Views: 45148

Re: Love.js - A Direct Emscripten Port

hi,Tanner, can you help me with this?
when i try to port my project with love.js 0.11 , the console output the error message:
'TextDecoder': The provided ArrayBufferView value must not be shared.
error.png
error.png (97.86 KiB) Viewed 2378 times