Skip to content

Main Menu Customization

Joalor64 edited this page Feb 24, 2023 · 8 revisions

Main Menu Customization via JSON

This engine actually allows you to customize the main menu, with the help of JSON, of course. Here's a quick tutorial.

How it Works

This allows for custom backgrounds, positions, and even colors.

It also includes new debug keys. Debug 2 opens the Mods Menu. RESET simply reloads the main menu. But only if enableReloadKey is set to true.

Here is an example of the .json:

{	
	"enableReloadKey":true,
	"centerOptions":false,
	"alignToCenter":false,
	"optionX":300,
	"optionY":300,
	"bgX":-80,
	"bgY":0,
	"scaleX":1,
	"scaleY":1,
	"backgroundStatic":"funkay",
	"backgroundConfirm":"funkay",
	"colorOnConfirm": [
		69,
		69,
		69
	],
	"options": [
		"story_mode",
		"freeplay",
		"awards",
		"options"
	],
	"links": [
		["discord", "https://discord.com/app"],
		["twitter", "https://twitter.com"]
	]
}

Extra Info

colorOnConfirm uses RGB color values.

Also, links are disabled for the time being.

Example

Clone this wiki locally