Search found 36 matches

by feelixe
Mon Aug 01, 2016 10:32 am
Forum: Support and Development
Topic: Thread Example
Replies: 2
Views: 915

Thread Example

Hey, Can someone send an example of a Thread?`Like sending data between that an the original code.
Thank you
by feelixe
Sun Mar 06, 2016 11:06 pm
Forum: Support and Development
Topic: Install Luasec etc.
Replies: 1
Views: 741

Install Luasec etc.

Hello, im trying to install luasec in my project but im getting really frustrated. https://github.com/brunoos/luasec It seems that you usally use LuaRocks for this but I haven't got that installed and i couldn't understand the instructions for windows. The instructions says to: On Windows: - Use the...
by feelixe
Thu Mar 03, 2016 10:39 pm
Forum: Support and Development
Topic: Pass table index instead of table value
Replies: 3
Views: 342

Re: Pass table index instead of table value

well you can do inputbox(table, "valueone") function inputbox(tbl, key) tbl[key] = ..... end but you still need to "wait" for inputbox to return. And I don't see what the problem is with table.valueone = inputbox() in the first place. but if i do table.valueone = inputbox(), then wouldn't the game ...
by feelixe
Thu Mar 03, 2016 10:20 pm
Forum: Support and Development
Topic: Pass table index instead of table value
Replies: 3
Views: 342

Pass table index instead of table value

Hi, the answer to this might be really simple and maybe im just retarded but.. Im curently making a custom Messagebox , with a text input. The goal is to halv something like Table = { valueone = "" } So my options are to either: table.valueone = inputbox:new() But that would have to "pause" the whol...
by feelixe
Wed Mar 02, 2016 9:18 am
Forum: Support and Development
Topic: Like a spritebatch for vectors?
Replies: 4
Views: 825

Re: Like a spritebatch for vectors?

You can use a 1x1 white texture and scaling/rotation when adding it to a spritebatch. For example, Spritebatch:add(0, 0, -math.pi/2, 256, 1) would create a line, 256 pixels in length, rotated by -pi/2. Thank you, but if i then draw the spritebatch and scale it the lines will get pixelated, since it...
by feelixe
Wed Mar 02, 2016 8:26 am
Forum: Support and Development
Topic: Like a spritebatch for vectors?
Replies: 4
Views: 825

Like a spritebatch for vectors?

Hey! I'm making a game with alot om lines and rectangles, like a 1000 of each. The only thing they do is strech in Y and X and move ofcourse. So i thought of a canvas to make it more efficent, but then it's not vectorized. So i thought of a spritebatch, but thats only for textures. Is there anything...
by feelixe
Thu Feb 25, 2016 9:50 pm
Forum: Support and Development
Topic: Shader on video
Replies: 4
Views: 785

Re: Shader on video

Could you share a love file? I Found this shader in the forums. I tried without the canvas first but that didn't work. video1 = love.graphics.newVideo("images/Wildlife.ogv",false), blur1 = love.graphics.newShader [[ vec4 effect(vec4 color, Image texture, vec2 vTexCoord, vec2 pixel_coords) { vec4 su...
by feelixe
Thu Feb 25, 2016 9:35 pm
Forum: Support and Development
Topic: Shader on video
Replies: 4
Views: 785

Shader on video

Hey, I just tried applying a Blur Shader to a video, but insted of seing the video I just see some text.
Is this a limitation or did i do something wrong?
by feelixe
Mon Feb 22, 2016 8:52 am
Forum: Support and Development
Topic: Spaces in number
Replies: 6
Views: 974

Spaces in number

Hi! I've been thinking about a solution for this for i while but i can't come up with anything good. So, How do i format a number so there's spaces at every thousand. like this

68520 -> 68 520
1560340 -> 1 560 340


It's probably really simple but im stuck hehe. Thanks.
by feelixe
Sat Aug 01, 2015 3:27 pm
Forum: Support and Development
Topic: [Solved]Big packets in LUBE
Replies: 2
Views: 483

Re: Big packets in LUBE

Karai17 wrote:Enet.
Thanks!!