Adds SS loading to title screen (#23042)

* Adds SS loading to title screen

* Makes it scroll
This commit is contained in:
AffectedArc07
2023-11-03 19:31:22 +00:00
committed by GitHub
parent 1b5dd4148d
commit 558f129cc2
3 changed files with 131 additions and 9 deletions
@@ -30,8 +30,7 @@ SUBSYSTEM_DEF(title)
var/icon/icon = new(fcopy_rsc(file_path))
for(var/turf/simulated/wall/indestructible/splashscreen/splash in world)
splash.icon = icon
// Below operations are needed to centrally place the new splashscreen on the lobby area
splash.pixel_x = -((icon.Width() - world.icon_size) / 2)
splash.pixel_y = -((icon.Height() - world.icon_size) / 2)
GLOB.title_splash.icon = icon
// Below operations are needed to centrally place the new splashscreen on the lobby area
GLOB.title_splash.pixel_x = -((icon.Width() - world.icon_size) / 2)
GLOB.title_splash.pixel_y = -((icon.Height() - world.icon_size) / 2)