diff --git a/.media/logo.svg b/.media/logo.svg new file mode 100644 index 00000000..52fec54e --- /dev/null +++ b/.media/logo.svg @@ -0,0 +1,59 @@ + +image/svg+xml + + + + \ No newline at end of file diff --git a/Dungeoneer/assets/data/splash.dat b/Dungeoneer/assets/data/splash.dat index 32d989cb..3bbcfe55 100644 --- a/Dungeoneer/assets/data/splash.dat +++ b/Dungeoneer/assets/data/splash.dat @@ -2,5 +2,6 @@ "backgroundLevel": "levels/splash.bin", "backgroundImage": "splash/Delver-Menu-BG.png", "logoImage": "splash/Delver-Logo.png", + "logoFilter": true, "music": "title.mp3" } \ No newline at end of file diff --git a/Dungeoneer/assets/splash/Delver-Logo.png b/Dungeoneer/assets/splash/Delver-Logo.png index 09e11f65..cc978a5a 100644 Binary files a/Dungeoneer/assets/splash/Delver-Logo.png and b/Dungeoneer/assets/splash/Delver-Logo.png differ diff --git a/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreen.java b/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreen.java index ff6c2e48..f0049a8f 100644 --- a/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreen.java +++ b/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreen.java @@ -81,9 +81,14 @@ public void show() { splashText = splashTexts[r.nextInt(splashTexts.length)]; - if(splashScreenInfo.logoImage != null) + if(splashScreenInfo.logoImage != null) { logoTexture = Art.loadTexture(splashScreenInfo.logoImage); - + + if(splashScreenInfo.logoFilter) { + logoTexture.setFilter(Texture.TextureFilter.Linear, Texture.TextureFilter.Linear); + } + } + fadeStartTick = 0; fadeEndTick = 200; isFadingOut = false; diff --git a/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreenInfo.java b/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreenInfo.java index 298190f9..adfeebf3 100644 --- a/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreenInfo.java +++ b/Dungeoneer/src/com/interrupt/dungeoneer/screens/SplashScreenInfo.java @@ -1,13 +1,12 @@ package com.interrupt.dungeoneer.screens; -import com.badlogic.gdx.graphics.Color; - public class SplashScreenInfo { public SplashScreenInfo() { } public String backgroundLevel = "levels/temple-splash.bin"; public String backgroundImage = "splash/Delver-Menu-BG.png"; public String logoImage = "splash/Delver-Logo.png"; + public boolean logoFilter = false; public String music = "title.mp3"; public float fogEnd = 15; public float fogStart = 3; -} \ No newline at end of file +} diff --git a/README.md b/README.md index 5ad2bf57..6a6b5245 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# Delver Open Source +# [![delverengine](.media/logo.svg?sanitize=true)](https://github.com/interrupt/delverengine) + +# Delver Engine Open Source Delver engine and editor source code release This source release does not contain or cover the game data from Delver, the game data remains subject to the original copyright and applicable law.