Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
If you've really done all on that list, besides someone taking the time look at your project and error trap what is happening in it, I don't have any other ideas, sorry.
 

FearRaiser

Warper
Member
Joined
Jul 4, 2018
Messages
4
Reaction score
0
First Language
Bosnian
Primarily Uses
N/A
If you've really done all on that list, besides someone taking the time look at your project and error trap what is happening in it, I don't have any other ideas, sorry.
Ah well, was worth a try. Thank you either way for trying :D
 

seyfer110

Regular
Regular
Joined
Jan 9, 2014
Messages
81
Reaction score
11
First Language
English
Primarily Uses
RMMV
Uhm, I'm getting an error just by running the test with the plugin enabled:
bandicam 2022-12-13 14-35-12-730.jpg

line 40 is
* @default 48
which I suppose refers to the tile size.
Is it a plugin conflict?

But I'm still using the basic size, 48x48, for tiles...

I really wanted to givea try at map parallax T.T

EDIT:
Starting a new game seems to avoid the issue, at least for the test version.
 
Last edited:

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
Yes, you'll need to start a new game after adding the plugin as it creates data on a new game, not on a file that was saved prior to adding it.

Also, just so you know, the error message you screenshot is not referring to a line number.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,675
Reaction score
11,194
First Language
English
Primarily Uses
RMMV
Uhm, I'm getting an error just by running the test with the plugin enabled:
When you experience a crash, press F8 and go to the Console tab. That error trace is what anyone needs to start tracking down a bug, and it includes line numbers.
 

unknown2u

Regular
Regular
Joined
Oct 26, 2016
Messages
39
Reaction score
11
First Language
English
Primarily Uses
RMMV
Hi @Galv , thanks for the great plugin!
However I encountered a bug when trying to test run specific events (Running "Test" from the context menu in an event).

I have actually found the cause of the bug and fixed it though it might require looking more into it:
Code:
Galv.LG.Game_Map_setup = Game_Map.prototype.setup;
Game_Map.prototype.setup = function(mapId) {
    Galv.LG.Game_Map_setup.call(this,mapId);
    this.layerSettings[mapId] = this.layerSettings[mapId] || {}
    // Setup map notetag layers
    this.createNoteLayers(mapId);
   
    for (var obj in this.layerConfig()) {
        obj.currentx = 0;
        obj.currenty = 0;
    };
};

When setting up a map in event test the mapId equals -1, so the resulting $dataMap exists but a little different - $dataMap.note in fact doesn't exist in this case.

So a simple check fixes this:
Code:
Galv.LG.Game_Map_setup = Game_Map.prototype.setup;
Game_Map.prototype.setup = function(mapId) {
    Galv.LG.Game_Map_setup.call(this,mapId);
    this.layerSettings[mapId] = this.layerSettings[mapId] || {}
    if (!$dataMap || !$dataMap.note) {
        return;
    }

    // Setup map notetag layers
    this.createNoteLayers(mapId);
   
    for (var obj in this.layerConfig()) {
        obj.currentx = 0;
        obj.currenty = 0;
    };
};

Thanks again.
 

LeetMusic

Regular
Regular
Joined
Sep 19, 2013
Messages
195
Reaction score
39
First Language
English
Primarily Uses
Other
Is there a way to use this plugin so that layers don't repeat? Attached is an example of what I am trying to avoid. Thanks.
 

Attachments

  • repeat.jpg
    repeat.jpg
    82.4 KB · Views: 13

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
Assuming you want to just put the ribbons on the wall? You could use map tiles or events for those.

The plugin does allow you to put non-repeating layers on, though. Look at the plugin command for the static layer (LAYER_S) and check the plugin documentation and demo for examples.
 
Joined
Jun 18, 2023
Messages
66
Reaction score
148
First Language
English
Primarily Uses
RMMV
So I tried using this Plugin and I downloaded the demo. Put in as a game under my game files like regular. RPGMaker will of course let me open the game file but when I try to playtest the demo, it does this. I have the file there in the layers folder, so not really sure what the issue is.
 

