Начните вводить название — например, MoreHead, Sodium или PEAK

SpritesheetAPI — иконка
Обложка InscryptionМод для Inscryption

SpritesheetAPI

от KellyBetty

BETA RELEASE. This mod lets you load animated portraits for cards from spritesheets.

  • Редкий
  • 14,7 тыс. скачиваний
  • Версия 0.1.3
  • Обновлён 17 октября 2022
  • Не обновлялся больше года
  • Акт I
  • Библиотека
  • Карты
  • Акт III

О моде SpritesheetAPI

SpritesheetAPI — мод для Inscryption (Инскрипшн) от автора KellyBetty. BETA RELEASE. This mod lets you load animated portraits for cards from spritesheets.

Его скачали 14,7 тыс. раз: это 67-е место среди модов Inscryption в нашем каталоге, редкость — «редкий» (топ-50% по скачиваниям). Мод давно не обновлялся — проверьте совместимость с текущей версией игры, актуальная версия — 0.1.3.

Для работы ему нужны: BepInExPack Inscryption, API.

Скриншоты

3 шт · нажмите, чтобы открыть

Полное описание SpritesheetAPI

Текст автора на языке оригинала

An Inscryption mod that lets you easily add animated portraits to your cards with a spritesheet and a JSON file (or, alternatively, through C#).

This is a project done purely for fun. Please don't expect much out of it and please don't get mad if there are bugs.

This mod is currently in its beta stage. Please know there may be bugs. If you find any bugs, please contact me on Discord: kelly betty#7936

And here's an example of animated cards made with this mod (all art by me):

Below you'll find all the documentation for this mod, as well as a short blink animation tutorial.

Installation

This mod’s only dependencies are BepInEx and the InscryptionAPI mod.

There are two ways of installing this mod: with the help of a mod manager (like r2modman or the Thunderstore Mod Manager) or manually.

Installation (Mod Manager)

  1. Download and install r2modman or the Thunderstore Mod Manager.
  2. Install this mod and all of its dependencies with the help of the mod manager!

Installation (Manual)

  1. Download and install BepInEx.
  2. If you're downloading it from its Github page, follow this installation guide.
  3. If you're downloading "BepInExPack Inscryption" from Thunderstore, follow the manual installation guide on the Thunderstore page itself. This one comes with a preconfigured BepInEx.cfg file, so it's advised.
  4. Download and install the Inscryption API mod following its manual installation guide.
  5. Find the BepInEx > plugins folder.
  6. Place the contents of "SpritesheetAPI.zip" in a new folder within the plugins folder.

Overview

In order to use this mod, you're gonna need two things: A spritesheet, and a way to 'register' that spritesheet in-game. A JSON file is the easiest way to do it, but C# is also an available option for those who prefer it.

I will go through each of those options in depth below this.

JSON

Your JSON file's name should end in _anim.json in order for this mod to find it. Yes, this is necessary.

And these are all the fields your JSON file should contain:

{
  "CardName": "Kels_Example",
  "Spritesheet": "Example_Spritesheet.png",
  "FrameRate": 12,
  "FrameCount": 4,
  "HasPause": false,
  "PauseTime": 1
}

The first four fields—CardName, Spritesheet, FrameRate and FrameCount—are required. The last two fields—HasPause and PauseTime—are optional.

I'll give a thorough explanation of each field later down this page.

C

You can use C# to register a spritesheet directly from your mod's code, like this:

RegisterPortrait.Add(CardName: "Kels_Example", Spritesheet: "Example_Spritesheet.png", FrameRate: 12, FrameCount: 4, HasPause: false, PauseTime: 1f);

You should preferably do this inside of Awake().

The first four arguments—CardName, Spritesheet, FrameRate and FrameCount—are required, and the last two arguments—HasPause and PauseTime—are optional, and default to false and 0f, respectively.

Documentation

Card Name

The in-game name of the card your animated portrait will be attached to. Your mod's GUID should be included in the name.

A few important thing to note about cards:

  1. If your card uses an alt portrait for anything, this might break the animation.
  2. Cards with changing portraits, like the Mud Turtle, prooooobably have weird interactions with this mod. I have not tested this. I'm too burnt out to test every possibility.
  3. I have not tested how cards affected by this mod interact with the Mycologist. For this reason, it's heavily advised you set cards with animated portraits as 'one per deck' (like how the base game's talking cards are). I was going to test this, but I'm kinda burnt out and don't have the energy.

The Spritesheet

The most important part of this mod is the spritesheet.

Your spritesheet should follow a few rules:

  1. Each frame should be the size of a traditional Inscryption card portrait: 114 x 94 pixels.
  2. Your spritesheet should preferably be a .png with transparency.
  3. The spritesheet should not have any 'padding' between sprites: This will break how the mod reads them.

