Search found 60 matches

by Sasha264
Sun Sep 15, 2019 10:04 am
Forum: Support and Development
Topic: Please Share: LOVE for Lua Game Programming Example Code
Replies: 7
Views: 1577

Re: Please Share: LOVE for Lua Game Programming Example Code

Google drive link you provided requires permission to open, so I can not see it. But here on forum exists a possibility to attach files to your post: available by clicking Full editor -> Attachments ...
by Sasha264
Sun Sep 15, 2019 10:00 am
Forum: Support and Development
Topic: Does Love 2D support video with an alpha channel for video overlay?
Replies: 6
Views: 1430

Re: Does Love 2D support video with an alpha channel for video overlay?

Thanks for sharing blender settings!
Transparent videos is a truly mysterious mysteries in our world :3
by Sasha264
Thu Sep 12, 2019 1:43 pm
Forum: Support and Development
Topic: Please Share: LOVE for Lua Game Programming Example Code
Replies: 7
Views: 1577

Re: Please Share: LOVE for Lua Game Programming Example Code

Sorry, personally I don't have any universal library combos :monocle: Typically, each project requires a different library set. But here you can find many of Love2d useful libraries https://love2d.org/wiki/Category:Libraries (anim8 included :3) If you are following book examples then I suppose (I ha...
by Sasha264
Thu Sep 12, 2019 10:52 am
Forum: Support and Development
Topic: Please Share: LOVE for Lua Game Programming Example Code
Replies: 7
Views: 1577

Re: Please Share: LOVE for Lua Game Programming Example Code

Hello! :3
Hmm... Just googled "LOVE for Lua Game Programming Example Code" and first link was to the GitLab repo https://resources.oreilly.com/examples/9781782161608
that contains something looking like examples. Is it what you need?
by Sasha264
Thu Sep 12, 2019 10:39 am
Forum: Support and Development
Topic: Does Love 2D support video with an alpha channel for video overlay?
Replies: 6
Views: 1430

Re: Does Love 2D support video with an alpha channel for video overlay?

Hello! :awesome: I made a video with alpha transparency... Wow!! How did you do that? There are surprisingly few video file formats that can contain alpha channel. Love2d supports only OGV video format https://love2d.org/wiki/love.graphics.newVideo Just googled it for a bit and couldn't find somethi...
by Sasha264
Thu Sep 12, 2019 10:18 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 317
Views: 132354

Re: Share a Shader!

trabitboy , Hi! :awesome: To pass 2 or more images (canvases, textures) to the shader you can declare they inside shader code using extern directive. And after that but before using this shader you need to send this texture to a shader using shader:send(...) method https://love2d.org/wiki/Shader:se...
by Sasha264
Thu Sep 12, 2019 9:46 am
Forum: Support and Development
Topic: is there a list of the best software development companies?
Replies: 5
Views: 1647

Re: is there a list of the best software development companies?

Thanks to that bot I just obtained list of notable love games :crazy:
by Sasha264
Thu Sep 12, 2019 9:39 am
Forum: Support and Development
Topic: Confused about assignments
Replies: 10
Views: 2324

Re: Confused about assignments

Is here an explanation why the comma limits the number of returned values to 1? I can imagine negative side of that solution. For example this call: love.graphics.draw(drawable, x, y, r, sx, sy, ox, oy, kx, ky) can not be made like this: love.graphics.draw(drawable, obj:getPosition(), r, obj:getScal...
by Sasha264
Mon Sep 09, 2019 11:57 am
Forum: Support and Development
Topic: Filter Video with Shader?
Replies: 2
Views: 1545

Re: Filter Video with Shader?

Hello! I suggest that the problem is in Texel(...) function which is not intended to sample video. Here I found proper sampling function for video: https://love2d.org/wiki/love.graphics.newShader local video = love.graphics.newVideo('video.ogv') local shader = love.graphics.newShader[[ vec4 effect(v...
by Sasha264
Mon Sep 09, 2019 10:47 am
Forum: Support and Development
Topic: Quads have borders from neighbours (Tileset)
Replies: 7
Views: 2173

Re: Quads have borders from neighbours (Tileset)

Hmmm... Googled and found this: https://gamedev.stackexchange.com/questions/46963/how-to-avoid-texture-bleeding-in-a-texture-atlas It is not about Love2d, but the problem is common for computer graphics at all =) They suggests to move quads coordinates to the center of the pixels, not to the borders...