Search found 212 matches

by GVovkiv
Mon Nov 29, 2021 1:22 pm
Forum: Support and Development
Topic: Game is not pixel sharp when run on windows but, it is on linux.
Replies: 2
Views: 56

Re: Game is not pixel sharp when run on windows but, it is on linux.

It may be caused by drivers for gpu in windows, since it may round values differently
by GVovkiv
Wed Nov 24, 2021 6:31 pm
Forum: Support and Development
Topic: making randomized path less "shaky"
Replies: 5
Views: 665

Re: making randomized path less "shaky"

It works only for numbers < 2^51. All functions in the lume table I wrote were pretty much custom made for the snippet in question, for simplicity. Obviously the snippet didn't need bigger numbers, just as it didn't need concatenating arrays with more than 1 element in the first argument etc. Numbe...
by GVovkiv
Tue Nov 23, 2021 10:28 pm
Forum: Support and Development
Topic: making randomized path less "shaky"
Replies: 5
Views: 665

Re: making randomized path less "shaky"

pgimeno wrote: Tue Nov 23, 2021 9:18 pm

Code: Select all

return n+(2^52+2^51)-(2^52+2^51) end
I still don't really understand how that even work
Have some spare to explain that?
by GVovkiv
Sun Nov 21, 2021 9:23 pm
Forum: Support and Development
Topic: How can I make open files when turning my game into .exe?
Replies: 4
Views: 846

Re: How can I make open files when turning my game into .exe?

If you talking about easy way to allow open fused game in your exe file, then you have nothing to do
Anyone can open fused game with any archive program, for example, with 7zip and then edit it
by GVovkiv
Fri Nov 19, 2021 1:36 pm
Forum: Libraries and Tools
Topic: Aspect Scaling
Replies: 5
Views: 7897

Re: Aspect Scaling

1.1 update: https://gist.github.com/Vovkiv/f234b4c9263d4642f87d48ce8db37be8 * Little code refactoring * Added functions a bunch of functions, such as: toGame, toScreen to translate coordinates from scaled state to unscaled getGame, getWindow and other shortcuts added little better demo to demonstrat...
by GVovkiv
Tue Nov 16, 2021 9:57 am
Forum: Support and Development
Topic: Monitor/GPU crash after load.
Replies: 4
Views: 1246

Re: Monitor/GPU crash after load.

So, that nvidia.. My 1st guess is try to downgrade drivers and check if that works, maybe nvidia (yet again) fucked drivers 2nd https://github.com/love2d/love, if you have willing for that, you can try build latest love version from source and try run it (or, maybe, under actions tab https://github....
by GVovkiv
Mon Nov 15, 2021 11:18 pm
Forum: Support and Development
Topic: Monitor/GPU crash after load.
Replies: 4
Views: 1246

Re: Monitor/GPU crash after load.

Is that AMD or NVIDIA?(Or maybe even intel?)
what exactly gpu you use?
does that happens with other games/programs?
Does that happens with games made with older love version?(if you have one, for example, kingdom rush 2-3)
If that amd, then this is default behavior for amd gpu's on windows, lol
by GVovkiv
Thu Nov 11, 2021 9:33 am
Forum: General
Topic: LuaJIT/Love multicore
Replies: 6
Views: 1731

Re: LuaJIT/Love multicore

Lua's "fake" threads are coroutines; löve's threads are real, and the only way to actually utilize multiple cpu cores. (well, the audio processing already happens on a separate thread anyway) Yeah, looks like i was confused with lua's coroutines and love's threads Maybe it should be menti...
by GVovkiv
Wed Nov 10, 2021 11:12 pm
Forum: General
Topic: LuaJIT/Love multicore
Replies: 6
Views: 1731

Re: LuaJIT/Love multicore

A single core is utilized by default. You can manually create threads with love.thread.newThread. They are real threads, scheduled by the OS across available cores. You can send data safely between threads over channels, but actual memory sharing is limited and there are none of the usual synchroni...
by GVovkiv
Wed Nov 10, 2021 10:55 pm
Forum: General
Topic: LuaJIT/Love multicore
Replies: 6
Views: 1731

Re: LuaJIT/Love multicore

Don't use multithreading if you can make same without it :) https://love2d.org/wiki/love.thread As far as i know, lua's threads how nothing in common with cpu's cores, so if that true, i don't mean that I just curious about how luajit/love deals with cpu with several cores, nothing more I was never...