Search found 4 matches

by Ruffa-Duffa
Tue Jul 15, 2014 1:26 pm
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4610

Re: Need Help Collision Code

Ok, I got everything that wasn't working working by making a few small changes: if player.y + player.picHeight > v.y and player.y < v.y + v.picHeight then -- Prevents teleporting to the top of the platform -- stuff player.x = v.x - player.picWidth - 1 -- Prevents moving into stuff whilst falling --...
by Ruffa-Duffa
Mon Jul 14, 2014 10:33 am
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4610

Re: Need Help Collision Code

Hello, firstly this didn't work in 0.9.1 but the only change needed was "setDefaultImageFilter" to "setDefaultFilter" on line 8 in main.lua. Secondly, I can't really help you much as you didn't really explain what was wrong with the collision detection just that it wasn't workin...
by Ruffa-Duffa
Fri Jul 11, 2014 10:59 pm
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4610

Re: Need Help Collision Code

This topic explains how to make a .love file for your game, which will allow you to upload everything in a single, easy-to-run file. http://love2d.org/forums/viewtopic.php?f=4&t=451 It'll save you the trouble of uploading all the files on their own. Thank you for your response. I knew about mak...
by Ruffa-Duffa
Fri Jul 11, 2014 9:59 am
Forum: Support and Development
Topic: Need Help Collision Code
Replies: 7
Views: 4610

Need Help Collision Code

My collision code isn't really working so I need help please. I know there's probably some better code already made by someone on the internet but frankly, I put a lot of effort into it and I would like to finish my collision code since I'm pretty sure it's easily fixable. I could describe it but it...