Profile
Back to NewsBack
GitHub Trending 3 min
Reader Mode
mephitrpg/rpg-cards: RPG spell/item/monster card generator

mephitrpg/rpg-cards: RPG spell/item/monster card generator

14 hours ago

rpg-cards =========

RPG spell/item/monster card generator

Preview =======

Click here for a live preview of this generator.

Documentation =============

Click here to read the documentation.

Forum =====

Click here for project updates or to start a discussion.

Installation and Updating =========================

This project consists almost exclusively of static HTML/CSS/JavaScript files, but it needs to be build at least one time to work.

The build will update /generator/icons folder with content from:

  • The game-icons project.
  • Fonts from the gameicons-font project.
  • And any .png or .svg files you have added to ./resources/custom-icons (you must build the project and refresh the page in the browser in order to use them).
To setup or update this project:

  1. Checkout this GIT repository
  2. Make sure you have Node.js installed. The Node installation usually bundles the npm command-line interface. We strongly recommend using a Node version manager like nvm to install Node.js and npm.
  3. Open the Terminal (or Command Prompt for Windows)
  4. Go to the repository folder
  5. Run npm install
To build this project:
  • Run npm run build
To lanunch the generator locally on your browser:
  • Run npm start to run the local HTTP server, then open one of the indicated URLs (e.g. http://localhost:8080) in your browser. Please use localhost instead of other aliases, since it is treated as a secure context. This enables access to more advanced JavaScript features.
To deply the generator into a website:
  • Deploy the content of the ./generator folder to your server (i.e. using an FTP client)
Support =======

Robert, the original author, is no longer maintaining the project. It is now maintained by jure in his spare time, so updates may be infrequent. Replies to questions, requests, and bug reports may also take some time.

Cloud integration =================

The hosted generator can support Dropbox without using a shared Dropbox app. Each user can create and configure their own Dropbox app, then connect it from the generator. This keeps each user's Dropbox authorization separate.

FAQ =====================

  • What browsers are supported?
- A modern browser (Chrome, Edge, Safari). - IE and Firefox are not supported (Firefox due to privacy concerns).
  • Cards are generated without icons and background colors, what's wrong?
- Enable printing backround images in your browser print dialog
  • The layout of the cards is broken (e.g., cards are placed outside the page), what's wrong?
- Check your page size, card size, and cards/page settings. If you ask the generator to place 4x4 poker-sized cards on a A4 paper, they won't fit and they will overflow the page.

License =======

This generator is provided under the terms of the MIT License.

Icons are made by various artists, available at http://game-icons.net. They are provided under the terms of the Creative Commons 3.0 BY license.

Chat with me