Search found 3516 matches

by Jasoco
Thu Oct 31, 2019 2:01 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 28
Views: 8932

Re: LÖVE 11.3 released!

slime wrote:
Thu Oct 31, 2019 12:45 am
It looks like Apple doesn't implement every-other-refresh vsync for their OpenGL vsync APIs on modern macOS. I have a memory of it working in the past on macOS, but their documentation doesn't say it will work either, so maybe it never did.
Really then, oh well. The dream is dead. Haha
by Jasoco
Thu Oct 31, 2019 12:10 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 28
Views: 8932

Re: LÖVE 11.3 released!

Setting vsync = 0 turns vsync off, vsync = 1 syncs every monitor refresh (60fps on a 60hz monitor), and vsync = 2 syncs every other monitor refresh (30fps on a 60hz monitor). My primary monitor is 144hz, so vsync=1 makes a game run at 144fps and vsync=2 makes a game run at 72fps, on my system. Hmm ...
by Jasoco
Wed Oct 30, 2019 9:05 pm
Forum: General
Topic: How much objects can Love2d display at one time?
Replies: 4
Views: 1422

Re: How much objects can Love2d display at one time?

One thing you'll want to know about city builders, at least older ones, is that it usually updated the whole city in chunks offset by a few frames so it's not trying to calculate everything all at once in one frame. So since you're already rendering by chunk, do the updating and calculating by chunk...
by Jasoco
Wed Oct 30, 2019 8:59 pm
Forum: Games and Creations
Topic: cave game - generic terraria clone
Replies: 14
Views: 4256

Re: cave game - generic terraria clone

Jeeper wrote:
Tue Aug 27, 2019 7:14 pm
Not entirely sure what you mean by clamping velocity, but what I usually have in the start of love.update(dt) is:
if dt > 0.1 then dt = 0.1 end
dt = math.min(dt, 0.1) works just as well. Don't know if there's any performance issues. (Negligible if any)
by Jasoco
Wed Oct 30, 2019 8:53 pm
Forum: Support and Development
Topic: Gather files from another folder
Replies: 1
Views: 464

Re: Gather files from another folder

I'm not completely sure how to read your folder structure. Use the Code tags to format it with spaces denoting folders so it's easier. main.lua img/ panda.png src/ player.lua (Is that close to what you have it set up as?) Anyway, is the image file not loading when you put the path in? It's relative....
by Jasoco
Wed Oct 30, 2019 8:45 pm
Forum: General
Topic: LÖVE 11.3 released!
Replies: 28
Views: 8932

Re: LÖVE 11.3 released!

Am I wrong or wasn't there an option to choose whether you want VSync to cap to 60 or 30FPS if you wanted in 11.2? I can't find it on the Wiki. Did I dream that up? Did I misunderstand? And yes I do know about the "hacky" methods where you use math to set the sleep time. I was hoping for something p...
by Jasoco
Fri Oct 25, 2019 3:59 am
Forum: General
Topic: LÖVE 11.2 released - including Android APK!
Replies: 44
Views: 247011

Re: LÖVE 11.2 released - including Android APK!

One of the macOS 10.14 patch releases fixed vsync. A separate workaround also got implemented in SDL before it was fixed inside macOS, but the SDL workaround got reverted once the real fix happened. I'm on the latest version of Catalina (Beta) and just tested the current available Löve version and ...
by Jasoco
Fri Oct 25, 2019 3:53 am
Forum: General
Topic: LÖVE 11.2 released - including Android APK!
Replies: 44
Views: 247011

Re: LÖVE 11.2 released - including Android APK!

Any word on a fixed version for macOS that fixes the Vsync issue? It's been a while since I've checked in.
by Jasoco
Fri Jul 19, 2019 10:09 pm
Forum: Games and Creations
Topic: Get mouse coordinates on a rotated "grid"
Replies: 15
Views: 12446

Re: Get mouse coordinates on a rotated "grid"

Really cool little engine! Do you use the new 11.x features for it, or 2d-voxels? It's just using normal Löve transform stuff, but obviously the mouse position stuff is 11 only I think. Either way it's just drawing transforming and drawing large images multiple times layered to give the effect of 3...
by Jasoco
Thu Apr 04, 2019 3:35 pm
Forum: General
Topic: which animation library
Replies: 9
Views: 7318

Re: which animation library

CrimsonGuy wrote:
Thu Apr 04, 2019 3:34 pm
Was looking for something like these, but anim8 doesn´t seem to be compatible with Love 0.11.X :(
I'm pretty sure it is. What makes you think it's not? (I've used it with 11.0)