Skip to main content

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

Awesome plugin, I'm trying to use this to create a library for progression notes, logs, and documents for an explorer horror game and it works great so far! I would like to be able to fit my five custom category options onto a single line (by default it will only show 4 options before forcing you to scroll down for the fifth) - which part of the code in the .js file could I go to in order to change that?

I'd also like to make the sketch appear on top of the description for entries with pictures, but I'm guessing I'd just swap the order they're drawn in in the .js file. Thanks again for your work on this!

Hi, I am not entirely sure on the MV codebase any longer but I believe you should be able to add

CGMV_Window_EncyclopediaCategory.prototype.maxCols = function() {
    return 5;
};

to change how many appear on one line.

Getting the image to display above the text is not going to be as straightforward because there is some loading time for images, so when it draws the text it does not actually know how tall the image is to automatically leave that much space for the image. If all your images are the same height, you could change the y values of the text / image.

that’s really helpful, thanks! The idea is that the protagonist is taking photos of important items and documents with her phone so making the images all the same size would absolutely work 😁