Yue Posted 20 hours ago Posted 20 hours ago local displays = GetDisplays() for k = 1, #displays do Print("Display " .. tostring(k) .. ":") Print(" Position: " .. tostring(displays[k]:GetPosition().x) .. " x " .. tostring(displays[k]:GetSize().y)) Print(" Size: " .. tostring(displays[k]:GetSize().x) .. " x " .. tostring(displays[k]:GetSize().y)) Print(" Scale: " .. tostring(displays[k]:GetScale())) Print(" Graphics Modes:") local gfxmodes = displays[k].graphicsmodes for n = 1, #gfxmodes do Print(" " .. tostring(n) .. ": " .. tostring(gfxmodes[n].x) .. ", " .. tostring(gfxmodes[n].y .. ", " .. tostring(gfxmodes[n].z))) end end Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
Yue Posted 19 hours ago Author Posted 19 hours ago Error sammple documentation. https://www.leadwerks.com/learn/Display_GetSize?lang=lua Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
Solution Josh Posted 18 hours ago Solution Posted 18 hours ago fixed 2 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.