Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I don't understand what I am doing wrong but the plugin just doesn't activate at all and when it does, no matter what I do it freezes my game and says:

TypeError

Cannot read property 'ce' of undefined

I hope this is an easy fix because if not I will kind of want a refund because the screenshots and gifs make it look like it was just going to be a drag and drop and you're done situation.

(4 edits)

Hi, can you show the full error message from the dev tools console? Also, are you testing using a saved game or new game?

Edit: I believe I see the issue, are you by any chance using a saved game that had pictures showing already at the time of save prior to adding this plugin? I am able to reproduce the issue in that case. I can release an update to handle this case, but in the mean time you might want to start a new game, add a temporary event to clear and re-show any existing pictures, or run the following js in an event script call:

for(const pic of $gameScreen._pictures) {
  pic?.CGMZ_clearClickablePicture();
}

The issue is most likely that you have pictures that exist in your save that do not have clickable picture data.

(1 edit)

Yes I am. That's very inconvenient to just have to start a new project because I have entire systems and minigames in place. I would prefer the refund tbh because I'm not trying to force you to crank out an update and I will just find a different one.

Edit: I ran that script and it's still not working at all.

Maybe there is some confusion, you don't need to start a new RPG Maker project, you just need to start a new game (at the title screen, during a playtest, select "New Game" instead of "Continue").

If the script did not work, can you please show the full error trace from the dev tools console? It is hard to know for sure what is going wrong without seeing the full error message. You can access the dev tools console by pressing F8 in game

(1 edit)

"but in the mean time you might want to start a new game, add a temporary event to clear and re-show any existing pictures, or run the following js in an event script call"

the wording implies you are telling me to remake the whole game until you can fix it because before that you also say ", are you by any chance using a saved game that had pictures showing already at the time of save prior to adding this plugin?" and then at the end "The issue is most likely that you have pictures that exist in your save that do not have clickable picture data."

its fine im sorry for wasting your time. I will just use the arrows to indicate what directions are available for the player to go and just use a choice box.

Sorry, that is my mistake. When I talk about new / save game, I mean new / save game in the playtest, not the entire project. If I wanted you to start an entirely new project, I would have said project instead of game, though you should never need to start an entirely new project. This should be fairly standard RPG Maker terminology where game refers to the game in playtest and project refers to the entire project, but I can understand how it can be confusing if you are new to the program.

The difference between new and saved games in the playtest is that if you already saved the game in the playtest, the pictures you had showing when you saved the game in the playtest before you added this plugin do not have any clickable data this plugin adds, so when you load the save game in the playtest it will crash if you then interact with the picture at all (mouse over, key / gamepad button, etc). You can get around this by clicking New Game to start a new game in the playtest, rather than Continue to load a save file in the playtest. Of course, you can also do the other options I listed as well if you would like to keep your save file, such as "add a temporary event to clear and re-show any existing pictures, or run the following js in an event script call"