Search found 2 matches
- Mon Jan 15, 2024 8:46 am
- Forum: Libraries and Tools
- Topic: [CODE] draw rectangles by percent of window dimensions.
- Replies: 1
- Views: 32265
Re: [CODE] draw rectangles by percent of window dimensions.
Useful with addition of library "svglover" (https://www.love2d.org/wiki/svglover) For drawing *svg images on any window resolution without quality loosing.
- Sun Jan 14, 2024 3:52 pm
- Forum: Libraries and Tools
- Topic: [CODE] draw rectangles by percent of window dimensions.
- Replies: 1
- Views: 32265
[CODE] draw rectangles by percent of window dimensions.
-- love version 11.5 -- file: main.lua - simple implementation of percentual scaling of rectangles like in CSS,HTML -- Date: 2023/01/14 --os.execute("clear") -- clear console previous output for *nix OS'es function love.load() --<GLOBALS>---------------------------------------------------...