Added support for LOVE being put inside the game directory on windows.
This commit is contained in:
parent
7df6c1ce7b
commit
683406da5c
3
conf.lua
Normal file
3
conf.lua
Normal file
@ -0,0 +1,3 @@
|
||||
function love.conf(t)
|
||||
t.window.title = "FNFLove2D"
|
||||
end
|
6
main.lua
6
main.lua
@ -190,14 +190,14 @@ function love.draw()
|
||||
|
||||
love.graphics.clear()
|
||||
|
||||
love.graphics.circle("fill", 960, 59, 50000)
|
||||
|
||||
myTypes.drawSprites()
|
||||
|
||||
love.graphics.setCanvas()
|
||||
|
||||
love.graphics.circle("fill", 960, 59, 50000)
|
||||
|
||||
love.graphics.draw(mainCanvas, 0, 0, 0, (love.graphics:getHeight() / 1080) * (4/3), love.graphics:getHeight() / 1080)
|
||||
|
||||
end
|
||||
|
||||
love.window.setMode(1280, 720, { fullscreen = true , resizable = true})
|
||||
love.window.setMode(1280, 720, { fullscreen = false , resizable = true})
|
@ -1,6 +1,8 @@
|
||||
if exist "C:\Program Files\LOVE\love.exe" (
|
||||
"C:\Program Files\LOVE\love.exe" ./
|
||||
) else if exist ".\love.exe" (
|
||||
".\love.exe" ./
|
||||
) else (
|
||||
echo "LOVE not installed."
|
||||
echo Love not installed
|
||||
pause
|
||||
)
|
Reference in New Issue
Block a user