Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Configuration settings

A topic by cruise012 created Apr 21, 2021 Views: 416 Replies: 4
Viewing posts 1 to 4

I want to change the default background from the middle to another all-new background.

But your README.md and the topics here didn't figure out how to do that.

I tried to change the background in the middle of the game by trial and error, but nothing changed or I got an error.

I don't know how to set the configuration of jm_ebb_example.hjson.

I think it's as simple as adding something below the "configuration" in the json file to provide another background instead of the default, can you give me an example?

Thank you.

Developer

You'd add the configuration to the configuration file, then you'd use either a script call, or plugin command and call 'setConfiguration'

as a script call (for a theoretical configuration named "cruise"):

JM_EBB.setConfiguration("cruise")

as a plugin command:

EarthboundBackgrounds setConfiguration cruise

No, what I want to know is not a script or plugin command call, but an additional way to write a "configuration".

I tried the following as an example.

However, I get an error because my configuration is not set properly.

I don't understand the additional description of the configuration.

Developer

Put all the layers under one array, same with configurations. The script only supports 1 top level layers key and configuration key

OK.

I don't know if it works, but I'll try again