Search found 131 matches
- Mon Jun 01, 2020 4:58 am
- Forum: Support and Development
- Topic: Multicanvas shader compile error because of comment line
- Replies: 3
- Views: 10703
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...
- Sun Sep 15, 2019 10:04 am
- Forum: Support and Development
- Topic: Please Share: LOVE for Lua Game Programming Example Code
- Replies: 7
- Views: 5153
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 ...
- 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: 5385
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
Transparent videos is a truly mysterious mysteries in our world
- Thu Sep 12, 2019 1:43 pm
- Forum: Support and Development
- Topic: Please Share: LOVE for Lua Game Programming Example Code
- Replies: 7
- Views: 5153
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...
- Thu Sep 12, 2019 10:52 am
- Forum: Support and Development
- Topic: Please Share: LOVE for Lua Game Programming Example Code
- Replies: 7
- Views: 5153
Re: Please Share: LOVE for Lua Game Programming Example Code
Hello!
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?
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?
- 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: 5385
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...
- Thu Sep 12, 2019 10:18 am
- Forum: Support and Development
- Topic: Share a Shader!
- Replies: 328
- Views: 533817
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...
- 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: 4594
Re: is there a list of the best software development companies?
Thanks to that bot I just obtained list of notable love games
- Thu Sep 12, 2019 9:39 am
- Forum: Support and Development
- Topic: Confused about assignments
- Replies: 10
- Views: 6168
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...
- Mon Sep 09, 2019 11:57 am
- Forum: Support and Development
- Topic: Filter Video with Shader?
- Replies: 2
- Views: 2776
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...