Search found 2305 matches

by zorg
Thu Jul 19, 2018 2:52 pm
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 148

Re: 512 FPS?

I guess i'm just lucky my configuration happened to yield at exactly that amount of time then. :3
by zorg
Thu Jul 19, 2018 7:58 am
Forum: Support and Development
Topic: 512 FPS?
Replies: 7
Views: 148

Re: 512 FPS?

There is a sleep function called in love.run to cap the fps to 512. Try using your own love.run and remove the love.timer.sleep https://love2d.org/wiki/love.run Technically, it caps it to 0.001 ms, or 1000 FPS, not 512 (in the best case scenario). At least, last time i checked, that was the value i...
by zorg
Wed Jul 18, 2018 12:11 am
Forum: Support and Development
Topic: Perlin noise and terrain generation.
Replies: 1
Views: 67

Re: Perlin noise and terrain generation.

A good site i found before that explains it: https://www.redblobgames.com/maps/terrain-from-noise/
by zorg
Mon Jul 16, 2018 3:20 pm
Forum: General
Topic: Advice to structure directory for game and editor
Replies: 2
Views: 155

Re: Advice to structure directory for game and editor

Let's try to tackle it chunk by chunk :D Hi, I'm new to LOVE and game programming. Hi, and welcome to the forums! Question how to organize better files (in my case.) There are many possibilities... also you haven't exactly presented your case yet. There are standart game folders such as lib, assets ...
by zorg
Mon Jul 16, 2018 3:13 pm
Forum: Support and Development
Topic: Drag and drop files/pictures onto a love2d window?
Replies: 3
Views: 130

Re: Drag and drop files/pictures onto a love2d window?

I can attest to it, those two functions do indeed work. Tested on Windows, at least.
by zorg
Fri Jul 13, 2018 11:24 am
Forum: Support and Development
Topic: Encode an mp4?
Replies: 4
Views: 209

Re: Encode an mp4?

If anything, i'd just code my game to be able to save deterministic replays, since that can be done much faster than saving each rendered frame, and one could either export the recreated frames "off-line", as png images and combined together with an external program, like ffmpeg, or one could theore...
by zorg
Sun Jul 08, 2018 4:28 pm
Forum: Support and Development
Topic: Find nouse position out of bounds
Replies: 7
Views: 428

Re: Find nouse position out of bounds

firstly, you require it into your own project like so: local whatever = require 'libname' then calling it like local displays = whatever() will return a table containing all detected displays coordinates and dimensions (and it also has methods you can use) A simpler way would be to just do local dis...
by zorg
Sat Jul 07, 2018 3:35 pm
Forum: Support and Development
Topic: VSync - Half Refresh / Skip Frames
Replies: 5
Views: 183

Re: VSync - Half Refresh / Skip Frames

BTW, there's still such a thing as decoupling the input/update or tickrate from the framerate itself, through various ways, some better than others.
by zorg
Sat Jul 07, 2018 5:34 am
Forum: Support and Development
Topic: VSync - Half Refresh / Skip Frames
Replies: 5
Views: 183

Re: VSync - Half Refresh / Skip Frames

There's no command for setting FPS directly, this should work for your usage though: [i]no[/i] If you are going to double-cross the game loop, at least have the decency to look at love.run and edit that too, since with the above code only, you're doing timing based on that code AND the one in the d...
by zorg
Fri Jul 06, 2018 4:00 pm
Forum: Support and Development
Topic: Problems with LOVE 11 on Win 10
Replies: 2
Views: 137

Re: Problems with LOVE 11 on Win 10

For the first one, did you make a conf.lua file, and have t.console = true in it? (look at the wiki) otherwise, only lovec.exe will have a console by default. For the second one, how exactly are you trying to run love files? or a better question, how are said love files packed? (you should pack the ...