Search found 6 matches

by zaher
Tue Mar 28, 2017 6:05 pm
Forum: General
Topic: Sharing lua library have resources (image)
Replies: 4
Views: 968

Re: Sharing lua library have resources (image)

Thank you all, but All answers depends on putting my library inside the game directory. so let me explain my project, I am building environment close to my old BASIC environment MSX/ZX/Commodore to teach kids programming Lua, (I like to finish it before this summer) For temporary I called it BASIC (...
by zaher
Tue Mar 28, 2017 12:19 pm
Forum: General
Topic: Sharing lua library have resources (image)
Replies: 4
Views: 968

Sharing lua library have resources (image)

I have Lua library for Love2D (let assume it is kind of framework), If I want to share it between my Love2D projects, I will put it in folder and point LUA_PATH to this folder. It is works fine until now, but what if I have an image or sound file inside this lib that I want to load it from my projec...
by zaher
Sat Dec 03, 2016 8:59 am
Forum: Support and Development
Topic: clear canvas in coroutine not work
Replies: 2
Views: 589

Re: clear canvas in coroutine not work

Nop, that circle still appear
by zaher
Fri Dec 02, 2016 11:10 pm
Forum: Support and Development
Topic: clear canvas in coroutine not work
Replies: 2
Views: 589

clear canvas in coroutine not work

Last clear in coroutine not effects until i draw something after it or before it without yield, the circle in this example still shown I tested in Windows 8.1, Love 10.2, 10.1, 9.1 same bug video card "Intel(R) HD Graphics" but when I tested in linux debian jessie, in virtual machine it work fine (r...
by zaher
Mon Nov 21, 2016 5:14 pm
Forum: Support and Development
Topic: Different Results when drawing shapes on buffer or direct
Replies: 2
Views: 837

Different Results when drawing shapes on buffer or direct

I draw rectangle/circle in buffer(canvas) and directly, I haven't the same results function love.load() buffer = love.graphics.newCanvas() -- buffer:setFilter("nearest") love.graphics.setCanvas(buffer) love.graphics.circle("line", 100, 100, 50) love.graphics.rectangle("line", 100, 100, 100, 100) -- ...