Search found 129 matches

by napco
Sun Jan 17, 2010 7:58 pm
Forum: General
Topic: Making LÖVE together!
Replies: 81
Views: 27418

Re: Why don't we...

Well, yes... We could make a poll and change topic title. (@giniu: Your idea of "making love together is... lovely!) For the map engine i suggest a tile-based structure (32x32 tiles, or zoomed 16x16)... We could put the game inside a steam-punk atmosphere, with engines, magic, a bit of science and, ...
by napco
Sun Jan 17, 2010 4:46 pm
Forum: General
Topic: Making LÖVE together!
Replies: 81
Views: 27418

Making LÖVE together!

Why don't we set up a team and make a game using LOVE? We could split up the work and maybe make a great game! What do you think? My idea would be a FF6-like RPG, with original graphics (made by us), a battle system, menu etc...
by napco
Fri Jan 15, 2010 12:11 pm
Forum: Games and Creations
Topic: Gravitonik
Replies: 29
Views: 8859

Re: Gravitonik

Well, i think that for a game like this the difficulty level is ok... So, if i were you i wouldn't lower it ^^ Are you going to add some enemies?
by napco
Fri Jan 15, 2010 10:25 am
Forum: Games and Creations
Topic: Gravitonik
Replies: 29
Views: 8859

Re: Gravitonik

Awsome! It remembers me Super Mario Galaxy! It's a very good game. I'm waiting for the full version!
by napco
Thu Jan 14, 2010 7:27 pm
Forum: General
Topic: Finding the minimum value... (not math.min)
Replies: 12
Views: 2322

Re: Finding the minimum value... (not math.min)

Or, again:

Code: Select all

function get_min(t)
    min = math.min(unpack(t))
    for i, v in ipairs(t) do
        if v == min then
            return v, i
        end
    end
end
I LOVE programming because it's almost impossible to have only one solution to a specific problem!
by napco
Thu Jan 14, 2010 2:13 pm
Forum: General
Topic: Finding the minimum value... (not math.min)
Replies: 12
Views: 2322

Re: Finding the minimum value... (not math.min)

Ah, ok... Wow, i didn't know about math.min! I always use it with 2 args...
by napco
Thu Jan 14, 2010 11:43 am
Forum: General
Topic: Finding the minimum value... (not math.min)
Replies: 12
Views: 2322

Re: Finding the minimum value... (not math.min)

Doesn't math.min() take only 2 arguments?
by napco
Thu Jan 14, 2010 10:53 am
Forum: General
Topic: Finding the minimum value... (not math.min)
Replies: 12
Views: 2322

Re: Finding the minimum value... (not math.min)

If you are looking for a function thad does the work for you, than this could be a solution:

Code: Select all

function get_minumum(...)
    table.sort(arg, function(a, b) return a < b end)
    return arg[1]
end
by napco
Wed Jan 13, 2010 1:40 am
Forum: Games and Creations
Topic: OrthoCrawl (lofi dungeon crawler) [WIP]
Replies: 11
Views: 5672

Re: OrthoCrawl (lofi dungeon crawler) [WIP]

I can't play it!!! I see blank rects instead of images... Why? Is it for 0.5.0 maybe?
by napco
Sat Jan 09, 2010 6:54 pm
Forum: General
Topic: LOVEFEST 1/10
Replies: 20
Views: 5094

Re: LOVEFEST 1/10

Too bad... I'm starting the training at the university next monday... I hope i'll find the time to make something!