Search found 16 matches
- Thu Aug 19, 2010 11:54 am
- Forum: General
- Topic: How did you hear about Löve?
- Replies: 29
- Views: 15144
Re: Hi...
You can just resize the canvas in GIMP for tiles.png and people.png and scale snow.png and background.png to the nearest po2, it shouldn't upset anything...
Re: Hi...
In case any of you guys were curious, here are the files: http://www.queatz.com/files/quest.zip (2mb)
- Fri Jul 09, 2010 6:45 pm
- Forum: Libraries and Tools
- Topic: Löve IDE *BETA* [not written in löve, but for it!]
- Replies: 27
- Views: 19435
Re: Löve IDE *BETA* [not written in löve, but for it!]
It runs in Linux under wine. For me nothing comes closer to perfect than gEdit though.
Re: Hi...
Yeah I want it to be easy to control, and when using physics engines I can't seem to get the feel right. The snow is just a weather object that hosts it's own table consisting of the flakes which move randomly. If you were able to see, after I got the carrot the snow became more blustery. This I did...
- Fri Jul 02, 2010 2:52 am
- Forum: Support and Development
- Topic: love.graphics.polygon Help
- Replies: 9
- Views: 4169
Re: love.graphics.polygon Help
Im having trouble: I have points formatted like this: {{x=10,y=10},{x=30,y=30}}, how would i format it into 1 table like {10,10,30,30}? points = {{x=10,y=10},{x=30,y=30}} pointStack = {} for k, v in pairs(points) do table.insert(pointStack, v.x) table.insert(pointStack, v.y) end This should do it.
- Thu Jul 01, 2010 4:50 pm
- Forum: Support and Development
- Topic: love.graphics.polygon Help
- Replies: 9
- Views: 4169
Re: love.graphics.polygon Help
Just tested it, TechnoCat had it right and unpacking works.Robin wrote:Not if they use the format {{x, y}, {x, y}, ...}, though.
Edit: Right, on the wiki it accepts a table also so instead of using unpack you can just wrap the list in braces, like {x1, y1, x2, y2, ...}.
Re: Hi...
Thanks guys.
No inheritance, which I did encounter because I was thinking on making objects a class that would have the game as their parent but for now objects are just a table in the game class.kikito wrote:It is certainly quite compact.. I'm not sure it supports inheritance - does it?
- Thu Jul 01, 2010 2:25 pm
- Forum: Support and Development
- Topic: love.graphics.polygon Help
- Replies: 9
- Views: 4169
Re: love.graphics.polygon Help
If you already have a table of vertices you can use Lua's unpack(table) like love.graphics.polygon('line', unpack({x1, y1, x2, y2, x3, y3, ...})). I think it should work anyway.
Re: Hi...
Just a little advice from my part (which may or may not be good), you should try the MiddleClass library for classes instead of doing all that the longer way. Of course, that's just 'cause I'm lazy. Very good job by the way, if I may say so myself. :awesome: Cheers dude. :nyu: I'm actually using a ...