From: TheSaminator Date: Thu, 10 Feb 2022 16:00:19 +0000 (-0500) Subject: Client-side changes X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=6e09c983885b0e06bf92ccf2eba7a85e4e89252a;p=starship-fights Client-side changes --- diff --git a/src/jsMain/kotlin/starshipfights/game/game_resources.kt b/src/jsMain/kotlin/starshipfights/game/game_resources.kt index da24228..1be28ee 100644 --- a/src/jsMain/kotlin/starshipfights/game/game_resources.kt +++ b/src/jsMain/kotlin/starshipfights/game/game_resources.kt @@ -120,8 +120,14 @@ object RenderResources { val material = MeshBasicMaterial(configure { map = gridTex - alphaTest = 0.5 + side = DoubleSide + depthWrite = false + + blending = CustomBlending + blendEquation = AddEquation + blendSrc = OneFactor + blendDst = OneMinusSrcColorFactor }) val plane = PlaneGeometry(w3d, l3d) diff --git a/src/jsMain/kotlin/starshipfights/game/popup.kt b/src/jsMain/kotlin/starshipfights/game/popup.kt index 336c6ab..cfe1a43 100644 --- a/src/jsMain/kotlin/starshipfights/game/popup.kt +++ b/src/jsMain/kotlin/starshipfights/game/popup.kt @@ -445,6 +445,13 @@ sealed class Popup { +outcome } + p { + style = "text-align:center" + + a(href = "/me") { + +"Return to Home Page" + } + } } } } diff --git a/src/jsMain/resources/textures/grid-tile.png b/src/jsMain/resources/textures/grid-tile.png index 6ae3a3d..be1cd42 100644 Binary files a/src/jsMain/resources/textures/grid-tile.png and b/src/jsMain/resources/textures/grid-tile.png differ