Add playable corridor scroll desktop prototype

This commit is contained in:
2026-06-30 11:36:23 -06:00
parent 2b208aff7e
commit 3ed24cf8be
4 changed files with 289 additions and 104 deletions

View File

@@ -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 {

View File

@@ -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)
}