def create(self):
        screen_w, screen_h = Globals.native_resolution.x, Globals.native_resolution.y
        self.fullscreen_node = Globals.base.pixel2dp.attach_new_node("LoadingScreen")
        self.fullscreen_node.set_bin("fixed", 10)
        self.fullscreen_node.set_depth_test(False)

        scale_w = screen_w / 1920.0
        scale_h = screen_h / 1080.0
        scale = max(scale_w, scale_h)

        self.fullscreen_bg = Sprite(
            image=self.image_source, x=(screen_w - 1920.0 * scale) // 2,
            y=(screen_h - 1080.0 * scale) // 2, w=int(1920 * scale),
            h=int(1080 * scale), parent=self.fullscreen_node, near_filter=False)

        for _ in range(2):
            Globals.base.graphicsEngine.render_frame()
Creates the gui components
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/gui/loading_screen.py/LoadingScreen.create