Search found 54 matches

by dizzykiwi3
Sun Sep 24, 2017 4:39 am
Forum: General
Topic: Change Vsync without Exiting FullScreen?
Replies: 1
Views: 570

Change Vsync without Exiting FullScreen?

Hey all

Is there any way to change the vsync setting of the window mid game without calling love.window.setmode, which, if in fullscreen, will cause the screen to close and reopen? (at least on a mac anyway)

Also as a side note, is there a way to get the refresh rate of a monitor?
by dizzykiwi3
Sun Sep 24, 2017 3:38 am
Forum: General
Topic: DT and Dropping Frames
Replies: 5
Views: 1288

Re: DT and Dropping Frames

To play nice with vsync make sure to prevent overdraw due to dt<interval. In short - you dont need to redraw unless you have taken at least 1 update step. Just store the step/tick number when you draw so that you dont redraw the same frame twice. Doesn't returning from love.draw just cause it to dr...
by dizzykiwi3
Fri Sep 22, 2017 9:59 pm
Forum: General
Topic: DT and Dropping Frames
Replies: 5
Views: 1288

Re: DT and Dropping Frames

1.Generally you don't want to have any slowdown, especially for games where timing is important. The point is that the gameplay and timing should be the same regardless of how fast your computer is. 2.Using variable DT is less CPU intensive, but Box2D (love.physics) should be updated using a consta...
by dizzykiwi3
Fri Sep 22, 2017 5:19 am
Forum: General
Topic: DT and Dropping Frames
Replies: 5
Views: 1288

DT and Dropping Frames

Hello all I recently released a game of mine, and it has been great! However, someone who did a youtube let's play of it ran into an issue. In their words: "I recommend looking into enabling a "frame-skip" option for your game, otherwise anybody capturing your game at 30fps is going to run into the ...
by dizzykiwi3
Wed Aug 30, 2017 11:17 pm
Forum: Support and Development
Topic: Any reason why love.errhand wouldn't work?
Replies: 6
Views: 1342

Re: Any reason why love.errhand wouldn't work?

FOUND IT!

I have a variable named debug, which, according to this post is a no no https://love2d.org/forums/viewtopic.php ... and#p14892
by dizzykiwi3
Wed Aug 30, 2017 10:58 pm
Forum: Support and Development
Topic: Any reason why love.errhand wouldn't work?
Replies: 6
Views: 1342

Re: Any reason why love.errhand wouldn't work?

I tested the errhand on a simple one file load, update, draw, and it seems to work there... so something's up with my game
by dizzykiwi3
Wed Aug 30, 2017 10:53 pm
Forum: Support and Development
Topic: Any reason why love.errhand wouldn't work?
Replies: 6
Views: 1342

Re: Any reason why love.errhand wouldn't work?

What are you doing in your errhand? Where do you provoke the error? Maybe there is no window yet, and you're trying do draw stuff? Move the error to love.draw or love.update. The error is triggered in the update by a keypress after everything has loaded and drawn for a while. The errhand is verbati...
by dizzykiwi3
Wed Aug 30, 2017 10:45 pm
Forum: Support and Development
Topic: Any reason why love.errhand wouldn't work?
Replies: 6
Views: 1342

Any reason why love.errhand wouldn't work?

I'm currently attempting to write a custom love.errhand, however, whenever it is called, my game simply quits. To initiate the crash I'm running a="b"+"c" However, even when changing love.errhand to the default code found at https://love2d.org/wiki/love.errhand, it still simply closes the game, no e...
by dizzykiwi3
Mon Jul 31, 2017 12:12 am
Forum: Support and Development
Topic: Font Bug, what's the cause?
Replies: 5
Views: 1233

Re: Font Bug, what's the cause?

slime wrote:
Sat Jul 29, 2017 9:49 pm
I believe 0.10.2 fixed that issue with this commit. At least, the symptoms look identical.
That does seem exactly like it! Many thanks!
by dizzykiwi3
Sat Jul 29, 2017 9:38 pm
Forum: Support and Development
Topic: Font Bug, what's the cause?
Replies: 5
Views: 1233

Re: Font Bug, what's the cause?

bartbes wrote:
Sat Jul 29, 2017 8:42 pm
I remember there was a bug like this where some font data got corrupted. I think that was fixed a while back though. Are you on an old version?
The version was 10.1, I updated it now, I'll keep an eye out now.