Search found 3087 matches

by zorg
Tue Mar 02, 2021 10:31 pm
Forum: General
Topic: When are we going to see 0.12.0?
Replies: 14
Views: 7723

Re: When are we going to see 0.12.0?

There's also solutions to GUIs as well, but given how most of those libraries are incomplete (works in progress or or abandoned), it should say something about - how hard it is to make a -good- GUI library, and - why löve won't have one inbuilt; can't cater to everyone's tastes with it, so recommend...
by zorg
Mon Mar 01, 2021 1:12 pm
Forum: General
Topic: Download files straight from the game/program?
Replies: 9
Views: 5626

Re: Download files straight from the game/program?

Hi! I wanted some more help regarding this topic! What if I want to save a zip, then unmount it? Thanks, If the premise was that you just downloaded a zip, then you don't need to unmount it since you never mounted it in the first place. If it was instead about mounting a zip, saving something into ...
by zorg
Mon Feb 22, 2021 4:30 am
Forum: Support and Development
Topic: Assign a 'require' to an index arbitrarily?
Replies: 2
Views: 1168

Re: Assign a 'require' to an index arbitrarily?

Nothing simpler to solve, just put a return block_normal at the very end of your block_normal.lua file, that will return the table itself through require, not just whether the file was successfully required in or not. (filename and table name doesn't need to correlate necessarily, but here, it does)...
by zorg
Sat Feb 20, 2021 2:53 pm
Forum: General
Topic: Midi format music distortion
Replies: 14
Views: 10672

Re: Midi format music distortion

I guess the real question is, is there a real use case for MIDI in videogames these days? Who knows, if someone doesn't want to bother with middleware like... what was it called, fmod? It might be useful; can still be used to control, time, crossfade, whatever- high quality sound bites for a dynami...
by zorg
Wed Feb 17, 2021 6:43 pm
Forum: General
Topic: Midi format music distortion
Replies: 14
Views: 10672

Re: Midi format music distortion

Is there a real use case for MIDI these days? Why not use mp3 or ogg etc? (I promise I'm not trying to be a jerk - I just am surprised to see this question in 2021.) Despite what you might equate to "MIDI", like those old html1 sites with background music being played back with shit micro...
by zorg
Wed Feb 17, 2021 9:40 am
Forum: Support and Development
Topic: HUMP camera zoom smoothing?
Replies: 9
Views: 1664

Re: HUMP camera zoom smoothing?

I need to play with it more to understand where the score needs to be drawn each time the camera moves because currently it scrolls off-screen when the camera moves. It needs to be drawn after you draw everything related to the world and you stop using hump.camera's transformation stack ; its posit...
by zorg
Wed Feb 17, 2021 2:46 am
Forum: Support and Development
Topic: HUMP camera zoom smoothing?
Replies: 9
Views: 1664

Re: HUMP camera zoom smoothing?

Maybe the "origin" is not the topleft in a camera system but the middle of the viewport perhaps?

Also, score is usually part of the GUI that shouldn't be affected by world camera transforms anyway, as pgimeno said above.
by zorg
Fri Feb 12, 2021 12:07 am
Forum: Support and Development
Topic: 3d (g3d): how to draw only visible models? FPS drop!
Replies: 5
Views: 2208

Re: 3d (g3d): how to draw only visible models? FPS drop!

Minecraft only renders what you can directly see; That means that anything outside your FoV (field of vision), on the sides and behind you, don't get drawn at all, plus, all the faces of the cubes that are "attached" to other opaque cubes are not drawn either, only the "exposed" ...
by zorg
Thu Feb 11, 2021 5:39 am
Forum: Support and Development
Topic: Client/Server UDP within a thread.
Replies: 13
Views: 4823

Re: Client/Server UDP within a thread.

I did add socket.sleep(0.1) to the server as CPU usage was 100% when it was running Yes it was, because that's how all threads work if you don't sleep them... however if you check out love.run on the wiki, which is the "game loop" on the main thread, you'll see it uses love.timer.sleep to...
by zorg
Mon Feb 08, 2021 11:33 pm
Forum: Libraries and Tools
Topic: Objective Lua - additional syntax to original Lua!
Replies: 26
Views: 11111

Re: Objective Lua - additional syntax to original Lua!

more than that, since lua supports multiple assignment, would multiple compound assignment be supported?

a,b*=b+5,1-a

->

a,b = a*(b+5),b*(1-a)