collision [need help]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
hally
Prole
Posts: 7
Joined: Fri Nov 23, 2012 3:02 am

collision [need help]

Post 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?
Attachments
Games.love
(9.97 KiB) Downloaded 150 times
Last edited by hally on Fri Nov 30, 2012 7:00 am, edited 2 times in total.
Knaimhe
Prole
Posts: 34
Joined: Mon Jan 23, 2012 7:23 pm

Re: collision [need help]

Post by Knaimhe »

For some reason, your .zip file is invalid, and won't open on my computer.
I recommend just posting .love files.
hally
Prole
Posts: 7
Joined: Fri Nov 23, 2012 3:02 am

Re: collision [need help]

Post 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
Last edited by hally on Fri Nov 30, 2012 6:50 am, edited 1 time in total.
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: collision [need help]

Post 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? -.-
Currently designing themes for WordPress.

Sometimes lurks around the forum.
hally
Prole
Posts: 7
Joined: Fri Nov 23, 2012 3:02 am

Re: collision [need help]

Post 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
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: collision [need help]

Post by Robin »

Could you tell us what is wrong (i.e. what you expected to see what you don't see now)?
Help us help you: attach a .love.
hally
Prole
Posts: 7
Joined: Fri Nov 23, 2012 3:02 am

Re: collision [need help]

Post 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
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: collision [need help]

Post 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.
Attachments
Games.love
(9.96 KiB) Downloaded 173 times
Help us help you: attach a .love.
hally
Prole
Posts: 7
Joined: Fri Nov 23, 2012 3:02 am

Re: collision [need help]

Post 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 :)
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 7 guests