mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 15:59:33 +07:00
Better circle image, images no longer look all pixellated
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 2.9 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 873 KiB After Width: | Height: | Size: 892 KiB |
@ -2,6 +2,7 @@ package com.unciv.game.desktop;
|
|||||||
|
|
||||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||||
|
import com.badlogic.gdx.graphics.Texture;
|
||||||
import com.badlogic.gdx.tools.texturepacker.TexturePacker;
|
import com.badlogic.gdx.tools.texturepacker.TexturePacker;
|
||||||
import com.unciv.UnCivGame;
|
import com.unciv.UnCivGame;
|
||||||
|
|
||||||
@ -12,6 +13,10 @@ class DesktopLauncher {
|
|||||||
settings.maxWidth = 2048;
|
settings.maxWidth = 2048;
|
||||||
settings.maxHeight = 2048;
|
settings.maxHeight = 2048;
|
||||||
settings.combineSubdirectories=true;
|
settings.combineSubdirectories=true;
|
||||||
|
|
||||||
|
// This is so they don't look all pixelated
|
||||||
|
settings.filterMag = Texture.TextureFilter.MipMapLinearLinear;
|
||||||
|
settings.filterMin = Texture.TextureFilter.MipMapLinearLinear;
|
||||||
TexturePacker.process(settings, "images", "images", "game");
|
TexturePacker.process(settings, "images", "images", "game");
|
||||||
|
|
||||||
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
|
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
|
||||||
|
Reference in New Issue
Block a user