Search found 21 matches

by chrism
Sun Aug 28, 2011 4:56 pm
Forum: Libraries and Tools
Topic: loveui 0.7 (just started)
Replies: 26
Views: 30254

Re: loveui 0.7 (just started)

Excellent, thanks for the examples.
by chrism
Sat Aug 27, 2011 8:25 pm
Forum: Libraries and Tools
Topic: EGS v2 - Screenshots! Redesign! (Easy GUI System)
Replies: 57
Views: 22489

Re: EGS v2 - Screenshots! Redesign! (Easy GUI System)

Another small thing, there's no math.randomseed() so the colors are always the same. edit- why does main.lua have to require Class.lua? Why isn't it done by the library modules that need it? Because it can be used for other things I make and in the off chance somone uses two or more of things I mak...
by chrism
Sat Aug 27, 2011 5:16 pm
Forum: Libraries and Tools
Topic: EGS v2 - Screenshots! Redesign! (Easy GUI System)
Replies: 57
Views: 22489

Re: EGS v2 - Screenshots! Redesign! (Easy GUI System)

Another small thing, there's no math.randomseed() so the colors are always the same.

edit- why does main.lua have to require Class.lua? Why isn't it done by the library modules that need it?
by chrism
Sat Aug 27, 2011 1:18 am
Forum: Libraries and Tools
Topic: EGS v2 - Screenshots! Redesign! (Easy GUI System)
Replies: 57
Views: 22489

Re: EGS v2 - Screenshots! Redesign! (Easy GUI System)

main.lua tries to load an mp3 that isn't included with the source. :?
by chrism
Fri Aug 26, 2011 10:03 pm
Forum: Libraries and Tools
Topic: loveui 0.7 (just started)
Replies: 26
Views: 30254

Re: loveui 0.7 (just started)

Can you change the style elements of a widget without having to create whole new style and applying it? For example, is it possible to move a widget just by changing it's "left" and "top" style elements?
by chrism
Fri Aug 26, 2011 6:52 pm
Forum: Support and Development
Topic: sleep() in default love.run
Replies: 11
Views: 10267

Re: sleep() in default love.run

Thanks for the run() example, much better than the way I was limiting FPS.
by chrism
Wed Aug 24, 2011 9:28 pm
Forum: Support and Development
Topic: sleep() in default love.run
Replies: 11
Views: 10267

Re: sleep() in default love.run

If that's the case, then you probably don't need it if you limit your FPS somewhere else?
by chrism
Wed Aug 24, 2011 9:12 pm
Forum: Support and Development
Topic: sleep() in default love.run
Replies: 11
Views: 10267

sleep() in default love.run

Can someone explain why this is in the default love.run() code?

Code: Select all

if love.timer then love.timer.sleep(1) end
Does something break if you don't do that?
by chrism
Tue Aug 23, 2011 8:45 pm
Forum: Support and Development
Topic: Pixel offset
Replies: 3
Views: 2675

Re: Pixel offset

If two line tips are on an even grid coord (imagine a vertical line for simplicity), then half the line has to be to one side of the coord, and the other half will be on the other side. So, a 1 pixel wide line will half half a pixel to the left of the grid, and half a pixel to the right. A 2 pixel ...
by chrism
Tue Aug 23, 2011 6:25 pm
Forum: Support and Development
Topic: Pixel offset
Replies: 3
Views: 2675

Pixel offset

Why are pixels offset by 0.5? What are all the functions affected by this? Is it just the "drawing" functions? Here's what I'm talking about. Only the middle line (the one offset by 0.5) in the following code is one pixel wide and the correct color. function love.draw() love.graphics.setCo...