Search found 38 matches

by deb75
Sat Aug 07, 2021 9:58 pm
Forum: Support and Development
Topic: Two love windows (game and controls)
Replies: 3
Views: 1969

Re: Two love windows (game and controls)

Hi,

Thanks for your quick answeer,

About pollution, I mean that the controls may hide one part of the game, some controls will have a visual effects like change color, shape of some objects and the changes operated by the controls could be partly or totally hidden by the controls itself.
by deb75
Sat Aug 07, 2021 8:59 pm
Forum: Support and Development
Topic: Two love windows (game and controls)
Replies: 3
Views: 1969

Two love windows (game and controls)

Hello, In my game, I want to have one main löve window, for the game itself, and another window dedicated to controls. That way, controls do not pollute the window game. Following the discussion about multiple windows here , it seems not possible that one löve process is able to open more than one w...
by deb75
Sun Aug 01, 2021 8:36 pm
Forum: General
Topic: love2d and 3D games
Replies: 2
Views: 2391

love2d and 3D games

Hello,

I wonder if love2d can be efficiently extended to perform 3d games.

That is to say, can love2d use a discrete GPU in order to make a 3d game run smoothly ?

In other words, Is it a good idea to build a 3d game with love2d ?

Regards
by deb75
Sun Aug 01, 2021 8:24 pm
Forum: General
Topic: Module writing convention?
Replies: 1
Views: 2003

Re: Module writing convention?

Take a look at here
by deb75
Tue Jul 27, 2021 12:05 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 83
Views: 205393

Re: Slab - An Immediate Mode GUI Library In Lua

Yes, better ! But still all graphical elements within your window will inherit from this line width. What if you only want the window border to be affected ? I dug a little into the Slab API, it seems possible to add a window optional parameter like "BorderWidth". But I would "love&qu...
by deb75
Tue Jul 27, 2021 8:58 am
Forum: Support and Development
Topic: Get the screen DPI/PPI
Replies: 3
Views: 2845

Re: Get the screen DPI/PPI

At least, there is a programmatic way to get the screen dimensions in windows 10 shell : Get-WmiObject -Namespace root\wmi -Class WmiMonitorBasicDisplayParams which, among other things, outputs : InstanceName : DISPLAY\MEI96A2\4&289d63ab&0&UID265988_0 MaxHorizontalImageSize : 29 MaxVerti...
by deb75
Tue Jul 27, 2021 8:11 am
Forum: Support and Development
Topic: Record the game as movie file
Replies: 1
Views: 2253

Record the game as movie file

Hello, I would like to record the game play as a movie file. I am pretty sure it should be possible at least to save each frame drawn by love. Is there a function in love API with which I can retrieve the full image built at the end of love.draw() For example, like this : function love.draw() -- dra...
by deb75
Tue Jul 27, 2021 8:05 am
Forum: Support and Development
Topic: Get the screen DPI/PPI
Replies: 3
Views: 2845

Get the screen DPI/PPI

Hello, In my game development, I need to get the correspondance between one true unit screen distance (e.g. 1 inch or 1 centimeter) and the number of pixels associated with this distance. This is because I need to zoom in/out some objects (images) but I want them to be still visible. There is the fu...
by deb75
Mon Jul 26, 2021 10:53 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 83
Views: 205393

Re: Slab - An Immediate Mode GUI Library In Lua

Hi, I did go to the Slab Style wiki page and did not found any settings for the "true" window border width. Also, by "*.ini" file, do you refer to the style file, like Dark.style, or to the more general "Slab.ini". Actually, I did not find in both files any settings for...
by deb75
Mon Jul 26, 2021 10:04 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 83
Views: 205393

Re: Slab - An Immediate Mode GUI Library In Lua

Thanks for your answeer. I currently try to customize the style and I would like to know if it is possible to adjust the border width. There is a Border paramters for windows but, this controls only the amount of space between window content and the border which is drawn on screen. How can I make th...