Search found 402 matches

by DaedalusYoung
Thu Jan 29, 2015 5:40 am
Forum: General
Topic: Help me please, I'm noob :S
Replies: 9
Views: 1771

Re: Help me please, I'm noob :S

This:
Byakko wrote:

Code: Select all

    if x = -100 then 
    	x = 900
    end

    if y = -100 then
    	y = 700
    end
is checking if the square is at exactly -100. This probably never happens. Change it to:

Code: Select all

    if x < -100 then 
    	x = 900
    end

    if y < -100 then
    	y = 700
    end
by DaedalusYoung
Thu Jan 29, 2015 4:41 am
Forum: Support and Development
Topic: LÖVE sometimes causes kernel panic on Mac OS X 10.8.5
Replies: 4
Views: 911

LÖVE sometimes causes kernel panic on Mac OS X 10.8.5

I've had this happen only twice, so it seems to be very rare, but I've had LÖVE cause a kernel panic on switching fullscreen. Both times I didn't use the love.window functions to go fullscreen, but the 'lower left-upper right arrow'-button Mac applications show in the top right corner of the window....
by DaedalusYoung
Sun Jan 25, 2015 9:17 pm
Forum: Support and Development
Topic: [solved] drawing with transparency
Replies: 6
Views: 2194

Re: drawing with transparency

The problem is indeed the transparency. When you scale the png, LÖVE interpolates all the colour channels, including alpha. So you get a blend of transparency, but the colour of the underlying pixels is black (so some pixel's colour value is 0,0,0,255). The solution lies in your image editor, make a...
by DaedalusYoung
Mon Jan 19, 2015 6:21 pm
Forum: General
Topic: Joke/pun thread
Replies: 38
Views: 8582

Re: Joke/pun thread

There are 10 types of people: Those who understand binary number and those who don't. Ah, I was just about to post that. Well then, let's do the other classic instead: Why do programmers celebrate Halloween on Christmas Day and vice versa? Because 25 DEC = 31 OCT! (who uses octal nowadays anymore?)
by DaedalusYoung
Sun Jan 18, 2015 9:38 pm
Forum: Support and Development
Topic: Question (urgent!) - a simple 2D game
Replies: 1
Views: 604

Re: Question (urgent!) - a simple 2D game

Use dt.

Code: Select all

function love.update(dt)

  units[1].pos = {

  units[1].pos[1] + (units[1].moveDir[1] * (35 * dt)),
  units[1].pos[2] + (units[1].moveDir[2] * (35 * dt))

  }

end
by DaedalusYoung
Thu Jan 01, 2015 2:38 am
Forum: General
Topic: Happy New Year!
Replies: 7
Views: 1362

Happy New Year!

Hope you all have a Lövely 2015!
by DaedalusYoung
Tue Dec 09, 2014 1:36 pm
Forum: General
Topic: Any reason not to do your logic in love.draw?
Replies: 6
Views: 1505

Re: Any reason not to do your logic in love.draw?

Also, sometimes you want to update things in a different order than how you draw them. For example, a parallaxing background changes depending on player position, so you need to update the player first, then you can update the background. But you will want to draw the background first, and then the ...
by DaedalusYoung
Sun Dec 07, 2014 12:44 pm
Forum: Support and Development
Topic: FPS Stuck at 50
Replies: 3
Views: 561

Re: FPS Stuck at 50

Did you upgrade video drivers?
by DaedalusYoung
Tue Dec 02, 2014 9:38 pm
Forum: General
Topic: development environment
Replies: 24
Views: 4957

Re: development environment

None of the above. I just use TextWrangler.