Search found 71 matches

by Sasha264
Mon Jun 01, 2020 4:58 am
Forum: Support and Development
Topic: Multicanvas shader compile error because of comment line
Replies: 0
Views: 5477

Multicanvas shader compile error because of comment line

Good day! Here is 2 formats for pixel shader: 1) with arguments and with return value and 2) without arguments and with love_Canvases assignments. I was developing some shader and switching between those two formats back and forward with commenting some lines. And noticed some strange behavior. Here...
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: 2206

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: 2056

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: 2206

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: 2206

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: 2056

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: 321
Views: 158698

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: 2108

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: 2923

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: 1809

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...