Search found 909 matches

by nevon
Wed Mar 14, 2012 10:30 pm
Forum: Support and Development
Topic: Question and problem: How do you put in a .png image?
Replies: 5
Views: 5798

Re: Question and problem: How do you put in a .png image?

This part is completely messed up. I don't even know what's going on. function love.draw() love.graphics.setColor(72, 160, 14) love.graphics.polygon("fill", objects.ground.shape:getPoints()) love.graphics.setColor(193, 47, 14) love.graphics.circle(objects.ball.body:function love.load() ima...
by nevon
Wed Mar 14, 2012 3:17 pm
Forum: Support and Development
Topic: Pixel under cursor
Replies: 6
Views: 3840

Re: Pixel under cursor

Code: Select all

screen = love.graphics.newScreenshot()
r,g,b,a = screen:getPixel(x,y)
by nevon
Wed Mar 14, 2012 1:02 pm
Forum: Support and Development
Topic: Problem with the physics tutorial
Replies: 3
Views: 2912

Re: Problem with the physics tutorial

I would guess that it's because newWorld only takes 3 arguments now.
by nevon
Wed Mar 14, 2012 12:24 pm
Forum: Support and Development
Topic: Distribution, lets tackle this thing
Replies: 16
Views: 10874

Re: Distribution, lets tackle this thing

Building standalone debian packages So, most of the time you may not care to create a "proper" package or uploading it to a PPA. So in case you want a 2 minute packaging guide, here it is. This way of creating packages will probably make real packagers cry in pain, so I'm sorry for that, ...
by nevon
Wed Mar 14, 2012 9:51 am
Forum: Support and Development
Topic: Distribution, lets tackle this thing
Replies: 16
Views: 10874

Re: Distribution, lets tackle this thing

thelinx wrote:Great guide, nevon. One error, though:
nevon wrote: Makefile

Code: Select all

uninstall:
	$(RM) $(DESTDIR)/usr/lib/omgwords/appname.love
Whoops! Fixed now.
by nevon
Wed Mar 14, 2012 9:26 am
Forum: Support and Development
Topic: Distribution, lets tackle this thing
Replies: 16
Views: 10874

Re: Distribution, lets tackle this thing

Alright, here we go. This is not a guide on how to create a stand-alone deb (though I could probably do that as well, if I can remember how). It's a guide on how to set up a PPA. The script I'll provide requires you to have your code available from a remote repository. In my case it's a git repo. Yo...
by nevon
Tue Mar 13, 2012 5:22 pm
Forum: Support and Development
Topic: Distribution, lets tackle this thing
Replies: 16
Views: 10874

Re: Distribution, lets tackle this thing

The next time I'm in my Linux partition, I'll share my set up for distributing a LÖVE game via a PPA.
by nevon
Mon Mar 12, 2012 8:12 pm
Forum: General
Topic: Programming High?
Replies: 42
Views: 17967

Re: Programming High?

bartbes wrote:
tentus wrote:Memory is extremely important to programmers, far more important than a sense of communion with the universe.
Well that exp.. what was I saying?
I dunno. Man... How good would some brownies be right now? Soo good.
by nevon
Mon Mar 12, 2012 6:01 pm
Forum: General
Topic: Programming High?
Replies: 42
Views: 17967

Re: Programming High?

I sort of just confirmed that weed has a positive effect on my programming. I defined an image as "img = "img/something.png". And it took me like 3 minutes to realize what the problem was. Are you familiar with confirmation bias? Anyone up for a double blind experiment? One group get...
by nevon
Sun Mar 11, 2012 1:52 pm
Forum: General
Topic: Programming High?
Replies: 42
Views: 17967

Re: Programming High?

Are you sure that smoking has really increased your programming output? Maybe it has lowered your output when you are not smoking instead. One quite common effect of cannabis use is that you get really into whatever it is you're doing. I could see how you could crank out more code while high. Howev...