Search found 3467 matches

by Jasoco
Wed Dec 27, 2017 5:51 pm
Forum: Support and Development
Topic: Make speed constant no matter the FPS
Replies: 5
Views: 421

Re: Make speed constant no matter the FPS

As has been mentioned, as long as you pass dt into every function you place in update that has anything to do with movement or speed or whatever, it should work fine. And don't try to use it in love.draw as it won't work, but you can make it work if you absolutely have to by either calling love.time...
by Jasoco
Wed Dec 27, 2017 5:45 pm
Forum: Support and Development
Topic: Adding a stroke/outline to a text dynamically?
Replies: 5
Views: 613

Re: Adding a stroke/outline to a text dynamically?

With image fonts it's just easier to make a separate font with the outline as part of it. And remember that it can be colored the same way other images are including with a shader. So you could write a shader that replaces the text color with whatever and the outline with another color if you need t...
by Jasoco
Mon Dec 25, 2017 6:26 pm
Forum: Games and Creations
Topic: Secret Delivery - Annual Dec. Game
Replies: 5
Views: 646

Re: Secret Delivery - Annual Dec. Game

Love the simple asthetic but I wonder if it'd be more realistic if the enemies had vision cones and turned smoothly like other stealth games. (I mean obviously if I were standing in front of and to the left of someone they'd still see me.)

Either way it's a fun little game. Good work.
by Jasoco
Mon Dec 25, 2017 6:05 pm
Forum: Support and Development
Topic: Make speed constant no matter the FPS
Replies: 5
Views: 421

Re: Make speed constant no matter the FPS

In my experience, dt has always worked as it should. As was said, provide an example that gives us the result you're seeing and we'll tell you if anything is wrong.

Also maybe your system specs.
by Jasoco
Tue Dec 05, 2017 2:05 am
Forum: Games and Creations
Topic: Sokoban clone
Replies: 13
Views: 1610

Re: Sokoban clone

Haha, I love the animation of this. Tweening libraries are so useful.
by Jasoco
Tue Dec 05, 2017 2:02 am
Forum: Support and Development
Topic: Mac HighDPI
Replies: 1
Views: 248

Re: Mac HighDPI

Because he has his display set to 1440x900 Retina mode. However the computer's display itself is physically 2560x1600 because it's meant for the default out of the box resolution of 1280x800 Retina. Basically a Retina display can go higher than what is set as default. The actual max Retina resolutio...
by Jasoco
Fri Sep 29, 2017 6:47 pm
Forum: Support and Development
Topic: Scaling without bluring the pixels?
Replies: 4
Views: 443

Re: Scaling without bluring the pixels?

Grump is correct. Though that does set the default. If you later need to have an image use smoothing, you can use "linear" instead of "nearest" and apply it to just that one image like so: image:setFilter("linear", "linear") Also note that there are two arguments. The first one affects images being ...
by Jasoco
Thu Aug 31, 2017 7:27 pm
Forum: Libraries and Tools
Topic: [library] bump.lua v3.1.4 - Collision Detection
Replies: 224
Views: 41504

Re: [library] bump.lua v3.1.4 - Collision Detection

I've always had problems teleporting a Bump object so I just remove the object before changing the coordinates then recreate it when it gets to the new location.

I dunno. It works for me.
by Jasoco
Thu Aug 24, 2017 6:15 pm
Forum: Support and Development
Topic: [Solved] Prevent Moving While Colliding
Replies: 1
Views: 288

Re: [Solved] Prevent Moving While Colliding

Depends on your method of collision detection and resolution. We can't do anything without knowing how you coded it. There are numerous ways of doing collision.
by Jasoco
Sat Jul 29, 2017 7:45 pm
Forum: Support and Development
Topic: Trying to split code into two files
Replies: 3
Views: 492

Re: Trying to split code into two files

Can we see the code for both files? Obviously at some point in your code you're referring to "woy" but before it's defined. Where is it defined and where is it being called when it crashes? Make sure you're defining "woy" in "map" if that's where it's being defines and not in "main".