Search found 70 matches
- Tue Feb 01, 2011 9:51 pm
- Forum: Libraries and Tools
- Topic: Pixel Art Gen
- Replies: 9
- Views: 3788
Re: Pixel Art Gen
The reason I didn't use a .love file is because to be able to edit the .txt, it has to be in the "folder" format. And yeah, I know BMP is crap but the wiki only says bmp and tga are supported. I'll have a look for that thread though. Scaling is optional, it has a default value of 25, but I...
- Tue Feb 01, 2011 8:02 pm
- Forum: Libraries and Tools
- Topic: Pixel Art Gen
- Replies: 9
- Views: 3788
Pixel Art Gen
After being asked by my friend, I've made a tool to quickly view pixel art. He wanted it in order to transfer his creations from a page ripped out of his math's book onto a computer. Whilst not my first venture into LÖVE, it is the first one that I am releasing into the wild. It is by no means perfe...
- Tue Feb 01, 2011 7:52 pm
- Forum: Support and Development
- Topic: Full Write Access?
- Replies: 4
- Views: 2421
Re: Full Write Access?
Nor do I want to compile binarys... Or distribute yet more stuff with my prog...
- Tue Feb 01, 2011 6:52 pm
- Forum: Support and Development
- Topic: Full Write Access?
- Replies: 4
- Views: 2421
Full Write Access?
In a future version of LÖVE, could there be a way of having write access anywhere on the system? I know that it is a security risk, but perhaps the program could LÖVE for access who in turn would ask the user. Only on the user accepting that the program wishes full write access would access actually...
- Mon Jan 31, 2011 9:06 pm
- Forum: Support and Development
- Topic: 2D Array Failing
- Replies: 10
- Views: 2948
Re: 2D Array Failing
Thanks! Worked like a charm!
I don't know how rowIndex turned to rowIndexA because in the orig source it is still rowIndex???
I don't know how rowIndex turned to rowIndexA because in the orig source it is still rowIndex???
- Mon Jan 31, 2011 6:15 pm
- Forum: Support and Development
- Topic: 2D Array Failing
- Replies: 10
- Views: 2948
Re: 2D Array Failing
This line: "tileTable[columnIndex][rowIndex] = character"
returns this error: "attempt to index field '?' (a nil value)"
returns this error: "attempt to index field '?' (a nil value)"
- Mon Jan 31, 2011 6:07 pm
- Forum: Support and Development
- Topic: 2D Array Failing
- Replies: 10
- Views: 2948
2D Array Failing
For some reason my 2D array is failing... The strange thing is that it is just slightly edited code from the Tile Tut. Here is the problem function: function test(tileString) tileTable = {} local rowIndexA=0 for row in tileString:gmatch("[^\n]+") do rowIndex=rowIndex+1 columnIndex = 1 tile...
- Fri Jan 14, 2011 8:15 pm
- Forum: Support and Development
- Topic: Random numbers in Love
- Replies: 8
- Views: 2365
Re: Random numbers in Love
If you want a REALLY random seed (Or want to change the seed more than once a second) then use this:
Code: Select all
math.randomseed(os.time()*math.random())
- Sun Jan 09, 2011 10:35 am
- Forum: Support and Development
- Topic: Physics Image Support?
- Replies: 9
- Views: 3917
Re: Physics Image Support?
/me is stupid. I didn't look at the tutorial code properly, and I thought that love.physics automatically drew the shape, as tentus said would be a good feature. Ignore my question, I now know that I can just draw the shape, draw the image, and make some code to keep them the same x and y. God I fee...
- Sat Jan 08, 2011 8:53 pm
- Forum: Support and Development
- Topic: Physics Image Support?
- Replies: 9
- Views: 3917
Physics Image Support?
Is there a way to have image support for love.physics at the moment? I couldn't find anything on the wiki, but do any of you know a workaround?