Search found 3551 matches
- Sun Feb 14, 2021 7:02 pm
- Forum: Support and Development
- Topic: 3d environment with 2d sprites clipping problem
- Replies: 3
- Views: 3432
Re: 3d environment with 2d sprites clipping problem
That problem is not an easy one to solve. More people seem to have faced that problem with other engines, e.g. https://www.reddit.com/r/gamedev/comments/bq0lt3/2d_sprites_3d_world_a_tricky_clipping_issue/ While intuitively the intention seems clear and straightforward, mathematically it's much harde...
- Sun Feb 14, 2021 12:07 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 169172
Re: Gspöt - retained GUI lib
Thanks for the test case. I see the effect you mention. It's hard to know whether this is intentional, because the original author is no longer around to ask, but in any case, it's clear that changing the behaviour is going to affect existing applications, including the demo, so I'm disinclined to a...
- Sun Feb 14, 2021 11:32 am
- Forum: General
- Topic: a curiosity: no instructions on how to share an exe
- Replies: 2
- Views: 3019
Re: a curiosity: no instructions on how to share an exe
It's right there in the wiki: Game_Distribution Once you have your game executable you can pack it together with all the other DLL files of the official LÖVE .zip file into a new .zip file and share this with the world. (emphasis added) The instructions for generating a Windows executable from Linux...
- Sat Feb 13, 2021 11:27 am
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 169172
Re: Gspöt - retained GUI lib
I still don't understand. The "Speak" button has the "Chat" input element as parent, while the "A Button" button has no parent, and I don't see a difference between them.
- Fri Feb 12, 2021 11:03 pm
- Forum: Support and Development
- Topic: Help with GUI
- Replies: 21
- Views: 14911
Re: Help with GUI
The kind of GUI you're after, with nested tabbed containers, is too complex for explaining it in a forum post. If you can't do it yourself, I suggest you look into pre-made GUIs. But then I'm not aware of any GUI written in Lua that allows both horizontal and vertical tabs. In fact, I only know of L...
- Fri Feb 12, 2021 7:22 pm
- Forum: Support and Development
- Topic: stutter while scrolling
- Replies: 5
- Views: 4129
Re: stutter while scrolling
That one is smooth for me.
For me the print was triggering a lot of the time, perhaps because the tolerance was small. When I changed it to 1/56, it barely triggered.
Note my system is Linux, not sure if that makes a difference.
For me the print was triggering a lot of the time, perhaps because the tolerance was small. When I changed it to 1/56, it barely triggered.
Note my system is Linux, not sure if that makes a difference.
- Fri Feb 12, 2021 6:53 pm
- Forum: Libraries and Tools
- Topic: Gspöt - retained GUI lib
- Replies: 169
- Views: 169172
Re: Gspöt - retained GUI lib
I've added a check for "this.value ~= nil" to fix (what I believe to be) the bug that causes regular buttons to change their color behavior when they are parented to another object. Only buttons which have an explicit this.value property will change their color behavior. Can you provide a...
- Fri Feb 12, 2021 6:22 pm
- Forum: Support and Development
- Topic: stutter while scrolling
- Replies: 5
- Views: 4129
Re: stutter while scrolling
It depends on what you call micro-stutters. I see a little bit of tearing. If I enable vsync like Tabaqui suggests, the tearing is gone but the scroll is still not 100% smooth. But that's expected because the speed isn't a constant amount of pixels per frame like it used to be in old games; that's a...
- Fri Feb 12, 2021 5:52 pm
- Forum: Support and Development
- Topic: Help with GUI
- Replies: 21
- Views: 14911
Re: Help with GUI
1. How to check which button was clicked? I think that we can start from something like: function love.mousepressed(x, y, button, istouch) if button == 1 then local clicked_botton = get_clicked_button (all_visible_bottons, {x=x, y=y}) end end If all you have is buttons, you can have an array of but...
- Fri Feb 12, 2021 12:44 pm
- Forum: Support and Development
- Topic: Help with GUI
- Replies: 21
- Views: 14911
Re: Help with GUI
Theoretically, someday I can understand them. Is here any way to save metatables into the file? Into what file? Serialization libraries rarely save metatables. You can however retrieve the metatable and serialize it, if you really want that, but it's not likely that you will get the result you expe...