experiment: animation curve functions

This commit is contained in:
2025-04-28 15:20:16 -05:00
parent 5cce4eabaf
commit c0b088bb8a
8 changed files with 245 additions and 13 deletions
@@ -19,20 +19,20 @@ public class ShiftMenu extends SaturnScreen {
@Override
public void ui() {
draw(new ImageTexture(Textures.LOGO).dimensions(49, 49).centerOffset(width, height, 0, -45));
draw(new ImageTexture(Textures.LOGO_TEXT).dimensions(49, 8).centerOffset(width, height, 0, -23));
// draw(new ImageTexture(Textures.LOGO_TEXT).dimensions(49, 8).centerOffset(width, height, 0, -23));
Element button = new Button("Settings", () -> {
SaturnClient.client.setScreen(new ModMenu());
}).center(width, height);
// Element button = new Button("Settings", () -> {
// SaturnClient.client.setScreen(new ModMenu());
// }).center(width, height);
draw(button);
// draw(button);
draw(new TextureButton(Textures.COSMETICS, () -> {
client.setScreen(new CloaksMenu());
}).dimensions(button.height, button.height).centerOffset(width, height, (button.width / 2) + (button.height / 2) + 4, 0));
// draw(new TextureButton(Textures.COSMETICS, () -> {
// client.setScreen(new CloaksMenu());
// }).dimensions(button.height, button.height).centerOffset(width, height, (button.width / 2) + (button.height / 2) + 4, 0));
draw(new TextureButton(Textures.HUD_ICON, () -> {
client.setScreen(new HudEditor());
}).dimensions(button.height, button.height).centerOffset(width, height, -((button.width / 2) + (button.height / 2) + 4), 0));
// draw(new TextureButton(Textures.HUD_ICON, () -> {
// client.setScreen(new HudEditor());
// }).dimensions(button.height, button.height).centerOffset(width, height, -((button.width / 2) + (button.height / 2) + 4), 0));
}
}