Skip to content

Commit 75e3855

Browse files
committed
pong-5 table, resizing, typo
1 parent 8a332fa commit 75e3855

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pong-5/main.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ function love.load()
6464
-- more "retro-looking" font object we can use for any text
6565
smallFont = love.graphics.newFont('font.ttf', 8)
6666

67-
-- set LÖVE2D's active font to the smallFont obect
67+
-- set LÖVE2D's active font to the smallFont object
6868
love.graphics.setFont(smallFont)
6969

7070
-- initialize window with virtual resolution
7171
push:setupScreen(VIRTUAL_WIDTH, VIRTUAL_HEIGHT, WINDOW_WIDTH, WINDOW_HEIGHT, {
72-
vsync = true,
7372
fullscreen = false,
74-
resizable = true
73+
resizable = true,
74+
vsync = true
7575
})
7676

7777
-- initialize our player paddles; make them global so that they can be
@@ -174,4 +174,4 @@ function love.draw()
174174

175175
-- end rendering at virtual resolution
176176
push:apply('end')
177-
end
177+
end

0 commit comments

Comments
 (0)