diff --git a/Content.Client/ADT/UI/AnimatedBackground/AnimatedBackgroundControl.cs b/Content.Client/ADT/UI/AnimatedBackground/AnimatedBackgroundControl.cs new file mode 100644 index 00000000000..1a6aa4cb625 --- /dev/null +++ b/Content.Client/ADT/UI/AnimatedBackground/AnimatedBackgroundControl.cs @@ -0,0 +1,111 @@ +using System.Linq; +using Content.Shared.ADT; +using Robust.Client.Graphics; +using Robust.Client.ResourceManagement; +using Robust.Client.UserInterface.Controls; +using Robust.Shared.Graphics.RSI; +using Robust.Shared.Prototypes; +using Robust.Shared.Timing; + +namespace Content.Client.ADT.UI.AnimatedBackground; + +public sealed class AnimatedBackgroundControl : TextureRect +{ + [Dependency] private readonly IResourceCache _resourceCache = default!; + [Dependency] private readonly IClyde _clyde = default!; + [Dependency] private readonly IPrototypeManager _prototypeManager = default!; + + private string _rsiPath = "/Textures/ADT/LobbyScreens/backgrounds/native.rsi"; + public RSI? _RSI; + private const int States = 1; + + private IRenderTexture? _buffer; + + private readonly float[] _timer = new float[States]; + private readonly float[][] _frameDelays = new float[States][]; + private readonly int[] _frameCounter = new int[States]; + private readonly Texture[][] _frames = new Texture[States][]; + + public AnimatedBackgroundControl() + { + IoCManager.InjectDependencies(this); + + InitializeStates(); + } + + private void InitializeStates() + { + _RSI ??= _resourceCache.GetResource(_rsiPath).RSI; + + for (var i = 0; i < States; i++) + { + if (!_RSI.TryGetState((i + 1).ToString(), out var state)) + continue; + + _frames[i] = state.GetFrames(RsiDirection.South); + _frameDelays[i] = state.GetDelays(); + _frameCounter[i] = 0; + } + } + + public void SetRSI(RSI? rsi) + { + _RSI = rsi; + InitializeStates(); + } + + protected override void FrameUpdate(FrameEventArgs args) + { + base.FrameUpdate(args); + + for (var i = 0; i < _frames.Length; i++) + { + var delays = _frameDelays[i]; + if (delays.Length == 0) + continue; + + _timer[i] += args.DeltaSeconds; + + var currentFrameIndex = _frameCounter[i]; + + if (!(_timer[i] >= delays[currentFrameIndex])) + continue; + + _timer[i] -= delays[currentFrameIndex]; + _frameCounter[i] = (currentFrameIndex + 1) % _frames[i].Length; + Texture = _frames[i][_frameCounter[i]]; + } + } + + protected override void Draw(DrawingHandleScreen handle) + { + base.Draw(handle); + + if (_buffer is null) + return; + + handle.DrawTextureRect(_buffer.Texture, PixelSizeBox); + } + + protected override void Resized() + { + base.Resized(); + _buffer?.Dispose(); + _buffer = _clyde.CreateRenderTarget(PixelSize, RenderTargetColorFormat.Rgba8Srgb); + } + + protected override void Dispose(bool disposing) + { + base.Dispose(disposing); + _buffer?.Dispose(); + } + + public void RandomizeBackground() + { + var backgroundsProto = _prototypeManager.EnumeratePrototypes().ToList(); + var random = new Random(); + var index = random.Next(backgroundsProto.Count); + _rsiPath = $"/Textures/{backgroundsProto[index].Path}"; + InitializeStates(); + } +} \ No newline at end of file diff --git a/Content.Client/Lobby/LobbyState.cs b/Content.Client/Lobby/LobbyState.cs index 1aabc4ff381..7695da1e5bd 100644 --- a/Content.Client/Lobby/LobbyState.cs +++ b/Content.Client/Lobby/LobbyState.cs @@ -214,11 +214,7 @@ private void UpdateLobbyBackground() { if (_gameTicker.LobbyBackground != null) { - Lobby!.Background.Texture = _resourceCache.GetResource(_gameTicker.LobbyBackground ); - } - else - { - Lobby!.Background.Texture = null; + Lobby!.Background.SetRSI(_resourceCache.GetResource(_gameTicker.LobbyBackground).RSI); // ADT Tweak } } diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml b/Content.Client/Lobby/UI/LobbyGui.xaml index c3bd0da642a..a18e9708c33 100644 --- a/Content.Client/Lobby/UI/LobbyGui.xaml +++ b/Content.Client/Lobby/UI/LobbyGui.xaml @@ -8,10 +8,12 @@ xmlns:style="clr-namespace:Content.Client.Stylesheets" xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI" xmlns:info="clr-namespace:Content.Client.Info" - xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.Chat.Widgets"> + xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.Chat.Widgets" + xmlns:ui="clr-namespace:Content.Client.ADT.UI" + xmlns:animatedBackground="clr-namespace:Content.Client.ADT.UI.AnimatedBackground"> - + diff --git a/Content.Server/GameTicking/GameTicker.LobbyBackground.cs b/Content.Server/GameTicking/GameTicker.LobbyBackground.cs index 2090e3e31f0..a748af4b803 100644 --- a/Content.Server/GameTicking/GameTicker.LobbyBackground.cs +++ b/Content.Server/GameTicking/GameTicker.LobbyBackground.cs @@ -1,5 +1,6 @@ using Content.Server.GameTicking.Prototypes; using Robust.Shared.Random; +using Content.Shared.ADT; using Robust.Shared.Utility; using System.Linq; @@ -11,21 +12,19 @@ public sealed partial class GameTicker public string? LobbyBackground { get; private set; } [ViewVariables] - private List? _lobbyBackgrounds; - - private static readonly string[] WhitelistedBackgroundExtensions = new string[] {"png", "jpg", "jpeg", "webp"}; + private List? _lobbyBackgrounds; // ADT Tweak private void InitializeLobbyBackground() { - _lobbyBackgrounds = _prototypeManager.EnumeratePrototypes() - .Select(x => x.Background) - .Where(x => WhitelistedBackgroundExtensions.Contains(x.Extension)) + _lobbyBackgrounds = _prototypeManager.EnumeratePrototypes() // ADT Tweak + .Select(x => x.Path) .ToList(); RandomizeLobbyBackground(); } - private void RandomizeLobbyBackground() { - LobbyBackground = _lobbyBackgrounds!.Any() ? _robustRandom.Pick(_lobbyBackgrounds!).ToString() : null; + private void RandomizeLobbyBackground() + { + LobbyBackground = _lobbyBackgrounds!.Any() ? _robustRandom.Pick(_lobbyBackgrounds!) : null; // ADT Tweak } } diff --git a/Content.Shared/ADT/AnimatedLobbyScreen/AnimatedLobbyScreenPrototype.cs b/Content.Shared/ADT/AnimatedLobbyScreen/AnimatedLobbyScreenPrototype.cs new file mode 100644 index 00000000000..7ec55671be7 --- /dev/null +++ b/Content.Shared/ADT/AnimatedLobbyScreen/AnimatedLobbyScreenPrototype.cs @@ -0,0 +1,17 @@ +using Robust.Shared.Prototypes; + +namespace Content.Shared.ADT; + +/// +/// This is a prototype for... +/// +[Prototype] +public sealed partial class AnimatedLobbyScreenPrototype : IPrototype +{ + /// + [IdDataField] + public string ID { get; } = default!; + + [DataField(required: true)] + public string Path = default!; +} \ No newline at end of file diff --git a/Resources/Prototypes/ADT/AnimatedLobbyScreen/lobbyScreens.yml b/Resources/Prototypes/ADT/AnimatedLobbyScreen/lobbyScreens.yml new file mode 100644 index 00000000000..0606e728b4a --- /dev/null +++ b/Resources/Prototypes/ADT/AnimatedLobbyScreen/lobbyScreens.yml @@ -0,0 +1,35 @@ +- type: animatedLobbyScreen + id: SeaLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/sea.rsi + +- type: animatedLobbyScreen + id: RocketLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/rocket.rsi + +- type: animatedLobbyScreen + id: CubeLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/cube.rsi + +- type: animatedLobbyScreen + id: MilkywayLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/milkyway.rsi + +#- type: animatedLobbyScreen +# id: NativeLobbyScreen +# path: White/Lobby/backgrounds/native.rsi + +- type: animatedLobbyScreen + id: CentcommLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi + +- type: animatedLobbyScreen + id: VangoghLobbyScreen + path: /Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi + +#- type: animatedLobbyScreen +# id: ThirdLobbyScreen +# path: Ohio/Lobby/backgrounds/3.rsi + +#- type: animatedLobbyScreen +# id: FifthLobbyScreen +# path: Ohio/Lobby/backgrounds/5.rsi \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/1.png new file mode 100644 index 00000000000..0786e3fc29b Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/meta.json new file mode 100644 index 00000000000..d0d7dc548d0 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/3.rsi/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 1920, + "y": 875 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/1.png new file mode 100644 index 00000000000..83162d92136 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/meta.json new file mode 100644 index 00000000000..7542883eec1 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/centcomm.rsi/meta.json @@ -0,0 +1,38 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 901, + "y": 676 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015, + 0.015 + ] + ] + } + ] +} \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/1.png new file mode 100644 index 00000000000..edd7fbdef20 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/meta.json new file mode 100644 index 00000000000..703cd24ae6a --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/cube.rsi/meta.json @@ -0,0 +1,494 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 355, + "y": 281 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03, + 0.03 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/1.png new file mode 100644 index 00000000000..c425735c44b Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/meta.json new file mode 100644 index 00000000000..8bba16ff692 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/milkway.rsi/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 640, + "y": 365 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/1.png new file mode 100644 index 00000000000..905f1979f22 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/meta.json new file mode 100644 index 00000000000..91ab478f096 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/native.rsi/meta.json @@ -0,0 +1,21 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 480, + "y": 480 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1, + 0.1, + 0.1 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/1.png new file mode 100644 index 00000000000..4a71167f489 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/meta.json new file mode 100644 index 00000000000..778964d0617 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/rocket.rsi/meta.json @@ -0,0 +1,28 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 960, + "y": 540 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/1.png new file mode 100644 index 00000000000..7304b2cd678 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/meta.json new file mode 100644 index 00000000000..6d7296bfdc4 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/sea.rsi/meta.json @@ -0,0 +1,213 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 498, + "y": 280 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05, + 0.05 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/1.png new file mode 100644 index 00000000000..6a2db599384 Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/meta.json new file mode 100644 index 00000000000..d0d7dc548d0 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/sus.rsi/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 1920, + "y": 875 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/1.png new file mode 100644 index 00000000000..2a339c5d7cf Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/meta.json new file mode 100644 index 00000000000..d6d00fd8376 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/syndicate.rsi/meta.json @@ -0,0 +1,349 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 374, + "y": 211 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.1, + 0.04, + 0.06, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.1, + 0.03, + 0.07, + 0.07, + 0.13, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.06, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.06, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.06, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.07, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.1, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.06, + 0.04, + 0.03, + 0.03, + 0.07, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.13, + 0.04, + 0.03, + 0.03, + 0.04, + 0.03, + 0.03 + ] + ] + } + ] + } \ No newline at end of file diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/1.png b/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/1.png new file mode 100644 index 00000000000..26021c51a3b Binary files /dev/null and b/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/1.png differ diff --git a/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/meta.json b/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/meta.json new file mode 100644 index 00000000000..c70a6125117 --- /dev/null +++ b/Resources/Textures/ADT/LobbyScreens/backgrounds/vangogh.rsi/meta.json @@ -0,0 +1,19 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-4.0", + "copyright": "WhiteDream", + "size": { + "x": 1135, + "y": 800 + }, + "states": [ + { + "name": "1", + "delays": [ + [ + 0.1 + ] + ] + } + ] +} \ No newline at end of file