Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Here's a better guide for using this Sticky

A topic by NEETpride created Oct 03, 2021 Views: 1,513 Replies: 15
Viewing posts 1 to 7
(7 edits) (+1)

Note that all ` (tildes) are NOT meant to be typed in.

1. Download a fresh copy of `ebattlebacks.zip` and `dist.zip`, then unzip both.

2. Move the `ebattlebacks` folder into the `img` folder of your game.

3. Go into the `dist` folder and move the `JM_EarthboundBackgrounds.js` file into your `js/plugins` folder. Don't forget to activate the plugin from within the RPG Maker MV program by clicking on that puzzle piece icon!

4. Go into the `dist` folder and move the `ebb` folder into the root folder of your game (so alongside where your .rpgproject file will be located).

5. Now go into the `ebb` folder and open the `jm_ebb_example.hjson` file with a text editor, delete everything there, then make the contents of the file read exactly like this:

{

    "layers": [

        {"image": "002",  "image_mode": "stretched",  "palette_shift": 0},

        {"image": "009",  "image_mode": "tiled",  "effect": { "type": "horizontal_interlaced",  "amplitude": 256,  "frequency": 3},  "palette_shift": 2, "scroll": [0, 1]},

        {"image": "003",  "image_mode": "tiled",  "palette_shift": 0,  "effect": { "type": "horizontal_interlaced", "amplitude": 64, "frequency": 1}, "scroll": [0, 1]},

        {"image": "007",   "image_mode": "tiled",   "effect": { "type": "horizontal_interlaced",   "amplitude": 256,  "frequency": 1  },  "palette_shift": 1, "scroll": [0, 1]}

    ],

    "configurations": {

        "alta": [1, 0],

        "default": { "layers": [1, 0],  "speed": 2},

        "puppy": {"layers": [0, 1],  "speed": 1},

        "monster": {"layers": [3, 2],  "speed": 1}

    }

}

6. Open up your project in RPG Maker, open up the database, then go to your Troops, pick any monster and add `[EBB: monster]` after the name of Troop (not the Enemy). Pick another Troop and add `[EBB: puppy]` to see the other battleback in action.

Explanation:

This is an example of what I will refer to as a "specific layer object" -----> {"image": "009",  "image_mode": "tiled",  "effect": { "type": "horizontal_interlaced",  "amplitude": 256,  "frequency": 3},  "palette_shift": 2,   "scroll": [0, 1]}

This is an example of what I will refer to as a "named config object" ------> "monster": {"layers": [3, 2],  "speed": 1}

You never have to create another config file or even rename the existing `jm_ebb_example.hjson` config file. You can think of config files as a set of one "layers" object (made up of the "layers" array which itself is made up of specific layer objects), and one "configurations" object made up of named config objects. You have to add any image pattern manually to the list (notice the square bracket array) of images. I've just been picking random image numbers and random amplitudes, palette_shifts, etc; maybe someone else can explain the different types of "effects" and what all the different image settings mean. The small "scroll" array is simply the direction the scroll happens in, with the array representing [direction of x movement, direction of y movement] and the values can either be -1, 0, or 1.

THIS IS THE TRICKY PART!

Once you have already added all your specific layer objects to the "layers" array, you also have to reference the array positions of the specific layer object in a named config object. You see where it says [3, 2] in the "monster" named config object? That is referencing the "layers" array position of specific layer objects:

        {"image": "003",  "image_mode": "tiled",  "palette_shift": 0,  "effect": { "type": "horizontal_interlaced", "amplitude": 64, "frequency": 1},  "scroll": [0, 1]}

and

        {"image": "007",   "image_mode": "tiled",   "effect": { "type": "horizontal_interlaced",   "amplitude": 256,  "frequency": 1  },  "palette_shift": 1, "scroll": [0, 1]}

Notice their position in the "layers" array. The initial index value is 0, which is why the numbers are not [4,3].

Let's say you wanted to add a new named config object for your "Sheep" Troop. All you'd have to do is add another named config object to the configurations object:

{

    "layers": [

        {"image": "002",  "image_mode": "stretched",  "palette_shift": 0},

        {"image": "009",  "image_mode": "tiled",  "effect": { "type": "horizontal_interlaced",  "amplitude": 256,  "frequency": 3},  "palette_shift": 2,   "scroll": [0, 1]},

        {"image": "003",  "image_mode": "tiled",  "palette_shift": 0,  "effect": { "type": "horizontal_interlaced", "amplitude": 64,                "frequency": 1},  "scroll": [0, 1]},

        {"image": "007",   "image_mode": "tiled",   "effect": { "type": "horizontal_interlaced",   "amplitude": 256,  "frequency": 1  },  "palette_shift": 1, "scroll": [0, 1]}

    ],

    "configurations": {

        "alta": [1, 0],

        "default": { "layers": [1, 0],  "speed": 2},

        "puppy": {"layers": [0, 1],  "speed": 1},

        "monster": {"layers": [3, 2],  "speed": 1},

        "Sheep": {"layers": [0, 3], "speed": 1}

    }

}

Then go to your Sheep Troop in the database and add `[EBB: Sheep]`. You also could have named it something like "sheep329" and it still would work so long as you added `[EBB: sheep329]` to the Troop name in the database, even if the actual Troop name is still Sheep.

Let me know if anything is still unclear! This is actually a great plugin but goddamn was it a bitch to figure out.

Could you go into more detail about what the different parts like 'type' and 'frequency' and what they do?

The best way to understand type is to test out all possible options yourself, which are: "horizontal_interlaced", "horizontal", and "vertical" IIRC. Frequency is how fast the color changes occurs. It is NOT the speed the layer moves, which was what I thought it was. The color cycling moving at a high frequency does look like actual movement.

(1 edit)

I tried vertical, it simply broke the plugin

And frequency seems to edit the y scale of the pattern????

oh fuck, well, uh, don't ask me I guess... it's been a while since worked with this lol

(1 edit)

its not working https://www.mediafire.com/view/9ramovyr154vroo/image_2022-05-29_182123553.png/fi...

can you list all plugins you're using? also upload the jm_ebb_example.hjson so I can see the raw file myself. I'll try to help!

(+1)

Hey, do you have any downloadable demo in order to understand what you did? I followed your guide word for word but cant for the life of me get it to work.

Im using Yanfly's Core Engine, if that helps

no prob bro: https://github.com/austincap/MagicalThinking

(1 edit)

Hello! I haven't seen this question be addressed, so I wanted to ask it myself: how do you determine which specific color pallete is used? I don't want to have to type in random values until I eventually get what I want.

Much obliged!

Did you ever find a way to select a specific color pallette?

(+1)

I'm pretty sure I've figured it out:

Both the palette and the image is pulled from where you put in the image name, so if you use image "143", it will use palette "143". So if you want to use a certain palette for an image, you would have to change the palette with the corresponding number, or change another palette's name to the image's number.

(1 edit)

Tbh it's probably more efficient just to randomly change numbers until you like how it looks. It's in the ebattlebacks folder btw in case that's not clear. Man, I've never seen a tool that needed a GUI more but I get how much of a pain that is.

Is there any way to only enable these backgrounds for certain troops? I want to use both the EarthBound backgrounds as well as my own, but trying to display no pattern at all either results in an error or a black background.

nevermind this is just a default parameter of the plugin i'm kind of stupid!!!!!

Hello! Sorry for posting this after a while but I've been meaning to ask, do you know how to use the script calls/commands towards the bottom of the read me document? I'm not sure how to add stuff like the background letterboxing or changing the backgrounds in the middle of a fight? I don't understand how I'm supposed to use the commands nor what in the text I'm supposed to change so it can actually change the background or toggle the letterbox.