Skip to content

Main Menu Customization

Joalor64 edited this page Jun 15, 2024 · 8 revisions

Main Menu Customization via JSON

This engine actually allows you to customize the main menu, with the help of JSON, of course.

Credits go to crowplexus.

How it Works

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

JSON Variables

  • enableReloadKey - Allows you to use R to reload the main menu.
  • centerOptions - Centers the options.
  • aligntoCenter - Aligns the options to the center.
  • optionX - X position of the options.
  • optionY - Y position of the options.
  • bgX - X position of the background.
  • bgY - Y position of the background.
  • scaleX - X scale of the options.
  • scaleY - Y scale of the options.
  • backgroundStatic - Normal background.
  • backgroundConfirm - Background when an option is selected.
  • colorOnConfirm - Background color when option is selected. Uses RGB values.
  • options - Your options.
  • links - Your custom links. Disabled for the time being.

If any of the values are invalid, the default values will be used instead.

JSON Example

{	
	"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"]
	]
}

In-Game Example

173432708-1fda9a86-74df-4e00-8e8b-605e0ed8f0b0.mp4
Clone this wiki locally