Search found 5 matches

by Crono
Sat May 28, 2016 5:07 pm
Forum: Support and Development
Topic: Check if the player is grounded code with bump.lua
Replies: 4
Views: 2943

Re: Check if the player is grounded code with bump.lua

If I do that the variable never gets true. Is the variable ever true when you check for -1? If anything you can just check if there is a block 1 px under the player. I had the code for this and I remember that the value was -1, but I deleted it because I'm and idiot. I'm already using the 1 pixel f...
by Crono
Sat May 28, 2016 3:45 pm
Forum: Support and Development
Topic: Check if the player is grounded code with bump.lua
Replies: 4
Views: 2943

Re: Check if the player is grounded code with bump.lua

Davidobot wrote:
Crono wrote:..
Try checking if the normal is 1 instead or 0, one of those should work, I think.
If I do that the variable never gets true.
by Crono
Sat May 28, 2016 1:51 am
Forum: Support and Development
Topic: Check if the player is grounded code with bump.lua
Replies: 4
Views: 2943

Check if the player is grounded code with bump.lua

Beginner here. I'm trying to get the values of normal.y in the table cols in bump, to then change the variable self.onGround, but I just can't do that. Either the code is wrong or the logic is, but I don't know why. This is the code I think was supposed to work: for i=1, len do if cols[i].normal.y =...
by Crono
Wed May 11, 2016 5:18 am
Forum: Libraries and Tools
Topic: Alexar's Physics Editor(APE)
Replies: 59
Views: 65177

Re: [lib] Box2D Helper

THIS IS F*CKING AWESOME MATE!
Keep up the good work!
Any plans on implementing Tiled maps?


PS: I'll use it when it comes out regardless c:
by Crono
Mon May 09, 2016 4:39 am
Forum: Libraries and Tools
Topic: love-kickstart: Quickly kickstart LÖVE games
Replies: 5
Views: 5624

Re: love-kickstart: Quickly kickstart LÖVE games

Dude, this is amazing! Thanks for sharing, now I'll have a much easier time starting a project c: