Redesign cosmetics
CosmeticsMenu replaces the cloak and hat menus and stores: the player on the left, turned by dragging, and on the right Cloaks and Hats tabs over a grid of every cosmetic. Clicking an owned one equips it, and clicking one not owned yet claims it, which is free. The equipped one is outlined and badged, and the grid asks to connect when there's no Saturn session. SkinPreview is now a drag-to-rotate player view, and its EntityDrawer draws the player filling a box at a given yaw, returning false when there's no player. CosmeticPreview and TabMenu go with the old screens. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -14,7 +14,6 @@ import org.saturnclient.ui.elements.ImageTexture;
|
||||
import org.saturnclient.ui.elements.TextureButton;
|
||||
import org.saturnclient.ui.resources.Fonts;
|
||||
import org.saturnclient.ui.resources.Textures;
|
||||
import org.saturnclient.ui.screens.cosmetics.CloakMenu;
|
||||
|
||||
public class TitleMenu extends SaturnScreen {
|
||||
public TitleMenu() {
|
||||
@@ -68,7 +67,7 @@ public class TitleMenu extends SaturnScreen {
|
||||
.animation(new SlideFade(AnimationConfig.mainMenu, s + 8)));
|
||||
|
||||
saturnStagger.draw(new TextureButton(Textures.CLOAK, () -> {
|
||||
Providers.saturn.getClient().setScreen(new CloakMenu());
|
||||
Providers.saturn.getClient().setScreen(new CosmeticsMenu());
|
||||
}).dimensions(s, s).position((s + 2) * 2, 0)
|
||||
.animation(new SlideFade(AnimationConfig.mainMenu, s + 8)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user