Page 1 of 1

collision [need help]

Posted: Fri Nov 30, 2012 12:04 am
by hally
Ok so i'm doing a love2d game for school and no matter how hard i try i cannot fix this collision up and i would really like to get it out of the way if you guys could please help me figure out what is wrong with it that would be great thanks ;) Ok the .love file now runs properly please help now?

Re: collision [need help]

Posted: Fri Nov 30, 2012 4:00 am
by Knaimhe
For some reason, your .zip file is invalid, and won't open on my computer.
I recommend just posting .love files.

Re: collision [need help]

Posted: Fri Nov 30, 2012 4:23 am
by hally
I posted it as .love file now but still it has problems when running as a .love file so basically you need to change it back to a .zip and run it that way..... don't ask me why it is like that it just is hahaha

Re: collision [need help]

Posted: Fri Nov 30, 2012 5:15 am
by substitute541
hally wrote:I posted it as .love file now but still it has problems when running as a .love file so basically you need to change it back to a .zip and run it that way..... don't ask em why it just like that hahaha
So... why wont you fix the .love issue yourself? -.-

Re: collision [need help]

Posted: Fri Nov 30, 2012 6:51 am
by hally
substitute541 wrote:
So... why wont you fix the .love issue yourself? -.-
because i don't know how to and its no the biggest problem i have at the moment? would just like help with the collision

Re: collision [need help]

Posted: Fri Nov 30, 2012 8:05 am
by Robin
Could you tell us what is wrong (i.e. what you expected to see what you don't see now)?

Re: collision [need help]

Posted: Fri Nov 30, 2012 9:40 am
by hally
Robin wrote:Could you tell us what is wrong (i.e. what you expected to see what you don't see now)?
i want it to just recognize collision it currently is just not doing anything

Re: collision [need help]

Posted: Fri Nov 30, 2012 11:41 am
by Robin
Okay, but you're not doing anything with the collision information. You call testMap and then ignore the result.

I've changed it so it actually does something with the collision information, however, it does not work right. You need to make the math work right. Maybe try using paper and pencil, that always works for me when I can't hold something in my head.

Re: collision [need help]

Posted: Sun Dec 02, 2012 7:58 am
by hally
Robin wrote:Okay, but you're not doing anything with the collision information. You call testMap and then ignore the result.

I've changed it so it actually does something with the collision information, however, it does not work right. You need to make the math work right. Maybe try using paper and pencil, that always works for me when I can't hold something in my head.
Thanks so much for the help mate greatly needed haha :)