Search found 12 matches

by Jackim
Thu Feb 06, 2014 3:32 pm
Forum: Support and Development
Topic: HardonCollider Collision Error
Replies: 1
Views: 1700

HardonCollider Collision Error

I'm trying to get simple collisions working, and I'm getting an error when two object collide. My error is as follows: hardoncollider/polygon.lua:265: attempt to index local 'dx' (a nil value) Traceback hardoncollider/polygon.lua:265:in function 'move' hardoncollider/shapes.lua:327: in function 'old...
by Jackim
Wed Apr 10, 2013 5:31 pm
Forum: Support and Development
Topic: How do i use random?SOLVE
Replies: 4
Views: 2688

Re: How do i use random?

what's the issue? it seems to be working fine.
by Jackim
Wed Apr 10, 2013 1:45 am
Forum: Support and Development
Topic: Mac Install Help
Replies: 6
Views: 3959

Re: Mac Install Help

You've got the right download. Try dragging the folder that contain your main.lua onto the LOVE.app
by Jackim
Mon Apr 08, 2013 11:45 pm
Forum: Support and Development
Topic: Camera following sprite.
Replies: 6
Views: 5018

Re: Camera following sprite.

Looks like you forgot to include your .love
by Jackim
Mon Apr 08, 2013 8:20 pm
Forum: Support and Development
Topic: [SOLVED] Connect to a mysql database online
Replies: 6
Views: 4832

Re: Connect to a mysql database online

I've never used this, but it might be a good start:

http://www.keplerproject.org/luasql/manual.html
by Jackim
Mon Apr 08, 2013 12:20 am
Forum: Support and Development
Topic: Wait/Pause/Sleep?
Replies: 16
Views: 16210

Re: Wait/Pause/Sleep?

The way you've set up your code, for whatever reason, makes it so dt doesn't work in your update function.

I put it in the love.update built in function and it works fine.
by Jackim
Sun Apr 07, 2013 5:18 pm
Forum: Support and Development
Topic: inexplicable slowdown in draw loop
Replies: 5
Views: 5577

Re: inexplicable slowdown in draw loop

I don't get any slowdowns, what are your specs?
by Jackim
Sun Apr 07, 2013 3:48 pm
Forum: Support and Development
Topic: Gridlocked maze game[solved]
Replies: 4
Views: 3251

Re: Gridlocked maze game/.help needed

It seems like that tutorial gives you exactly what you need. function testMap(x, y) if map[(player.grid_y / 32) + y][(player.grid_x / 32) + x] == 1 then return false end return true end Change that to: function testMap(x, y) if map[(player.grid_y / 32) + y][(player.grid_x / 32) + x] == 2 then love.a...
by Jackim
Sun Apr 07, 2013 2:27 pm
Forum: Support and Development
Topic: Wait/Pause/Sleep?
Replies: 16
Views: 16210

Re: Wait/Pause/Sleep?

Can you upload a .love file?
by Jackim
Sun Apr 07, 2013 4:39 am
Forum: Support and Development
Topic: Wait/Pause/Sleep?
Replies: 16
Views: 16210

Re: Wait/Pause/Sleep?

this should work

Code: Select all

function love.load()
     waiting = true
     waitingtimer = 0
end

function love.update(dt)
    waitingtimer = waitingtimer + dt
    if waitingtimer > 5 then
         waiting = false
    end
end