Giter Club home page Giter Club logo

protemplate's People

Contributors

alchyr avatar badvexon avatar bkerns724 avatar crykosity avatar darkglade1 avatar darkvexon avatar downfalltutorial avatar mistressalison avatar nightbug avatar oceanuwu avatar pandemonium14 avatar queenmaddii avatar tijmenvanderkemp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

protemplate's Issues

Viewing portraits of added card art crashes the game

After adding a cards directory and adding card art for an existing card, the game crashes if you ever try to view the portrait version of the art.

Steps to recreate:

  1. Start with a brand new template - edit all mandatory fields
  2. Add a cards directory in the resources directory
  3. Add card png and a card_p png
  4. Boot up the game and try to view the card in the Compendium

This happens because of the override of getPortraitImage in AbstractEasyCard. It always calls into CardArtRoller.getPortraitTexture, and that method breaks if card art has been provided for the given card. It never gets a chance to call the CustomCard.getPortraitImage method to grab the portrait. I fixed it in a mod I wrote here

I'm unsure if that's the best way to go about fixing it, but I can make a PR if needed.

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.