Git Product home page Git Product logo

sunwell's People

Contributors

andburn avatar azeier avatar beheh avatar jleclanche avatar joolean avatar lett1 avatar martinbonnin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sunwell's Issues

Non-latin fonts are incorrect

Hello! Thank you for a wonderful script!
Very cool thing, though - thank you!

  1. This version of the script is not working (24 Dec 2016)
  2. Russian fonts look horrible on http://hearthstonelabs.com/sunwell. (Maybe use BenguiatBoldITC and FranklinGothicURWConMed?)
  3. How can I render a large number of cards on one page? (Do not write the text by hand?)

Fix overflowing lines with manual linbreaks

Card descriptions with manual linebreak (starting with [x]) tend to overflow the body.

We should be rendering them and then check whether they exceed the body. If they do, either resize the sprite or just rerender with a slightly smaller font size until they are contained.

Highlighting

Do you think there is way to get realtime highlighting when rendering the cards?

I have something like that in mind (ie for query 'ta')

image

Directly set mana/atk/health color

We'd like to directly be able to set the mana/attack/health colors (negative/positive/neutral = red/green/white) without having to rely on the internal (stateful) mechanism. The main motivation is using this in Joust, where the colors can be deduced by the default card values and other tags, such as health/max_health.

As an example, it's currently not easy to set the health on a minion effected by equality - it's health might be lower than it's default health, but it should be white since the current health is equal to the max health. Compare this to a minion though that has been noramlly attacked, and has it's current health set to one - it should be red.

Implement HIDE_STATS

The medivh brawl implemented HIDE_STATS which does the following:

  • Hides health and attack from the minion token on the board
  • Hides health and attack from the card render
  • Does not render text for the mana gem.

Sunwell should have a way to do the latter two.

Korean font we are using looks bad

This is a story for changing the font and size we are using for our Korean translations on the cards and the Twitch Extension. We have a customer support ticket opened here of a new user giving feedback on how hard it is to read the font:

https://app.intercom.io/a/apps/lhrr2hfa/inbox/inbox/all/conversations/17911380051

Also here is a screenshot of what a card looks like on the site in Korean right now:

https://s3.amazonaws.com/art.hearthstonejson.com/v1/render/latest/koKR/512x/AT_001.png

Clipping ellipse on spell cards

Failed Clipping

The area used to clip normal minion card images will sometimes persist into spell cards, causing the grey area above. Happens in both chrome and safari on osx.

Weapon rarity gem is incorrect

image

There's some visible cut happening there. The asset itself looks kinda weird, should probably just get the one from ingame.

Add a prettier default texture

With support for arbitrary cards nearly complete, we're still missing a better looking default texture.

image

I figure we might as well add this in Sunwell itself, but we'd need the texture to be the same license as Sunwell (or even more permissive).
Anyone wants to take a crack at it? @andburn feeling inspired? :)

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.