Attachments

  • demoscreenshot.png
    demoscreenshot.png
    18.4 KB · Views: 13

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
Without more information, the error appears to say you don't have that image file in the correct folder. Double-check you put it in the correct place. If you have multiple RPG Maker project folders, make sure you're in the right one.
 
Joined
Jun 18, 2023
Messages
66
Reaction score
148
First Language
English
Primarily Uses
RMMV
I finally figured it out! I had seen that error before when it doesn't find a file or what have you but it was confusing because I saw the file there!

Well, it turns out that the event in the demo was asking for "002test.png"
But the file in the demo was "002Test.png"

I have no idea if I accidentally edited the file or what, but I'd have to assume so because so many people have used your plugin successfully without this problem so I don't know why else there would have been that little difference there.

It's weird though, because I was sure I hadn't touched anything there other than move the folder into the game folder but the main thing that matters is its working now.

Either way, thanks for the help, and the amazing plugin!
 
Joined
Jun 18, 2023
Messages
66
Reaction score
148
First Language
English
Primarily Uses
RMMV
I actually had one other question about this. Since you're supposed to create layers before you go to a given map, if I declare all the layers at the beginning of a large game, will that cause the game to run slower? Does it make a difference performance wise to create layers as you go to prevent this?

So if I create map 2 layer on map 1, I create map 3 layer on map 2 etc. Is that better than just creating everything at the start?
 

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
It won't make the game run any slower.
Creating layers before going to a map (or using map notes) allows the layers to load their graphics when the map loads, rather then needing them to load during an event when already on the map.
 

m3fchan

Girl who likes to draw anime girls
Member
Joined
Sep 14, 2023
Messages
15
Reaction score
101
First Language
English
Primarily Uses
RMMV
How to change layers when called by an event? I have parallax in the map comments, how can I change layers using the plugin command? For some reason, the plugin command does not change anything even after a refresh.
u3ZjoeC9XPg.jpg
 

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
Not enough information to know how you've set it up. But you can use the LAYER command and reference a layer ID without removing it first. The new settings will replace the existing layer ID.
 

muffinswords

Regular
Regular
Joined
Nov 29, 2013
Messages
47
Reaction score
23
First Language
English
Primarily Uses
I'm trying to make it so I can show a picture (Show Picture command)...and I want the picture to display below a layer for an effect I'm going for. No matter what I try, like altering the Z value of the layer, the picture is always on top. Is it possible to get a picture to appear below? Thank you for any help, I really love this plugin.
 

Galv

Regular
Regular
Joined
Oct 1, 2012
Messages
1,469
Reaction score
1,774
First Language
English
Primarily Uses
RMMZ
You can create a static layer that displays like a picture with the right settings. Then it will be part of the map z levels.
 

Super015

Regular
Regular
Joined
May 12, 2013
Messages
91
Reaction score
14
First Language
Italian
Primarily Uses
RMMV
Hello, is it possible to modify the plugin so that layers on the same z-plane are arranged based on the ID number?
 

Latest Threads

Latest Posts

Latest Profile Posts

Kokoro Reflections is my favorite tileset maker. I absolutely love their work. I have bought quite a bit from them. Best RPG Maker tileset creator ever imo.
Me working on a deadline, "don't make the baseline and chords too funky, don't over compose it... remember, you have to finish it." Touches MIDI controller...instant funk.
TGA are coming up, and I'm still mad Lies of P didn't get nominated.
Like, they chose a remake of a 20 year old game and a vanilla 2D Mario game over it?

Bah, humbug!
I'll be there for the trailers and whatever weird mistakes are made.
I've bundled all my free plugin releases on itch.io I'll add more later, feel free to check it out! https://starlit.itch.io/rm-free-plugins
If I could draw, my Game Jam title screen would be a Krampus sitting in Santa's chair, his long, blonde hair flowing in the wind, sipping on an Espresso, while snacking on cheddar popcorn, chewing on an orange pencil pensively, while completing a crossword puzzle. I guess it's a good thing I can't draw.

Forum statistics

Threads
136,782
Messages
1,269,926
Members
180,534
Latest member
yuki7744111
Top