Search found 478 matches

by Azhukar
Sun Nov 11, 2012 9:32 am
Forum: Support and Development
Topic: TAG table search
Replies: 4
Views: 1005

Re: TAG table search

I have some tables with some data and this tables have some tags. What I need is some trickery to search multiple tags for the specific tables with data. For example if have table 1 with tags A B table 2 with tags B C table 3 with tags A B C "searching" for B gets me all, searching A B gives me 1 a...
by Azhukar
Wed Nov 07, 2012 10:04 am
Forum: Support and Development
Topic: Simulation breaks when dragging the window?
Replies: 15
Views: 5324

Re: Simulation breaks when dragging the window?

I've fixed dt spikes on window drag in my love.run function. That way you don't have to fix it in your update function.

viewtopic.php?f=4&t=11590&p=69780#p69780
by Azhukar
Wed Nov 07, 2012 10:03 am
Forum: Support and Development
Topic: Suggestion regarding love.run
Replies: 25
Views: 3998

Re: Suggestion regarding love.run

Updated my love.run function. Included a fix for dt spikes when dragging window, changed non-vsync frame limiter behavior and made code a bit tidier. function love.run() math.randomseed(os.time()) math.random() math.random() if (love.load) then love.load(arg) if (love.timer) then love.timer.step() e...
by Azhukar
Mon Nov 05, 2012 9:35 am
Forum: Support and Development
Topic: Suggestion regarding love.run
Replies: 25
Views: 3998

Re: Suggestion regarding love.run

bartbes wrote:I'd like to note you never clear the first frame.
Can something aside from the love module itself draw into the first frame? To my understanding the first frame starts cleared.
by Azhukar
Mon Nov 05, 2012 1:06 am
Forum: Support and Development
Topic: Suggestion regarding love.run
Replies: 25
Views: 3998

Re: Suggestion regarding love.run

if and while don't need parenthesis on their conditions. Your loop will look less noisy without them. I'm aware, personal coding style. You don't seem to need width,height,fullscreen or fsaa. Just replace them with underscores: _,_,_,vsync = love.graphics.getMode() _ is a valid variable name just l...
by Azhukar
Mon Nov 05, 2012 12:04 am
Forum: Support and Development
Topic: Suggestion regarding love.run
Replies: 25
Views: 3998

Re: Suggestion regarding love.run

Currently I think the default love.run has these following issues: 1. love.timer.step is called after processing events, so event calls get different love.timer.getDelta return values than update / draw. 2. First update call is passed dt equal to loading time + event processing time instead of some ...
by Azhukar
Mon Oct 29, 2012 3:18 am
Forum: Support and Development
Topic: Canvas alpha behavior
Replies: 3
Views: 843

Re: Canvas alpha behavior

Thanks for all your help! Issue solved!
by Azhukar
Fri Oct 26, 2012 12:12 pm
Forum: Support and Development
Topic: Canvas alpha behavior
Replies: 3
Views: 843

Canvas alpha behavior

Code: Select all

love.graphics.setColor(0,0,0,0)
love.graphics.rectangle("fill",0,0,100,100) //perfect square
Why does stuff not stuff draw?