Welcome to PGMV! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
TM Card - TMCard.js
Plugin desc : A card game where the outcome is determined by the deck composition
License : MIT License
Author : tomoaky
Desc page : https://github.com/munokura/tomoaky-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/tomoaky-MV-plugins/refs/heads/master/TMCard.js
File name : TMCard.js
Help of plugin :
@plugindesc A card game where the outcome is determined by the deck composition @author tomoaky @url https://github.com/munokura/tomoaky-MV-plugins @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/tomoaky-MV-plugins ). Original plugin by tomoaky. ----- TMPlugin - Card Game ver0.1.7b How to Use: Please refer to the distribution site for information on the necessary preparations to run this plugin. This plugin has been tested with RPG Maker MV Version 1.6.1. This plugin is distributed under the MIT License and is free for commercial use, modification, and redistribution. Sample Project https://github.com/munokura/tomoaky-MV-plugins/tree/master/zip Memo Tags (Item): <cardCost:1> This item will be treated as a card with a cost of 1. <cardHp:10> Sets the durability of this item to 10. <cardAtk:2> Sets the attack power of this item to 2. <cardType:0> Sets the card type of this item to 0. Cards with a type value of 4 will be treated as item cards. <cardElement:1> Sets the card Elements of this item to 1. <cardRare:2> Sets this item's card rarity to 2. <unitSkill:20> Sets skill number 20 as this item's unique skill. <partySkill:21> Sets skill number 21 as this item's party skill. <cardAttackAnimation:2> Sets this item's attack animation to 2. If omitted, the plugin parameters "animationAttack" and "animationEnemyAttack" will be applied. <cardImage:sample_card> Sets the file named sample_card.png in the img/pictures folder as the card image. If this tag is omitted, the file name will be the string "card_" followed by the item number. Memo Tag (Skill): <cardEffect:1,2> Sets the effect as a card skill. <cardRules:2,0 7,5> Sets the activation conditions for a card skill. You can set multiple conditions by separating them with a space. <cardRepeats:2> Sets the number of times the card skill's effect is activated. Plugin Commands: startCardBattle Villager A 0 1,2,3 Starts a card game by specifying the opponent's name, item card number, and deck (card numbers separated by commas). The deck used by the player will be the topmost deck containing cards. startDeckSelect Villager A 0 1,2,3 The player can select a deck before the card game begins. If deck selection is canceled, the result variable is set to -1. isDeckReady 1 Determines whether the player has assembled at least one valid deck. If a card game is possible, the game switch with the specified number will be turned on. If a card game is not possible (no decks containing cards), the switch will be turned off. startDeckEdit Invokes the deck editing scene. disableTypeBonus Disables the type bonus Traits. Type bonuses are enabled at the start of the game. enableTypeBonus Restores the type bonus Traits after it has been disabled. Note: If the maximum number of decks that can be registered is 0, the deck editing command will not appear in the main menu. @param vnResult @desc The game variable number to which the result of the card game is assigned. Initial value: 1 @default 1 @param vnMaxDeck @desc The game variable number used as the maximum number of decks that can be registered. Default: 2 @default 2 @param vnMaxCard @desc Game variable number used as the maximum number of cards that can be included. Default: 3 @default 3 @param vnMaxCost @desc Game variable number used as the deck's cost limit. Default: 4 @default 4 @param fixCardNum @desc Whether to limit the number of cards in the deck to the maximum. Default: 1 ( 0 allows fewer cards / 1 limits to the maximum) @default 1 @param sameCard @desc Whether or not the same card can be included multiple times. Default: 1 (0 means not included / 1 means included) @default 1 @param useItemCard @desc Whether to use item cards. Default: 1 (0: Do not use / 1: Use) @default 1 @param useAutoText @desc Whether to generate card graphics by script. Default: 1 ( 0 = image as is / 1 = auto-generate) @default 1 @param commandDeckEdit @desc Edit Deck command in the menu. Default: Edit Deck @default Edit Deck @param statusWindowWidth @desc Width of the card status window in deck editor. Default: 360 @default 360 @param maxAtk @desc Maximum attack power. Default: 8 @default 8 @param maxTurn @desc If this number of turns is exceeded, the game will end in a draw. Default: 50 @default 50 @param animationAttack @desc Attack animation number. Default: 1 @default 1 @type animation @require 1 @param animationEnemyAttack @desc Attack animation number (enemy card). Default: 1 @default 1 @type animation @require 1 @param animationTypeBonus @desc Type bonus animation number. Default: 52 @default 52 @type animation @require 1 @param paramNames @desc Names of various parameters. Initial values: Name Rarity Cost HP AttackPower TypeSkill UniqueSkill InheritedSkill Elements @default Initial values: Name Rarity Cost HP AttackPower TypeSkill UniqueSkill InheritedSkill Elements @param itemCardParamNames @desc Names of various parameters of item cards. Initial value: ChargeTime BasicEffect SpecialEffect @default ChargeTime BasicEffect SpecialEffect @param typeIcons @desc Card type icon number. Default: 76 77 81 79 176 @default 76 77 81 79 176 @param typeSpeed @desc Card type speed value. Default: 1 4 0 2 @default 1 4 0 2 @param elementIcons @desc Card Elements icon number. Default: 64 65 66 67 68 69 70 71 @default 64 65 66 67 68 69 70 71 @param rareNames @desc Card rarity name. Default: Common Uncommon Rare Legend @default Common Uncommon Rare Legend @param costIcon @desc Cost display icon number. Default: 87 @default 87 @param costIconSpace @desc Cost display icon spacing. Default: 20 @default 20 @param positionNames @desc Name of card position. Default: 1st 2nd 3rd 4th 5th @default 1st 2nd 3rd 4th 5th @param itemCardPositionName @desc The name of the item card's position. Default: ITM @default ITM @param deckNames @desc Deck name. Default: DeckA DeckB DeckC DeckD DeckE @default DeckA DeckB DeckC DeckD DeckE @param playerCardPositions @desc Display coordinates of player card. Default: 128,264 272,184 368,184 464,184 560,184 @default 128,264 272,184 368,184 464,184 560,184 @param playerItemCardPosition @desc Display coordinates of player item card. Default: 272,344 @default 272,344 @param enemyCardPositions @desc Display coordinates of enemy cards. Default: 688,264 544,344 448,344 352,344 256,344 @default 688,264 544,344 448,344 352,344 256,344 @param enemyItemCardPosition @desc Display coordinates of enemy item cards. Default: 544,184 @default 544,184 @param numberPositions @desc Display coordinates for HP and attack power. Initial value: 128,488 208,456 688,488 608,456 @default 128,488 208,456 688,488 608,456 @param messageWindowY @desc Card game message window Y coordinate Default: 544 @default 544 @type number