Added Icon
This commit is contained in:
parent
683eb16833
commit
c13b878b45
BIN
assets/icon.png
Normal file
BIN
assets/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
1
game.lua
1
game.lua
@ -21,6 +21,7 @@ function Game:reinit()
|
|||||||
self.floatcameray = 0
|
self.floatcameray = 0
|
||||||
self.assets = {} -- Caching loaded images
|
self.assets = {} -- Caching loaded images
|
||||||
self:initInputs()
|
self:initInputs()
|
||||||
|
love.window.setIcon(love.image.newImageData("assets/icon.png"))
|
||||||
end
|
end
|
||||||
|
|
||||||
function Game:changesize(width,height)
|
function Game:changesize(width,height)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user