Coder Social home page Coder Social logo

davespringer / infinitycardgenerator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 398 KB

The Infinity Card Generator is intended to be a simple web page that will assist players of the Infinity miniatures game by Corvus Belli in creating cards for their units.

CSS 17.32% HTML 56.28% JavaScript 26.39%

infinitycardgenerator's Introduction

InfinityCardGenerator

The Infinity Card Generator is intended to be a simple web page that will assist players of the Infinity miniatures game by Corvus Belli in creating cards for their units. Here is an example of a few generated, printed, and used cards:



The Card Generator is currently in its infancy, and is barely usable. However, here is a basic tutorial of how to use it:

  1. First, create a picture of the miniature you wish to feature in the card. For best results, this picture should have the aspect ratio of 8 wide by 9 tall. The resulting image will be about an inch tall, so if you are printing at 300 dpi, a recommended resolution would be 266 by 300. You will then need to upload the picture to an image hosting site such as Imgur, Wordpress, or even Google Photo.
  2. Now the fun begins! Start entering information about your unit. You'll probably want to pull up the Infinity Army Builder for the stats.
  3. Also, the odds are pretty good that your unit's weapons, skills, and equipment are not available for selection. There is a lot of that stuff in Infinity, and I'm working on it.
  4. When you're ready to save your progress, you'll need to do this by hand for now. Instead of saving it to a spiffy backend, you will need to manage it yourself. When you are ready to save, click the Save To PC button. This should trigger a download with a name of "your unit.json". For example, "William Wallace.json".
  5. When you're happy with how the card looks, it's time to print! This is the part that may only work on Chrome unfortunately. When you go to print, it will use some fancy parameters from the CSS to hide everything except your card.
  6. If you wish to print multiple cards at a time, then click on the "Go To Multi-Printer" link at the top. Then, open each .json file you have previously saved. Copy and paste the json contents into each of the areas you wish the card to appear in. You should be able to print these cards in a single, two-sided page. However, if you do sleeve the cards, then you can simply put the two cards together.
  7. Lastly, let's sleeve your card. The output is intended to fit inside a 80mm x 120mm sleeve. You may have to do some fidgeting to get it to work unfortunately, but I know that it works in Chrome on Windows and Ubuntu. Firefox on Windows and Ubuntu has some CSS issues, but prints out okay as well.

Here are some coming features of the product (in an unprioritized order):

  • More skills, weapons, and equipment to select from.
  • More units to populate from.
  • Custom theme generation.
  • Easier management of your unit through a sharable (though complicated) string.
  • More thorough help presented throughout the actual page.

And here are some things that unfortunately are a long way off:

  • Backend persistence. In other words, you'll need to keep storing things by hand.
  • Multi-language support. Truly sorry about this one, but this project is equal parts a tool intended for the community and selfish hobby development. I hope to make it localized some day, but that will take time. Shoot, I don't even know what the popular localization strategies for AngularJS are!

Infinity is ©2016 Corvus Belli S.L.L. Images, logos, ideas belong to them. Their content is currently used permission and may be taken down at their request. You can visit their site here for more information on Infinity.

infinitycardgenerator's People

Contributors

davespringer avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.