Search found 11 matches
- Thu Jan 25, 2018 8:27 pm
- Forum: Support and Development
- Topic: love.graphics.print( coloredText ) question
- Replies: 7
- Views: 7465
Re: love.graphics.print( coloredText ) question
I'm very pleased to write with you, but I think we do not understand each other because of my bad english. Sorry, I'm trying hard ;) However. The following two have the same result: love.graphics.print({green, "TEXT"}, 10, 10) And love.graphics.setColor(green) love.graphics.print("TEX...
- Wed Jan 24, 2018 12:58 am
- Forum: Support and Development
- Topic: love.graphics.print( coloredText ) question
- Replies: 7
- Views: 7465
Re: love.graphics.print( coloredText ) question
Well. It actually is doing exactly the same! Not exactly I think. love.graphics.setColor(green) love.graphics.print({blue, "TEXT"}, 10, 10) is not the same as: love.graphics.setColor(green) love.graphics.setColor(blue) love.graphics.print("TEXT", 10, 10) This is what I mean.
- Wed Jan 24, 2018 12:16 am
- Forum: Support and Development
- Topic: io.open() question
- Replies: 4
- Views: 3728
Re: io.open() question
@zorg
Thanks for the explanation!
Thanks for the explanation!
- Tue Jan 23, 2018 6:08 pm
- Forum: Support and Development
- Topic: io.open() question
- Replies: 4
- Views: 3728
Re: io.open() question
Is working for me. I used io.open and file:lines.
Now I found love.filesystem.lines
I'll change this in my app for better consistency.
Thank you!
Now I found love.filesystem.lines
I'll change this in my app for better consistency.
Thank you!
- Tue Jan 23, 2018 5:19 pm
- Forum: Support and Development
- Topic: io.open() question
- Replies: 4
- Views: 3728
io.open() question
I have two directories: [LOVE2D directory] and [App directory] . When I start app from LOVE2D directory using love.exe "App directory" , for every newImage, newSource, newFont etc. current directory is [App directory] , only for io.open current directory is [LOVE2D directory] . Is this OK?...
- Sat Jan 20, 2018 8:40 pm
- Forum: Support and Development
- Topic: love.graphics.print( coloredText ) question
- Replies: 7
- Views: 7465
Re: love.graphics.print( coloredText ) question
I expected coloredText option for print do the same as setColor (for the moment). Now I understand is not. Thank you!
- Sat Jan 20, 2018 7:08 pm
- Forum: Support and Development
- Topic: love.graphics.print( coloredText ) question
- Replies: 7
- Views: 7465
love.graphics.print( coloredText ) question
I have a program (v0.11): local green = {0, 1, 0, 1} local blue = {0, 0, 1, 1} local white = {1, 1, 1, 1} function love.draw() love.graphics.setColor(green) -- something -- love.graphics.setColor(white) love.graphics.print({blue, "TEXT"}, 10, 10) end Text is not printed in blue unless colo...
- Mon Jan 01, 2018 5:08 pm
- Forum: Support and Development
- Topic: BUG in touch/mouse callbacks on Windows
- Replies: 4
- Views: 5939
Re: BUG in touch/mouse callbacks on Windows
You probably don't understand what I mean. I can't use isTouch parameter because love.mousepressed() is NOT triggered when I touch the screen. Is triggered in other, wrong moment.
- Mon Jan 01, 2018 4:58 pm
- Forum: Support and Development
- Topic: BUG in touch/mouse callbacks on Windows
- Replies: 4
- Views: 5939
Re: BUG in touch/mouse callbacks on Windows
love uses SDL for input, and SDL's touch/mouse event code on Windows uses Microsoft's Windows APIs pretty directly. This might be an issue with Windows or your touchscreen's drivers. OK, love.touchpressed() and love.touchreleased() working fine, I can use them for touch instead of mouse callbacks, ...
- Mon Jan 01, 2018 4:04 pm
- Forum: Support and Development
- Topic: BUG in touch/mouse callbacks on Windows
- Replies: 4
- Views: 5939
BUG in touch/mouse callbacks on Windows
When touch is RELEASED two callbacks are triggered: love.touchreleased() and love.mousereleased() and it seems to be OK,but when touch is PRESSED only love.touchpressed() is triggered, however love.mousepressed() is triggered when touch is moved or when touch is released (together with love.mouserel...