Search found 16 matches

by Xrott
Fri Oct 10, 2014 1:27 pm
Forum: Support and Development
Topic: Mouse position isn't accurate with graphics translation.
Replies: 5
Views: 4174

Re: Mouse position isn't accurate with graphics translation.

No, I didn't guess. I actually read the first post and it was pretty clear what the problem was. Now, I know you get the situation a lot, where you can't actually help without a .love and I'm not saying that people shouldn't post their code initially, but some of you seem to be a bit prematurely dis...
by Xrott
Fri Oct 10, 2014 1:00 am
Forum: Support and Development
Topic: Mouse position isn't accurate with graphics translation.
Replies: 5
Views: 4174

Re: Mouse position isn't accurate with graphics translation.

Love.graphics.translate doesn't affect the mouse input coordinates. You need to apply the offset to the mouse x and y positions in reverse. For example, if you translate the x coordinates by 5, you need to subtract 5 from the mouse x. There is no need to get rude here. Sometimes you can figure stuff...
by Xrott
Wed Aug 27, 2014 9:19 pm
Forum: Support and Development
Topic: [SOLVED]Conf.lua being ignored even with "required"
Replies: 11
Views: 9462

Re: Conf.lua being ignored even with "required"

Wait, are you using that "play.bat" to start your game? It looks like that's possibly what's keeping the console from opening. I don't know for sure, but try running your game another way.

http://www.love2d.org/wiki/Getting_Star ... ning_Games
by Xrott
Wed Aug 27, 2014 6:00 pm
Forum: Support and Development
Topic: [SOLVED]Conf.lua being ignored even with "required"
Replies: 11
Views: 9462

Re: Conf.lua being ignored even with "required"

Are you using Windows? Because that option only works for that.

Also, why don't you just simply copy the full list of options from the wiki and change it to what you need? I always start with that.
by Xrott
Wed Aug 27, 2014 5:34 pm
Forum: Support and Development
Topic: Printing 0?
Replies: 3
Views: 2889

Re: Printing 0?

"#" works only with tables that have their keys in sequence (table[1], table[2], table[3]...)
http://www.lua.org/manual/5.2/manual.html#3.4.6
by Xrott
Mon Aug 26, 2013 3:42 pm
Forum: Support and Development
Topic: Help, need buttons.
Replies: 9
Views: 4791

Re: Help, need buttons.

How about simply putting every button in a table, so you could just iterate over them, like this: for i = 1, #buttons do if mouseX > buttons[i].x and mouseX < buttons[i].width + buttons[i].x and mouseY > buttons[i].y and mouseY < buttons[i].height + buttons[i].y then --your code end end
by Xrott
Wed Aug 21, 2013 7:28 pm
Forum: General
Topic: Minimum Standards?
Replies: 10
Views: 4508

Re: Minimum Standards?

I don't believe that this is the correct way to go about things. If a new löver wishes to share their project but does so ineptly we should teach them how rather than punish them. All it takes is a link to the wiki or something, and the post would likely be updated quickly as they're probably check...
by Xrott
Wed Aug 21, 2013 7:25 pm
Forum: Libraries and Tools
Topic: My 4KB Hypnotic Thing, wanna share yours ?
Replies: 41
Views: 21173

Re: My 4KB Hypnotic Thing, wanna share yours ?

I sort of sometimes hypnotize myself, when I can't sleep, then I just concentrate on sleep and tiredness and try not to let my thoughts wander off. Well, that's very close to hypnotizing but not quite. You're convincing yourself to fall sleep, which is kinda sorta very similar to what you're doing ...
by Xrott
Wed Aug 21, 2013 7:04 pm
Forum: General
Topic: Minimum Standards?
Replies: 10
Views: 4508

Re: Minimum Standards?

Is this really such a big problem around here? I mean, I've not been around here for too long, but it doesn't seem to me that it would happen too often that someone uploads no .love or doesn't explain how you'd get it to work. But even then, a simple reminder from someone and the problem is solved w...
by Xrott
Wed Aug 21, 2013 6:05 pm
Forum: Libraries and Tools
Topic: My 4KB Hypnotic Thing, wanna share yours ?
Replies: 41
Views: 21173

Re: My 4KB Hypnotic Thing, wanna share yours ?

I've got something too: Circles_02.05.2012.love It's one of my earliest experiments with love. Actually it's a backup of an earlier state of my experiment (this is why it has the date in the file name). I made this backup because I wanted to move the project into another direction but I kinda liked ...