Skip to main content

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

Alignment and Duplication Issues

A topic by Sehanbrel created Feb 10, 2025 Views: 134 Replies: 9
Viewing posts 1 to 7

Heya! This plugin seems to be exactly what I need for my project, but it's got some odd behaviors. First, I found this code snip in this thread, which while for MV, fixes the thing where when you click off and back on, the stuff inside the help/description window (where I'm using it) it was misaligning each time to the right. I don't know if you might consider just coding that functionality into the main plugin for MZ?

Also, while I'm using VS plugins and can preload images with its Core, I get this upon selecting the first item in the menu: https://gyazo.com/72472d50de35bf2186ee8189334e1839

It fixes itself when I click off and back on, however: https://gyazo.com/0ba7e059522484617643670db9b51ab6

And then a strange error, where the image is duplicated when the description is pulled into CGMZ's Encyclopedia plugin: https://gyazo.com/2995a3fa282e6f3c992e58c6c2251a6d -- I don't know if a compatibility patch is possible, or if you want me to ask Casper (the author) about it instead?

The item in the database, as far as I can tell, is written fine? https://gyazo.com/dc7e5280e20bbaba45b0a0f01c072a4b

Thanks for making this plugin available, by the way. I searched for *forever* for something that would let me do this and I'm so glad this exists.

Developer (1 edit)

Hi there!

Before I check in all your issues I need to confirm that is not a compatibility problem. Therefore, I would ask you to try the same things you tried, with only my plugins set to ON in the plugin manager.

Then tell me what worked with only my plugins on.

But regardless that, if there is a compatibility problem, I will need a sample project made by you so I can see the issues happening and try to find the error.

But need to say, with Visustella, nothing is guaranteed due to the obfuscation.

---------

Now the first problem seems to me to be that the image is not loaded at first, and so, that could be a problem since the plugin can't know whee to start the text because it cannot measure the picture size because it is not loaded. I believe I may be able to fix that, if it is not a compatibility problem.

The duplicate on CGMZ probably is a compatibility.

And the escape code is well written on the database.

Thanks for the quick response. I appreciate you taking a look at things. I understand attempting to patch anything with VS involved can be finicky. :,)

Just your Book and MessageActions, and the alignment fix snippet plugin: https://gyazo.com/d246c19dde164f8fd162270bc8bb271f (Click off-and-on behavior is the same)

Your three plugins, + CGMZ Core and Encyclopedia only active: https://gyazo.com/b201a4e791fc25cd12c05207889b52df  (Same as before in item and encyclopedia scenes)

Do you need a completely blank sample project with only the 5 relevant plugins? Or do you want VS Core in as well, even though that seems to not be causing conflicts? And I'm assuming to remove the audio files.

Developer

Thanks!!

I guess VS is not a problem then. If you coupd give me a sample project so I can take a look into the chmz issue, I would appreciate!

And will try to replicate and fix the help window thing.

I am SO SORRY it took me so long to reply!! I didn't get any notif from Itch or anything and I finally thought to check back manually. :,D Here's the mostly-empty project. Click the signpost at launch. Dummy Project - gdrive

Heya! Sorry if this isn't necessary, I just wanted to be sure the thread notified you I finally responded a bit ago. 

Developer

Hi there!

I just saw it. Here in Brazil is a big holiday now. I will try to answer you as soon as I can!

Developer

Hi friend!

Sorry for the delay! I will try take a look into this this week!

Developer

Hi again!

Please download the new version 2.1.3, I believed I fixed the CGMZ Encyclopedia compatibility!

You also don't need that plugin patch you found on the forums anymore. It is already set on the MZ version of the plugin.

Now, about the image not being loaded, I created a temporary fix for that. You will need to insert the image dimensions when using the escape code, so the plugin can know the image size before it is loaded. An example would be that:

  • \DrawImg[width,height,pictures,icon] Test test

You still can do only that:

  • \DrawImg[pictures,icon] Test test

But with the second option, you will have to relay on the image to be loaded to proper drawn and set the text position correctly. My advise is to always put manually the size of the image into the argument to avoid any strange behavior.

So sorry for the delay friend!! :(

(+1)

Much appreciated! Thank you for getting to this. :>