Skip to content

Commit

Permalink
Font changed
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavostuff committed Apr 25, 2017
1 parent 2830b91 commit 4711242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added fonts/Arimo-Bold.ttf
Binary file not shown.
Binary file removed fonts/Attractive-Regular.ttf
Binary file not shown.
6 changes: 3 additions & 3 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function love.load()
imgDir = "/imgs/"
fontDir = "/fonts/"
style = {
font = gr.newFont(fontDir.."Attractive-Regular.ttf", 14),
font = gr.newFont(fontDir.."Arimo-Bold.ttf", 13),
innerRadius = 3,
showBorder = true,
}
Expand Down Expand Up @@ -85,7 +85,7 @@ function love.load()
{y = 160, x = 200, w = 80, h = 22, text = "Jun", radioGroup = "g2"}
)

txt1 = gooi.newText({y = 270, w = 180, h = 22}):setText("Хола мундо")
txt1 = gooi.newText({y = 270, w = 180, h = 22}):setText("A text field")
bar1 = gooi.newBar({y = 240, w = 180, h = 22, value = 0}):increaseAt(0.1)
joy1 = gooi.newJoy({x = 120, y = 420, size = 150}):
setImage(imgDir.."cat.png"):noSpring():noGlass():opacity(0.7)
Expand Down Expand Up @@ -115,7 +115,7 @@ function love.load()
end)

pGame = gooi.newPanel({x = 350, y = 10, w = 420, h = 270, layout = "game"})
pGame:add(gooi.newButton({text = "<- shot"}), "b-r")
pGame:add(gooi.newButton({text = "<= shot"}), "b-r")
pGame:add(btnShot, "b-r")
pGame:add(joyShip, "b-l")
pGame:add(joyShipDigital, "b-l")
Expand Down

0 comments on commit 4711242

Please sign in to comment.