Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pakastin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
pakastin
11y ago
I don't know anything about Magic the Gathering, but I will make the API better and the faces more customizable.
32.
▲
by
pakastin
11y ago
My MacBook Pro is even older - 3 years is not that much.. But thanks! :)
33.
▲
by
pakastin
11y ago
I will add more power to the API..
34.
▲
by
pakastin
11y ago
I will change it so that z-index is only temporary and when cards are stopped it will reorder them in the DOM.
35.
▲
by
pakastin
11y ago
Yes, have to add that!
36.
▲
by
pakastin
11y ago
Wow, those look really nice!
37.
▲
by
pakastin
11y ago
Flash version had some of those: http://pakastin.fi/cards_2006 I used 52-framed movieClip as a card, where frames were values. And then every suit graphic was one movieClip as well with 4 frames: spade, heart, club and diam
38.
▲
by
pakastin
11y ago
I know the feeling..
39.
▲
by
pakastin
11y ago
Actually there was in the first version of this: http://pakastin.fi/cards_2006 (made with Flash) Press "Räjäytä" (means "explode" in Finnish) ;)
40.
▲
by
pakastin
11y ago
Go for it! ;)
41.
▲
by
pakastin
11y ago
I think I'll stick with good old elements :) Thanks anyway, and I really appreciate true CSS ::-wizards, don't get me wrong.. ;)
42.
▲
by
pakastin
11y ago
I agree. Some people rant about me using "value | 0" instead of "Math.floor(value)" and another would do "::before {content: attr(data-value..." -stuff instead of just using a good old elements.. Go figure :)
43.
▲
by
pakastin
11y ago
I will add flipping ;) Only thing about is that it easily looks like crap. I mean if you don't curl & flip the card looks too solid..but I'll check it out.
44.
▲
by
pakastin
11y ago
Thanks, that's great source!
45.
▲
by
pakastin
11y ago
I used HTML5 just because the original version was made with Flash back in 2006 ( http://pakastin.fi/cards_2006 ). Then I made a Angular.js version, which is lost, but was featured on Chrome Experiments. This is actually HTML
46.
▲
by
pakastin
11y ago
I suck at pseudo-elements – that's why.. :)
47.
▲
by
pakastin
11y ago
<!DOCTYPE html> – that's about it :D
48.
▲
by
pakastin
11y ago
Font should be Open Sans.. I have Chrome/Mac and it's working :/
49.
▲
by
pakastin
11y ago
I think "value | 0" is basically same as "Math.floor(value)"