-
Notifications
You must be signed in to change notification settings - Fork 1
How to Add a Card to the Game
DuncanSzabaga edited this page Nov 17, 2025
·
1 revision
- Go to the folder and the right click to create a sprite, import a picture to the sprite.
- Resizing is required to match with the card format, so it won't overlap with other elements.
- 200 × 276 pixels is the ideal size for now.
- Open the sprite in the Image Editor.
- In the top menu, click Image → Resize All Frames.
- Set the image size to 200 × 276 pixels.
- If the editor keeps the ratio automatically, uncheck Maintain Aspect Ratio.
- Then click Apply.
- Each card’s
art_idmust be linked to its corresponding sprite so the game knows which image to display.
Follow the format below when adding your new mapping.
- Launch the game.
- Go to "Card Encyclopedia" and find your card.
✅ You’re done!
Your new card is now added to the database, properly linked with its artwork, and ready to be used in-game.
Wiki
User Stories
Design
Requirements
Architecture
Considerations & Issues
Documentation
- How to Add a Card to the Game
- How the Music Controller & Script work
- Card Paging & Search System (CardManager)
- How to Spawn Cards in a Room
- How the Chessboard works
- How to Add a New Board Color
- How to use Alert System
- Chess Logic
- Cheat Mode
- Timer
- How the new card system works
- How the NEW Chessboard works
{ "id": "1", // Unique ID for the card **make sure to not add an existing ID "name": "Spectral Leap", // Display name of the card "type": "movement", // Card category (e.g. movement, attack, passive) "piece_restriction": "Knight", // Which chess piece can use it (Pawn, Queen, King, Rook, Bishop, All) "description": "The Knight may phase through enemy pieces when moving.", // Text shown in game "art_id": "spectral_leap", // ID for the artwork asset "effect": { // Special behavior or parameters. // If you're unsure about it, leave it empty like "effect": {} "phase_through_enemies": true, "cooldown_turns": 3 } }