2
ModuleAPIGameLibEndScreen
Mees van der Wijk edited this page 2025-08-09 18:04:09 +02:00

ModuleApi - GameLib EndScreen

The endscreen can be shown to the user after they have been removed a game. It can be used to display information like statistics or give feedback.

Structure

{
   	"gameIcon": "/addressOfGameIcon",
	"gameName": "Game Name",

    "title"	: "Title text to show",
	"text": "Sub text to show",
	"stats": [
        { "name": "Reason", "value": "You've died" },
        { "name": "Score", "value": 15 }
    ],
	"footer": "Footer text to show"
}

Attribute Type Description
gameIcon string Path to the icon of the game.
gameName string The name of the game.
title string The title of the endscreen.
(Optional) text string Text to show on the endscreen.
stats { name:string, value: number / string} Statistics rows to show on the endscreen.
(Optional) footer string The footer of the endscreen.