Search found 10 matches

by Gallefray
Mon Jan 28, 2013 5:03 pm
Forum: Support and Development
Topic: love.graphics.scale() and screen positions
Replies: 5
Views: 4342

Re: love.graphics.scale() and screen positions

xXxMoNkEyMaNxXx wrote:Multiplying by the reciprocal is a waste of time, just do the division in the first place.
example?
by Gallefray
Sun Jan 27, 2013 11:02 am
Forum: Support and Development
Topic: love.graphics.scale() and screen positions
Replies: 5
Views: 4342

Re: love.graphics.scale() and screen positions

Santos wrote:I think multiplying half the screen width and height by 1/scale should work.

Code: Select all

    middleScreenHeight = screenHeight/2 * 1/scale
    middleScreenWidth = screenWidth/2 * 1/scale
It works like a charm! Thank you! If ĸarma was still on this forum, you would get a +1 :awesome:

Nyaa!
by Gallefray
Sat Jan 26, 2013 11:53 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1500642

Re: What's everyone working on? (tigsource inspired)

*Tries to steer the posts back on topic, looks at the chances in his D&D manual and promptly gives up* I'm working on about four or five projects, all secret. The one that's the most completed feels like a stack of jenga when I try and code on it; It breaks everytime I try and add something new....
by Gallefray
Sat Jan 26, 2013 11:40 pm
Forum: Support and Development
Topic: love.graphics.scale() and screen positions
Replies: 5
Views: 4342

love.graphics.scale() and screen positions

Hullo there! I've looked around on the forums using the search function, to no avail... My question is, how do I find the middle of the screen after applying love.graphics.scale? I would have thought that you can just apply the values that you've used in love.graphics.scale() to the screens X and Y ...
by Gallefray
Fri Dec 14, 2012 12:26 pm
Forum: General
Topic: Compiling for win and mac on linux
Replies: 4
Views: 2402

Re: Compiling for win and mac on linux

If you're building a .exe for windows from either mac or linux, you can use this command: cat love.exe mygame.love > mygame.exe thanks! this will help loads ;) I wrote some scripts a while back, and came up with the following which I used for LD24. These scripts build for windows, OSX and the love ...
by Gallefray
Thu Dec 13, 2012 10:42 pm
Forum: General
Topic: Compiling for win and mac on linux
Replies: 4
Views: 2402

Compiling for win and mac on linux

Hi all, I don't know if this problem has been sorted in the forums before or not, but I'm short on time at the moment D: Is there anyway to compile my .love into binary form for windows and mac, when I'm on linux. I don't at the moment have access to my windows computer, and I don't have a mac, so i...
by Gallefray
Thu Dec 13, 2012 10:34 pm
Forum: General
Topic: Ludum Dare 25 joinings
Replies: 34
Views: 14415

Re: Ludum Dare 25 joinings

I might be joining, this will be my fourth participation (if you count miniLD's and the Oct challenge).

So, uhh, good luck to all who do

If I do participate, here's my stream:
https://twitter.com/Gallefray
by Gallefray
Thu Nov 29, 2012 10:18 pm
Forum: General
Topic: 100 terrific Tools for Coders & Devs (not Lua/Love related)
Replies: 6
Views: 3547

Re: 100 terrific Tools for Coders & Devs (not Lua/Love relat

BlackBulletIV wrote:
Gallefray wrote:sorry, my last post was disapproved, I was not advertising, I was thanking you for the post :)
Your first post was pretty generic, so I'm guessing that's why it goes disapproved. Anyway, welcome to the forums.
thanks :)
by Gallefray
Thu Nov 29, 2012 10:17 pm
Forum: General
Topic: The Raspberry Pi
Replies: 13
Views: 12052

Re: The Raspberry Pi

I really need this soon, I've just turned my raspberry pi into my main PC because as far as I can see it has better specs (I was coding on a pc from 2002 D: and building it on the laptop next to me) and I don't really want to learn/use pygame ;_; help me love2D, you're my only hope</halfjoke> :o Ser...
by Gallefray
Wed Oct 17, 2012 1:23 pm
Forum: General
Topic: 100 terrific Tools for Coders & Devs (not Lua/Love related)
Replies: 6
Views: 3547

Re: 100 terrific Tools for Coders & Devs (not Lua/Love relat

sorry, my last post was disapproved, I was not advertising, I was thanking you for the post :)