package com.seventh_root.guildfordgamejam.desktop

import com.badlogic.gdx.backends.lwjgl.LwjglApplication
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration
import com.seventh_root.guildfordgamejam.GuildfordGameJam

fun main(arg: Array<String>) {
    val config = LwjglApplicationConfiguration()
    config.width = 1280
    config.height = 720
    config.fullscreen = false
    LwjglApplication(GuildfordGameJam(), config)
}

package com.seventh_root.guildfordgamejam.desktop

import com.badlogic.gdx.backends.lwjgl.LwjglApplication
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration
import com.seventh_root.guildfordgamejam.GuildfordGameJam
import java.awt.GraphicsEnvironment

fun main(arg: Array<String>) {
    val config = LwjglApplicationConfiguration()
    val graphicsDevice = GraphicsEnvironment.getLocalGraphicsEnvironment().defaultScreenDevice
    config.width = graphicsDevice.displayMode.width
    config.height = graphicsDevice.displayMode.height
    config.fullscreen = true
    LwjglApplication(GuildfordGameJam(), config)
}

Make game start in full screen mode
Make game start in full screen mode

alyphen/guildford-game-jam-2016