Search found 24 matches

by MrPickle
Fri Sep 19, 2008 9:19 pm
Forum: Support and Development
Topic: Pong paddle AI?
Replies: 7
Views: 5962

Re: Pong paddle AI?

Here's how I controled the AI paddle in my pong game: -- If ball is below paddle, move down local ComDelta_y = Bars["Computer"].y if Ball.y < Bars["Computer"].y+75 then -- 75 Was the height Bars["Computer"].y = Bars["Computer"].y - (Ball.Speed/2)*dt if Bars[&q...
by MrPickle
Wed Sep 17, 2008 6:56 pm
Forum: Support and Development
Topic: Reading files under Löve
Replies: 5
Views: 5726

Re: Reading files under Löve

Ahh, cool.
by MrPickle
Wed Sep 17, 2008 3:10 pm
Forum: Support and Development
Topic: Reading files under Löve
Replies: 5
Views: 5726

Re: Reading files under Löve

I believe it opens a buffer or some shit and the boolean is the success of it. Once you have opened it you then need to manually read line by line or a given string length. Maybe you have come from an unprofessional shit thing like Garry's Mod where everything is handed to you on a plate with a kni...
by MrPickle
Tue Sep 16, 2008 10:18 pm
Forum: Support and Development
Topic: Reading files under Löve
Replies: 5
Views: 5726

Reading files under Löve

I'm struggling to read a file under löve? I know love.filesystem.open( file ) but that returns a boolean? so how can that boolean be the file? I'm confused by that. Could someone provide an example of how to open a file and read it line by line? (The tutorials could do with one on reading files if I...
by MrPickle
Sat Sep 13, 2008 1:40 pm
Forum: General
Topic: Umlaut
Replies: 2
Views: 8373

Re: Umlaut

Oooooh, thanks.
by MrPickle
Fri Sep 12, 2008 5:36 pm
Forum: General
Topic: How Did You Find (true) LÖVE?
Replies: 55
Views: 56956

Re: How Did You Find (true) LÖVE?

I can't remember but I know that it was the sexy site that made me download it. (I dribbled all over my favourite jeans when I saw the site)
by MrPickle
Fri Sep 12, 2008 5:32 pm
Forum: General
Topic: Umlaut
Replies: 2
Views: 8373

Umlaut

I was reading the FAQ and the last question was asking about umlaut...

Wtf's umlaut??
by MrPickle
Sat Aug 16, 2008 11:14 am
Forum: Support and Development
Topic: Calling a function from a string
Replies: 2
Views: 4136

Re: Calling a function from a string

Thanks
by MrPickle
Fri Aug 15, 2008 11:32 am
Forum: Support and Development
Topic: Calling a function from a string
Replies: 2
Views: 4136

Calling a function from a string

How can I call a function from a string in LUA?

EG I had a string like this: "DoMath("1+1")" and I wanted to use that string to call DoMath("1+1")
by MrPickle
Sat Jul 19, 2008 3:00 pm
Forum: General
Topic: collision
Replies: 6
Views: 7630

Re: collision

When can we expect the next update?