Search found 1938 matches

by Nixola
Tue Dec 20, 2011 1:48 pm
Forum: Support and Development
Topic: LUA 5.1 or LUA 5.2 ?
Replies: 9
Views: 4436

Re: LUA 5.1 or LUA 5.2 ?

coffee wrote:[...] I'm not sure but only few Lua things won't work well with Lua.
It isn't good when something doesn't work well with itself :huh:
by Nixola
Tue Dec 20, 2011 1:46 pm
Forum: General
Topic: Lua Generic for
Replies: 28
Views: 8496

Re: Lua Generic for

Well, if you use a numeric for then you're probably going to be using the # operator on the table, and that will also not like gaps in the array part. Just try to either not have gaps in arrays (use table.remove), or discard the notion of iterating over the whole array sequentially if there are gap...
by Nixola
Mon Dec 19, 2011 10:48 pm
Forum: Games and Creations
Topic: B: You Are A Magnet (concept demo)
Replies: 11
Views: 6361

Re: B: You Are A Magnet (concept demo)

Maybe you should lower jumps, I managed to reach the goal without using the cannon...
by Nixola
Mon Dec 19, 2011 7:25 pm
Forum: General
Topic: Translating wiki
Replies: 4
Views: 2258

Re: Translating wiki

I translated an entire page, I meant "Wiki not fully translated into Italian"
by Nixola
Mon Dec 19, 2011 12:30 pm
Forum: General
Topic: Lua Generic for
Replies: 28
Views: 8496

Re: Lua Generic for

@kikito: I know you are very helpful, but after opening a topic in Projects and Demos (SCR Move) I want to try to do something on my own, without any help. Think it as a challenge... @Jasoco: I know, I destroy every "dead" item but only if it is the last one in the table (to prevent gaps i...
by Nixola
Sun Dec 18, 2011 11:00 pm
Forum: General
Topic: Lua Generic for
Replies: 28
Views: 8496

Re: Lua Generic for

Thank you, you just told me that, if I want to solve an annoying bug from my game (if you shoot for more than 5 seconds on a netbook it will start to get slower), I've to use something that I hate... :(
Since I still don't understand it, I think I'll wait before solving that bug
by Nixola
Sun Dec 18, 2011 10:39 pm
Forum: Games and Creations
Topic: ADAPTIVE INVADERS - testers for part 2
Replies: 7
Views: 5346

Re: ADAPTIVE INVADERS - testers for part 2

I tried with both love and love-unstable linux packages (updated and upgraded 3 hours ago) without problems...
P.S: I didn't know that Love could run .love files renamed to .zip (You'll ask: why did you try?)
by Nixola
Sun Dec 18, 2011 10:13 pm
Forum: General
Topic: Lua Generic for
Replies: 28
Views: 8496

Re: Lua Generic for

Can I ask "Why should I use a generic for instead of a numeric one" and "How does generic for work"? I didn't read that part of your tutorial 'cause numbers don't confuse me and I'm fine with numeric ones, so I don't understand how do they work... (I tried to read it later but I ...
by Nixola
Sun Dec 18, 2011 9:17 pm
Forum: Games and Creations
Topic: ADAPTIVE INVADERS - testers for part 2
Replies: 7
Views: 5346

Re: ADAPTIVE INVADERS - testers for part 2

Code: Select all

NEW GAME
********************

DIFICULTAD ESTATICA
DIFICULTAD: 4	 DIVERSION: 5

DIFICULTAD DINAMICA
DIFICULTAD: 7	 DIVERSION: 5


GAME FINISHED
********************
I really suck at these games, but I find the second round a bit too hard
by Nixola
Sun Dec 18, 2011 8:59 pm
Forum: Support and Development
Topic: limiting attack speeds.
Replies: 2
Views: 1761

Re: limiting attack speeds.

function love.update(dt) if timer_attack > 2 then if zombie.x > steve.x and zombie.x < steve.x + zombie.reach and zombie.y > steve.y and zombie.y < steve.y + 100 or zombie.x > steve.x and zombie.x < steve.x + zombie.reach and zombie.y == steve.x then steve.health = steve.health - 2 timer_attack = 0...