Search found 8 matches
- Wed Jan 18, 2023 8:00 pm
- Forum: Support and Development
- Topic: Fill a circle with text
- Replies: 13
- Views: 1942
[Solved] Fill a circle with text
Thank you all for the help, now for future use is better to have this code as a library for future use
- Tue Jan 10, 2023 5:30 pm
- Forum: Support and Development
- Topic: Fill a circle with text
- Replies: 13
- Views: 1942
Re: Fill a circle with text
I suggest to post the code snippet on a gist for future references or in a library.
- Tue Jan 10, 2023 5:24 pm
- Forum: Support and Development
- Topic: Fill a circle with text
- Replies: 13
- Views: 1942
Re: Fill a circle with text
*looks the entire thread after logging in* ~Oh, what i´ve done, i've started a war lmao. looked all replies (specially pgimeno's code) and it works with some params changed -- Function by pgimeno -- local function genRoundText(text, font, radius, align, topMargin) -- Initializes an empty text object...
- Sun Jan 08, 2023 9:15 pm
- Forum: Support and Development
- Topic: Fill a circle with text
- Replies: 13
- Views: 1942
Re: Fill a circle with text
like this, the use case for this is in case of having a round display (like zeblaze thor 5 smartwatch which runs Android not Android Wear)
- Sun Jan 08, 2023 8:52 pm
- Forum: Support and Development
- Topic: Fill a circle with text
- Replies: 13
- Views: 1942
Fill a circle with text
Hi, the title explains all, anyone knows how to fill a circle with horizontal text?
No text bending, just filling a circle with circle-shaped paragraph?
No text bending, just filling a circle with circle-shaped paragraph?
- Mon May 24, 2021 7:54 pm
- Forum: Support and Development
- Topic: Easy swipe on touchscreen android
- Replies: 4
- Views: 6122
Re: Easy swipe on touchscreen android
The code from https://love2d.org/wiki/love.graphics.translate works too: tx=0 ty=0 function love.draw() mx = love.mouse.getX() my = love.mouse.getY() if love.mouse.isDown(1) then if not mouse_pressed then mouse_pressed = true dx = tx-mx dy = ty-my else tx = mx+dx ty = my+dy end elseif mouse_pressed...
- Mon May 24, 2021 6:17 am
- Forum: Support and Development
- Topic: Easy swipe on touchscreen android
- Replies: 4
- Views: 6122
Easy swipe on touchscreen android
Hello, i'm not very often here, but i want to share this code if someone wants an easy swipe up and down function function love.load() begin_y = nil end_y = nil doingTouch = false end function love.touchpressed(id, x, y, dx, dy, pressure) if doingTouch == false then begin_y = y doingTouch = true end...
- Sun Aug 23, 2020 7:20 am
- Forum: Support and Development
- Topic: Most advanced music tracker format?
- Replies: 10
- Views: 6623
Re: Most advanced music tracker format?
Hello, thanks for the lua binding for Sunvox, i have a few personal projects planned about games and this wrapper reduces double work on compose tunes on both OpenMPT and Sunvox. About the support for Android.. i won't ask about it because i've forked the repo, implemented support for Android and AR...