Search found 3 matches

by Pixet Bits
Mon Jan 13, 2020 1:21 pm
Forum: Games and Creations
Topic: [SOLVED] Collision library does not detect character in corners
Replies: 2
Views: 4531

Re: Collision library does not detect character in corners

I think I got it. -- Fix bug -- if vect.y > plats[l].fr_w and vect.y < plats[l].rf_w then if vect.x > plats[l].lt_w and vect.x <= plats[l].rt_w - 4 then vect.x = plats[l].lt_w end if vect.x < plats[l].rt_w and vect.x >= plats[l].lt_w + 4 then vect.x = plats[l].rt_w end end At least it worked in the ...
by Pixet Bits
Sun Jan 12, 2020 7:07 pm
Forum: Games and Creations
Topic: [SOLVED] Collision library does not detect character in corners
Replies: 2
Views: 4531

[SOLVED] Collision library does not detect character in corners

I had not understood löve's own physics libraries well. So I decided to create my own. So far it worked relatively well, but when I paired it with a tilemap library (which creates a collider for each tile) the character started going through walls when falling over corners. My project is attached be...
by Pixet Bits
Fri Apr 26, 2019 7:07 pm
Forum: Support and Development
Topic: Tables for Dummies
Replies: 9
Views: 11281

About Tables

what is the difference, or what is the correct way, to derive functions: use Tabe: functionName or Table.functionName? Exemple : ```Group = {} ``` ```Group.Function() ``` ```end ``` ```Group = {} ``` ```Group:Function() ``` ```end ``` [other question : how I create a topic of questions? I found a li...