Basic Box and Line collision
Posted: Tue Jun 10, 2014 5:07 pm
Hi there,
I'm very new to Love and Lua but I've done some gamedev before in the past. I'm currently participating in a Game Jam and I'm having some issues. I've attached my .love file which has a player with basic movement and some basic world generation using love.graphics.line. I've had a look around the forums and wiki but I can't work out how to link it into this so that the Player collides with the lines.
Any help or a shove in the right direction would be much appreciated.
Also I know what I've done so far is probably horribly inefficient or there are better ways to do things but I'm just trying to do the Game Jam so quick and dirty is all I have time for
Thanks
I'm very new to Love and Lua but I've done some gamedev before in the past. I'm currently participating in a Game Jam and I'm having some issues. I've attached my .love file which has a player with basic movement and some basic world generation using love.graphics.line. I've had a look around the forums and wiki but I can't work out how to link it into this so that the Player collides with the lines.
Any help or a shove in the right direction would be much appreciated.
Also I know what I've done so far is probably horribly inefficient or there are better ways to do things but I'm just trying to do the Game Jam so quick and dirty is all I have time for
Thanks