This mod doesn't support colorful portraits by default, but it's fully compatible with mods that do add colorful portraits, such as SpecialAPI's ColoredPortraits. You can, thus, use that to make colorful animated portraits—or even just convert random GIFs to card portraits if you want.

A typical spritesheet should look something like this:

Note: I have added the white background just so that this image is visible for users using Dark Mode and/or opening this image on a dark background. Your spritesheet's background should be transparent.

"How do I make a spritesheet?"

For starters: You don't have to put one together by hand! c:

There are many tools you can use to make spritesheets! I'm going to list two of those tools I know.

I use Krita, so the tool I use to make spritesheets is a really neat spritesheet extension called "kritaSpritesheetExporter"! c:

kritaSpritesheetExporter on Github

That Krita extension is what I used to make the example cards you see at the top of this page!

There's also this online tool that lets you turn a sequence of images into a spritesheet:

Описание длинное — здесь его начало. Читать целиком на странице автора

Нужно для работы

В r2modman ставится автоматически

Моды, которым нужен SpritesheetAPI

3 в каталоге

Uber Bots Reactivated — иконка

Uber Bots Reactivated

Adds the Uber-Bots to the game as animated cards with custom effects. ( P03 KCM support and Grimora support)

Редкий5,7 тыс.P03 в Моде Кейси

SteamWorldCards — иконка

SteamWorldCards

This mod adds SteamWorld cards to the game.

Обычный1,9 тыс.Карты

Как установить SpritesheetAPI

Файл скачивается с официального сервера Thunderstore, без перезаливов и сторонних установщиков

Подробная инструкция для Inscryption
  1. Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру Inscryption.
  2. Создайте профиль — так моды не смешаются с чистой версией игры.
  3. Найдите «SpritesheetAPI» во вкладке Online и нажмите Download — BepInEx и все зависимости подтянутся сами.
  4. Нажмите «Start modded» — игра запустится с модами.
  5. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.
Вы автор мода? Поставьте ссылку на русское описание

Вставьте значок в описание на Thunderstore, в README или в Discord — русскоязычные игроки сразу попадут на страницу с переводом и инструкцией.

Описание на русском — Модка
Markdown[![Описание на русском — Модка](https://modka.app/badge.png)](https://modka.app/inscryption/kellybetty-spritesheetapi/)
HTML<a href="https://modka.app/inscryption/kellybetty-spritesheetapi/"><img src="https://modka.app/badge.png" alt="Описание на русском — Модка" height="44"></a>
Steam (BBCode)[url=https://modka.app/inscryption/kellybetty-spritesheetapi/]Описание на русском — Модка[/url]

Частые вопросы о SpritesheetAPI

Как установить SpritesheetAPI?

Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру Inscryption. Создайте профиль — так моды не смешаются с чистой версией игры. Найдите «SpritesheetAPI» во вкладке Online и нажмите Download — BepInEx и все зависимости подтянутся сами. Нажмите «Start modded» — игра запустится с модами. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.

Безопасен ли SpritesheetAPI?

Файл скачивается с официального сервера Thunderstore, куда его загрузил KellyBetty. Мы не перезаливаем и не изменяем моды.

Что нужно для работы SpritesheetAPI?

Установите вместе с ним: BepInExPack Inscryption, API. В менеджере модов зависимости подтягиваются автоматически.

Когда SpritesheetAPI обновлялся последний раз?

17 октября 2022, актуальная версия — 0.1.3. Это больше года назад: перед установкой проверьте, работает ли мод на текущей версии игры.

Похожие моды

Все моды на Inscryption
Nevernameds Bestiary — иконка

Nevernameds Bestiary

A colossal collection of cards spanning all three major acts of Inscryption- with a particular focus on Act 1 / Kaycee's mod- with plenty of Act 2 and 3 love as well.

Эпический23,6 тыс.Акт I

Saxby Fam — иконка

Saxby Fam

Brought to you by the lovely folks in the Saxby Family. Just for shits and giggles. Now with Over 100 Cards [Thanks for over 5000 downloads, Wow thats something, however this will be one of the last updates.]

Эпический17 тыс.Акт I

RevenantMod — иконка

RevenantMod

Grimora Mod Revenant Card Pack. (P03 KCM Support)

Редкий14,9 тыс.Акт I

Raccoon — иконка

Raccoon

Reskins the Raccoon to be a good boi and replaces Leshy with the Scrybe of Raccoons. Also adds a new Starter Deck, a new Item, 1 new Encounter and a new Item. (Compatible with P03 KCM and Grimora Mod)

Редкий5,6 тыс.P03 в Моде Кейси

Tech Robots Mod — иконка

Tech Robots Mod

A cardpack of Technology and Robots [Adds a total of 4 Commons currently] (Compatible with Every Act).

Обычный4 тыс.Акт I

More Cards For P03 — иконка

More Cards For P03

Want more Po3 Cards? This mod adds 10 new robot Cards for P03_In_Kaycees_Mod.

Обычный2,8 тыс.Акт I