Comments

Log in with itch.io to leave a comment.

great pluging, altou im having issues with the images not showing in full screen they seemed to be croped like it doesn't show like a "show image comande , as if it's hard coded, i tryed messing with the setting but it doesn't seem like i can control the picture or how it shows, the images im suzing are same size as the game resolution.

Hi, I am not sure I understand the problem, would you be able to show a screenshot of what you mean?

Would it be possible to discover a picture based on a variable? I'm trying to figure out a more efficient solution than a whole bunch of if-thens, but my attempts so far have  not been successful, as I'm fairly new to learning javascript.

Hi, you could use the script call

$cgmzTemp.discoverPictureGalleryPicture("id", true);

where id would be a string that is the picture id. You can set game variables to strings, if you wanted to set a variable to a string and then use its value to discover a picture you could do:

const varId = 1; // Change this to the variable id
$cgmzTemp.discoverPictureGalleryPicture($gameVariables.value(varId), true);
(+1)

This works perfectly, thank you so much! Your plugins have been super helpful :)

Nice, I am glad you got it working 😁

Hello, me again! Is it possible to hide /unhide a picture with a variable as well? 

Hi, you can use the script call to show:

const varId = 1;
$cgmz.getPictureGalleryPic($gameVariables.value(varId)).show();

or hide:

const varId = 1;
$cgmz.getPictureGalleryPic($gameVariables.value(varId)).hide();

This plugin looks great! I have an idea but appreciate that it might not be possible, can it be connected with your screenshots plugin to create a sort of in game camera where a player can take a screenshot then view it in game? 

(+1)

Hi, that is something I have been polling on my Patreon for a while now as an update to the screenshots plugin, but it doesn't win the polls 😔. I am not sure how well it would fit in to this plugin since this plugin also keeps track of locked/hidden status and a completion percentage, which screenshots wouldn't really fit in with.

No worries! I can see what you mean :-)