Client-side changes
authorTheSaminator <TheSaminator@users.noreply.github.com>
Thu, 10 Feb 2022 16:00:19 +0000 (11:00 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Thu, 10 Feb 2022 16:00:19 +0000 (11:00 -0500)
src/jsMain/kotlin/starshipfights/game/game_resources.kt
src/jsMain/kotlin/starshipfights/game/popup.kt
src/jsMain/resources/textures/grid-tile.png

index da24228e6640a07eefb4319f78a26dadfb910bb7..1be28ee16835503c283bd03fb45de374e96da4c8 100644 (file)
@@ -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)
index 336c6aba87c6c933961e1556f4ff3b8f43643998..cfe1a4318cd2e1dbbbe30a7610a4e6cdcd46979a 100644 (file)
@@ -445,6 +445,13 @@ sealed class Popup<out T> {
                                
                                +outcome
                        }
+                       p {
+                               style = "text-align:center"
+                               
+                               a(href = "/me") {
+                                       +"Return to Home Page"
+                               }
+                       }
                }
        }
 }
index 6ae3a3d94b241bd3ca19b589aca1c50723d11afd..be1cd425dbf45ae1c81067279151e57a8c0d1022 100644 (file)
Binary files a/src/jsMain/resources/textures/grid-tile.png and b/src/jsMain/resources/textures/grid-tile.png differ