Search found 375 matches
- Mon Apr 18, 2011 2:25 am
- Forum: General
- Topic: Anyone gonna help a newbie? Again... yet Again...
- Replies: 19
- Views: 12561
Re: Anyone gonna help a newbie? Again... yet Again...
LuaWeaver, here's your problem, way up top in love.load(): local q={0, 0, 0, 0, 0, 0, 0, 0} board={q, q, q, q, q, q, q, q} The reason this fails is tricky, and has to do with the way tables work in Lua. In a nutshell, q is just a reference to a single table, not a table itself. So when you construct...
- Sat Apr 16, 2011 8:55 am
- Forum: Support and Development
- Topic: Loops
- Replies: 5
- Views: 2186
Re: Loops
Yes, they do. LÖVE uses Lua, which has loops built-in.
- Fri Apr 15, 2011 3:24 pm
- Forum: Support and Development
- Topic: Lacking Information II
- Replies: 12
- Views: 5559
Re: Lacking Information II
A few pieces of advice: The way your table's laid out, I'd recommend switching the order of your for loops - each subtable is a row, and the row's index corresponds to its y value, so it'd be better to iterate over y and then x. Don't use pairs here. Pairs is for unordered tables using non-array key...
- Sat Apr 09, 2011 9:15 pm
- Forum: Support and Development
- Topic: Love ang Intel GMA
- Replies: 9
- Views: 2392
Re: Love ang Intel GMA
Yeah, sorry about those numbers. Math is hard. Each of those PNGs is actually just 64KB, which is 2.5 MB - even with compensating for SDL's dumbness, that's just 5 MB. So the problem is something else.
- Sat Apr 09, 2011 8:50 pm
- Forum: Support and Development
- Topic: Love ang Intel GMA
- Replies: 9
- Views: 2392
Re: Love ang Intel GMA
EDIT: math is hard. see below.
- Sat Apr 09, 2011 8:45 pm
- Forum: Support and Development
- Topic: Slow fonts
- Replies: 4
- Views: 1730
Re: Slow fonts
That it is. It will be much faster in 0.8.0.
- Sat Apr 02, 2011 5:23 pm
- Forum: General
- Topic: Random numbers
- Replies: 12
- Views: 5355
Re: Random numbers
I think there's some confusion here about what the issue is. At least on the Mac, it's not that the first few numbers are uniform; it's that the first random number is basically the same for different seeds. Numbers after the first are random enough, but if you run the program several times in succe...
- Fri Apr 01, 2011 4:41 pm
- Forum: Support and Development
- Topic: Compiling Games
- Replies: 21
- Views: 6360
Re: Compiling Games
Try reading Game Distribution.
- Thu Mar 24, 2011 4:11 am
- Forum: Support and Development
- Topic: Joystick indices
- Replies: 5
- Views: 2128
Re: Joystick indices
For the record, this will be fixed in 0.8.0.
- Sun Mar 20, 2011 3:52 pm
- Forum: General
- Topic: 4KB explosions Poll - winner: Taehl
- Replies: 27
- Views: 5565
Re: 4KB explosions Poll - winner: Taehl
Yeah, but PhysFS is supposed to support 7zip. It doesn't in the current Mac release of LÖVE for.. some dumb reason, I don't know. I'm honestly not sure why.
That said, 7zip support on the Mac will be back in 0.7.2 - I rebuilt physfs.framework, ignoring its CMake project this time.
That said, 7zip support on the Mac will be back in 0.7.2 - I rebuilt physfs.framework, ignoring its CMake project this time.