That method may stop the graphical glitching but it causes decimals to be completely ignored during graphics translation. The decimals are necessary for the current project I'm working on.arampl wrote:Not sure if this is a good solution, but:
love.graphics.translate(-math.floor(x), 0)
Search found 58 matches
- Thu Mar 19, 2015 6:11 am
- Forum: Support and Development
- Topic: [Solved]love.graphics.translate
- Replies: 7
- Views: 2876
Re: love.graphics.translate
- Thu Mar 19, 2015 5:43 am
- Forum: Support and Development
- Topic: [Solved]love.graphics.translate
- Replies: 7
- Views: 2876
[Solved]love.graphics.translate
I have been having this problem for a while now. Basically, if you attempt to translate graphics by anything except a whole number, printed text has some sort of graphical glitch and I can not find any information on this problem at all. Am I using love.graphics.translate incorrectly? In the include...
- Wed Feb 25, 2015 5:10 am
- Forum: General
- Topic: LÖVE 2D for everything.
- Replies: 13
- Views: 6065
LÖVE 2D for everything.
I have been using Love 2D for literally everything that I make that is GUI based and I'm beginning to ask myself whether it's a good idea to use it for EVERYTHING. What are your thoughts on this?
- Wed Feb 18, 2015 3:58 am
- Forum: Support and Development
- Topic: [SOLVED]Detecting if the close button is pressed
- Replies: 2
- Views: 1356
Re: Detecting if the close button is pressed
Thank youPositive07 wrote:[wiki]love.quit[/wiki]
- Wed Feb 18, 2015 3:52 am
- Forum: Support and Development
- Topic: [SOLVED]Detecting if the close button is pressed
- Replies: 2
- Views: 1356
[SOLVED]Detecting if the close button is pressed
I am trying to understand if there is a way of detecting when a user presses the close button and also if there is a way to execute code before the program actually closes.
- Thu Jan 22, 2015 9:36 pm
- Forum: General
- Topic: love.update() and love.draw()
- Replies: 9
- Views: 4354
love.update() and love.draw()
This is a question that has been nagging at my curiosity for ages. I want to know if there are any cons in using love.draw for things that require updating instead of love.update. For example: foo = math.random(0, 10) Let's say I have a variable that needs to be updated to a random number every fram...
- Tue Oct 28, 2014 8:01 am
- Forum: Support and Development
- Topic: [Solved]Custom Physics
- Replies: 6
- Views: 2869
Re: Custom Physics
You say that and yet the first post on this topic answered it.kikito wrote:There is as yet insufficient data for a meaningful answer.
- Sat Oct 25, 2014 6:56 am
- Forum: Support and Development
- Topic: [Solved]Custom Physics
- Replies: 6
- Views: 2869
[Solved]Custom Physics
I've messed around with the Love2d physics system for a game that a few friends and I are making and I've come to a realization. What love.physics offers isn't enough to handle what I want for the game that I'm making. I've talked to a few people about this and they seem to believe that the best way...
- Wed Oct 22, 2014 6:50 am
- Forum: Support and Development
- Topic: Transparent Window
- Replies: 5
- Views: 3876
Re: Transparent Window
I died a little inside.HugoBDesigner wrote:I also wanted this, but I saw in another thread that this isn't possible
I hope future versions of LÖVE add support for this, it is a really useful visual effect!
- Wed Oct 22, 2014 5:54 am
- Forum: Support and Development
- Topic: Transparent Window
- Replies: 5
- Views: 3876
Transparent Window
I'm aware that a window can be made borderless but can a window be transparent? Take for example some sort of borderless window that displays something that doesn't fill up the entire window. Is it possible to make the remaining space transparent? EDIT: I'm putting this here for the sake of my post ...