Irina's Collectible Card Game Plugin - Reduce Pictures Shown

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
411
Reaction score
144
First Language
English
Primarily Uses
RMVXA
Hey,

I'l hoping someone could help me with a (presumably) small tweak to Irina's Collectible Card Game plugin. https://atelieririna.itch.io/collectible-card-game

I hope this is the right place for this. It is a paid plugin, but her terms state that the plugin can be edited.

The plugin unfortunately suffers from extreme lag for most computers, to the point of being unplayable. However, I believe there is a simple solution that could fix this.

It largely has to do with the way the deck/discard/exhaust piles are handled. Those piles are not static images, instead the plugin creates a new image for each card in each of those piles. So, with the standard deck size of 40, that's 80 unneeded images that are being loaded at all times.

You can see this in action by changing the min deck size to less than 10, and going into a game with both players having 10 or less card. With this, it actually runs pretty well.

I'm hoping someone that has access to the plugin could help create a fix for this issue. Presumably the easiest fix would be to tweak the plugin to, instead of loading a new picture for each card in a pile, instead load a single static image.

Again, I hope this is alright to ask, and likewise, I hope this actually makes sense. If you have any questions, please don't hesitate to ask.

Thank you!
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
411
Reaction score
144
First Language
English
Primarily Uses
RMVXA
Hopeful bump :kaoluv:
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Got MV on Steam during the Lunar New Year Sale! Happy Year of the Rat everyone!
Oh, stop with the Melodrama...

...Listen to it instead!

anybody else like getting baked whilst coding?

When you go to the beach watch out for coconuts. Coconuts are more dangerous than sharks. Fact.
Try to get into pixelart again, so far its a sucess.
Also finally found a useful pixeltutorial which helps a lot.

Forum statistics

Threads
93,618
Messages
914,005
Members
123,185
Latest member
Disaffect
Top