is it possible in renpy to draw a rectangle with rounded border?
I found this function to draw a solid image but there isn't any parameter for the corner:
Code: Select all
Frame(Solid("#E75282"), 0, 0)
Benny
Code: Select all
Frame(Solid("#E75282"), 0, 0)
Code: Select all
screen round_rect():
frame:
area (50,50,450,250)
background Frame(
Text( "\u25A2", #### <--- this is a small rounded rectangle character
color="#64A",
font="DejaVuSans.ttf",
size=72,
outlines=[(2, "#FFF", 0, 0)]),
32, 32,
tile=True)
text "Hi" pos (50,50)
label start:
show screen round_rect
"..."
Users browsing this forum: Belgerum, Majestic-12 [Bot]