Search found 16 matches

by Snow
Sun Aug 08, 2010 5:12 pm
Forum: General
Topic: Hi...
Replies: 35
Views: 13640

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...
by Snow
Fri Aug 06, 2010 6:00 pm
Forum: General
Topic: Hi...
Replies: 35
Views: 13640

Re: Hi...

In case any of you guys were curious, here are the files: http://www.queatz.com/files/quest.zip (2mb) :cool:
by Snow
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: 18227

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. :)
by Snow
Fri Jul 02, 2010 2:57 am
Forum: General
Topic: Hi...
Replies: 35
Views: 13640

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...
by Snow
Fri Jul 02, 2010 2:52 am
Forum: Support and Development
Topic: love.graphics.polygon Help
Replies: 9
Views: 4024

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.
by Snow
Thu Jul 01, 2010 4:50 pm
Forum: Support and Development
Topic: love.graphics.polygon Help
Replies: 9
Views: 4024

Re: love.graphics.polygon Help

Robin wrote:Not if they use the format {{x, y}, {x, y}, ...}, though.
Just tested it, TechnoCat had it right and unpacking works.
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, ...}.
by Snow
Thu Jul 01, 2010 2:36 pm
Forum: General
Topic: Hi...
Replies: 35
Views: 13640

Re: Hi...

Thanks guys.
kikito wrote:It is certainly quite compact.. I'm not sure it supports inheritance - does it?
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.
by Snow
Thu Jul 01, 2010 2:25 pm
Forum: Support and Development
Topic: love.graphics.polygon Help
Replies: 9
Views: 4024

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.
by Snow
Wed Jun 30, 2010 7:38 pm
Forum: General
Topic: Hi...
Replies: 35
Views: 13640

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 ...