Search found 6 matches

by lostboii
Thu Jul 02, 2020 2:10 am
Forum: Support and Development
Topic: [SOLVED] Continual torque changes body angle beyond expected range
Replies: 2
Views: 1648

Re: Continual torque changes body angle beyond expected range

Your first suggestion worked perfectly, thank you. I realized after posting this that setAngularVelocity also exhibited the behavior so I figured it must be related to the angle. I don't think I fully understand why this fixes it yet, but I will parse your response a few more times and try to get a ...
by lostboii
Thu Jul 02, 2020 12:54 am
Forum: Support and Development
Topic: [SOLVED] Continual torque changes body angle beyond expected range
Replies: 2
Views: 1648

[SOLVED] Continual torque changes body angle beyond expected range

I am using love.physics:applyTorque to rotate a body towards the mouse location. I've tried a few different approaches, and while this one is complex its worth noting that this seems to happen even in much more minimal setups. I based this code almost 1:1 on this post: https://stackoverflow.com/ques...
by lostboii
Sun Jun 28, 2020 7:15 pm
Forum: Support and Development
Topic: [SOLVED] Generating a large world with an empty tileset
Replies: 4
Views: 3061

Re: Generating a large world with an empty tileset

Hi zorg, thank you! I'm definitely on the right path now. I don't seem to have a delete option, I edited my original post to include the others but I just have pencil, explanation mark and quote, no X. Oddly, I have the X option on this comment itself, but not the other 3. Edit: I think I get it, I ...
by lostboii
Sun Jun 28, 2020 6:30 pm
Forum: Support and Development
Topic: [SOLVED] Generating a large world with an empty tileset
Replies: 4
Views: 3061

Re: Generating a large world with an empty tileset

A quick note, I found that by getting the height * tileheight and width * tilewidth from the map.lua file, I could reset every love.graphics.getWidth() and love.graphics.getHeight() to respect my new mapW and mapH variables instead, which allows me to do things like center the player in the center o...
by lostboii
Sun Jun 28, 2020 6:07 pm
Forum: Support and Development
Topic: [SOLVED] Generating a large world with an empty tileset
Replies: 4
Views: 3061

Re: Generating a large world with an empty tileset

I realized that I had rules stating that the player would stop moving if their location was beyond the edge of the love.graphics.getWidth() values, so removing those does allow me to move freely through the map now. I also realized I was deceiving myself in thinking that the map itself wasn't being ...
by lostboii
Sun Jun 28, 2020 4:25 pm
Forum: Support and Development
Topic: [SOLVED] Generating a large world with an empty tileset
Replies: 4
Views: 3061

[SOLVED] Generating a large world with an empty tileset

EDIT: I realized that I had rules stating that the player would stop moving if their location was beyond the edge of the love.graphics.getWidth() values, so removing those does allow me to move freely through the map now. I also realized I was deceiving myself in thinking that the map itself wasn't ...