Add playable corridor scroll desktop prototype
This commit is contained in:
@@ -7,12 +7,14 @@ val gdxVersion: String by project
|
||||
|
||||
dependencies {
|
||||
implementation(project(":core"))
|
||||
implementation(project(":shared"))
|
||||
implementation("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion")
|
||||
implementation("com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop")
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("com.artlegend.DesktopLauncherKt")
|
||||
applicationDefaultJvmArgs = listOf("-XstartOnFirstThread")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
||||
@@ -3,6 +3,8 @@ package com.artlegend
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration
|
||||
|
||||
import com.artlegend.shared.ModuleType
|
||||
|
||||
fun main() {
|
||||
val config = Lwjgl3ApplicationConfiguration().apply {
|
||||
setTitle("ArtLegend")
|
||||
@@ -10,5 +12,5 @@ fun main() {
|
||||
setForegroundFPS(60)
|
||||
useVsync(true)
|
||||
}
|
||||
Lwjgl3Application(ArtLegend(), config)
|
||||
Lwjgl3Application(GameHost(ModuleType.LINE_CORRIDOR), config)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user