diff --git a/src/client/assets/coconut.png b/src/client/assets/coconut.png new file mode 100644 index 0000000..8e56867 Binary files /dev/null and b/src/client/assets/coconut.png differ diff --git a/src/main.lua b/src/main.lua index 2a00ecc..17bb1fe 100644 --- a/src/main.lua +++ b/src/main.lua @@ -1,16 +1,20 @@ ---Client starts here! +--Client starts here! local shared = assert( require 'shared' ) local love = assert( love ) + function love.load() + --Crash unless coconut present and running luajit 2.1 + loadstring( love.data.decode( "string", "base64","G0xKAgrbAQAACgALABY2AAAAOQABADkAAgAnAgMAJwMEADYEAAA5BAEEOQQFBCcGBgA2BwAAOQcHBzkHCAcnCQkAQgcCAEEEAQBBAAICBgAKAFgAAoArAAEAWAEBgCsAAgBMAAIALWQ4MmY3M2RkNjQ1MDcxNDZiNTkwNTMwYjg0NDcwMWZlMmJmYjdjZTkeY2xpZW50L2Fzc2V0cy9jb2NvbnV0LnBuZxFuZXdJbWFnZURhdGEKaW1hZ2UJc2hhMQloYXNoCGhleAtzdHJpbmcLZW5jb2RlCWRhdGEJbG92ZV0BAAUABQAONgAAADMCAQBCAAICDgAAAFgBB4A2AAIANAIAADUDAwA2BAAAPQQEA0IAAwJCAAECMgAAgEwAAgALX19jYWxsAQAAEXNldG1ldGF0YWJsZQAKcGNhbGwA" ))() + love.window.setIcon( assert( love.image.newImageData( "client/assets/client-icon.png" ) ) ) love.graphics.setNewFont( "client/assets/fonts/Montserrat-Bold.ttf", 48 ) local scenes = assert( require 'client.scene' ) - + assert( require 'client.ui.options' ) assert( require 'client.ui.browser' ) assert( require 'client.game' ) assert( require 'client.ui.mainmenu' ) assert( require 'client.connecting' ) scenes.loadScene( scenes.mainmenu ) -end +end \ No newline at end of file