Search found 42 matches

by Coder567
Fri Sep 27, 2019 10:45 am
Forum: General
Topic: DT with physics
Replies: 3
Views: 909

Re: DT with physics

thanks ! :)
by Coder567
Fri Sep 27, 2019 8:43 am
Forum: General
Topic: DT with physics
Replies: 3
Views: 909

DT with physics

Hi I have a simple question.

When using functions such as Body:applyForce do I need to multiply the x & y with dt? As in love.update(dt). Or is it automatically applied?

thanks!
by Coder567
Wed Sep 25, 2019 2:24 pm
Forum: General
Topic: Ball game physics questions
Replies: 4
Views: 1001

Re: Ball game physics questions

Ok
If anyone has code examples for my questions it would be great! :)

Edit: Found Fixture:setSensor( true ) - for the goal line
by Coder567
Wed Sep 25, 2019 1:30 pm
Forum: General
Topic: Ball game physics questions
Replies: 4
Views: 1001

Re: Ball game physics questions

Use applyImpulse and applyTorque. Do not change the velocity or position manually. I guess I could do that but it complicates things. easier to just set the position than trying to aim with vector ;) Box2D has collision callbacks and contact lists. For things like triggers and sensors, use the latt...
by Coder567
Wed Sep 25, 2019 11:38 am
Forum: General
Topic: Ball game physics questions
Replies: 4
Views: 1001

Ball game physics questions

Hi I was looking to the love physics and I think that's great for my game. However I have couple of questions if anyone knows good way to go about it. First I'm making a sport game where there is walls around the play area which the ball cannot pass but should bounce back (and I'm going to use love ...
by Coder567
Sun Sep 22, 2019 3:20 pm
Forum: General
Topic: Distributing lua files
Replies: 21
Views: 4192

Re: Distributing lua files

Thanks for the link! I was googling with wrong words its seems =/
Lot of reading to do...
Any opinions on what's the best method?
by Coder567
Sun Sep 22, 2019 9:23 am
Forum: General
Topic: Distributing lua files
Replies: 21
Views: 4192

Distributing lua files

Hi
I have simple question about lua file distribution. When you release your game does that mean everyone can read your lua files or can they be somehow protected?

thanks
by Coder567
Sun Apr 07, 2019 7:08 pm
Forum: Support and Development
Topic: Iso drawing help
Replies: 8
Views: 2237

Re: Iso drawing help

Right, I have to start learning how to make isometric graphics
by Coder567
Sun Apr 07, 2019 5:34 pm
Forum: Support and Development
Topic: Iso drawing help
Replies: 8
Views: 2237

Re: Iso drawing help

Ok makes sense, thanks! But there's still something odd going on with the ground rendering. the dirt sprite shows it's drawn on length of two tiles?
https://imgur.com/a/ur7fakK
by Coder567
Sun Apr 07, 2019 3:03 pm
Forum: Support and Development
Topic: Iso drawing help
Replies: 8
Views: 2237

Re: Iso drawing help

Should probably add that the grass image size is 32x32 but house is 64x64