foil cards in forge?
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
51 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: foil cards in forge?
by Rob Cashwalker » 28 Jun 2011, 13:50
Skip the Text in that watermark, and use your forge set icon. BTW, I'm using that icon as the favicon.ico for cardforge.org.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by Rob Cashwalker » 28 Jun 2011, 13:51
The code that overlays the mana symbols is about the best place I can think of to put it..DennisBergkamp wrote:Yeah, these look great! I never liked foil cards either, but these are actually pretty cool![]()
Anyone know how to apply these on top of the cards in-game? It might be necessary to create a new (Card)Panel per foil card, and place them directly on top of the card...
edit - a quick test shows that it works, the transparency works. Now, I just need to get the dynamic dimensions correct...
Oh, and figure out how to enforce and persist foil cards.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by moomarc » 28 Jun 2011, 14:23
I went onto cardforge.org for the first time this morning and saw the icon being used there. Made me all warm and fuzzy inside.Rob Cashwalker wrote:Skip the Text in that watermark, and use your forge set icon. BTW, I'm using that icon as the favicon.ico for cardforge.org.


I tried to place the icon so its over the textbox of most sets as well as tokens with textboxes.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: foil cards in forge?
by Rob Cashwalker » 28 Jun 2011, 15:15
Here's the screenshot of my quick test of programatic foiling (all cards though)
And another now, using the HQ with icon:
I have to stretch (or shrink) the overlay across the card anyway, so it doesn't matter what the original size is - HQ or LQ... it's better to just use the HQ.
Also notice how the effect goes to the edge of the border.. Still have to figure that one out.
To be honest, as cool as having our icon as a watermark is, it's not very visible, and it interferes with real watermarks.
It might also be nice to have a few different foil patterns available, and the code can randomly assign the pattern, so it looks a little more natural.
And another now, using the HQ with icon:
I have to stretch (or shrink) the overlay across the card anyway, so it doesn't matter what the original size is - HQ or LQ... it's better to just use the HQ.
Also notice how the effect goes to the edge of the border.. Still have to figure that one out.
To be honest, as cool as having our icon as a watermark is, it's not very visible, and it interferes with real watermarks.
It might also be nice to have a few different foil patterns available, and the code can randomly assign the pattern, so it looks a little more natural.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by Chris H. » 28 Jun 2011, 15:31
Great work guys. Awesome. The icon as a watermark is an interesting choice. Looks good.
Oh, and I visited the http://cardforge.org/index.php and was awed by the work that Rob has done.
Oh, and I visited the http://cardforge.org/index.php and was awed by the work that Rob has done.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: foil cards in forge?
by moomarc » 29 Jun 2011, 06:22
I'll try create some alternates today. Looking at it I think I will have to increase the transparency of the foils a bit. Its a little too overpowering with a full set even with alternates. I'll just do plain overlay's for now, then create an alternate set with the forge watermark afterwards. These are quick enough to do between my other work at the moment (I promise to get back to the pets when I have more than 20 minutes at a time availableRob Cashwalker wrote:Here's the screenshot of my quick test of programatic foiling (all cards though)
I have to stretch (or shrink) the overlay across the card anyway, so it doesn't matter what the original size is - HQ or LQ... it's better to just use the HQ.
Also notice how the effect goes to the edge of the border.. Still have to figure that one out.
To be honest, as cool as having our icon as a watermark is, it's not very visible, and it interferes with real watermarks.
It might also be nice to have a few different foil patterns available, and the code can randomly assign the pattern, so it looks a little more natural.

EDIT: Done... Download Plain Foiling Variations (MediaFire 2,87 MB)I only dropped the opacity by 10% because it starts looking a bit washed out after that. If there were other blending modes it would be great but we'll have to make do with this. I just made even more variations to help balance it and ensure that as few cards as possible get the same effect if next to each other. I think 10 should suffice

-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: foil cards in forge?
by Rob Cashwalker » 29 Jun 2011, 13:55
They look cool. Lemme see how quickly I can make up a screen with the effect applied to cards...
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by moomarc » 29 Jun 2011, 14:01
I'm excited to see how it turns out.Rob Cashwalker wrote:They look cool. Lemme see how quickly I can make up a screen with the effect applied to cards...

-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: foil cards in forge?
by Rob Cashwalker » 29 Jun 2011, 20:08
Again, I still have every card being foiled by default, but a random foil is assigned during load time.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by moomarc » 29 Jun 2011, 20:52
I like it!
Definitely less of an eyesore with the different foils. I think its should be perfect for those that want it. And Forge doesn't even need to track which foil is applied to a card when first generated. In fact if it changed everytime the card changed zones or becomes tapped (or moved in any way really) it would actually be more realistic if the foil changed.
What are the thoughts on implementation? Will there be an option to apply to all cards (as in your tests)for users like randallross420? Or do you only plan to use them as occasional reward cards (or something similar)? I guess in the quest data a 'foil' tag could be appended to the necessary cards.

Definitely less of an eyesore with the different foils. I think its should be perfect for those that want it. And Forge doesn't even need to track which foil is applied to a card when first generated. In fact if it changed everytime the card changed zones or becomes tapped (or moved in any way really) it would actually be more realistic if the foil changed.
What are the thoughts on implementation? Will there be an option to apply to all cards (as in your tests)for users like randallross420? Or do you only plan to use them as occasional reward cards (or something similar)? I guess in the quest data a 'foil' tag could be appended to the necessary cards.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: foil cards in forge?
by Rob Cashwalker » 30 Jun 2011, 00:13
I'll see what I can do about that... make some options somewhere... foil all, 1 in 6 randomly assign one of the 10 or no foiling at all.
The ultimate will be if foil data could be persisted in a way that doesn't allow the user to cheat it, so that foils could be used as rewards in quest mode.
The ultimate will be if foil data could be persisted in a way that doesn't allow the user to cheat it, so that foils could be used as rewards in quest mode.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by DennisBergkamp » 01 Jul 2011, 04:27
Awesome stuff! I didn't think the transparency would work, but I guess it makes sense that it does
Storing a foil card should be easy, Rob don't you save set info in decks with the "|{setAbbreviation}" after the card name? Something similar could be done for foil cards.

Storing a foil card should be easy, Rob don't you save set info in decks with the "|{setAbbreviation}" after the card name? Something similar could be done for foil cards.
-
DennisBergkamp - AI Programmer
- Posts: 2602
- Joined: 09 Sep 2008, 15:46
- Has thanked: 0 time
- Been thanked: 0 time
Re: foil cards in forge?
by moomarc » 01 Jul 2011, 05:37
With regards to the transparency, when I was creating the overlays I just made sure not to use any color blending modes. That way I was sure that it would look as expected as long as 24bit transparency was supported. Then Rob just had to press the "make Magic foil" button on his keyboard (we all know that's how it actually worksDennisBergkamp wrote:Awesome stuff! I didn't think the transparency would work, but I guess it makes sense that it does![]()


I think it would be a great idea. That way people could foil specific cards in their constructed decks, but would still have to win them in quest mode (unless they have the know-how to edit their quest decks).Storing a foil card should be easy, Rob don't you save set info in decks with the "|{setAbbreviation}" after the card name? Something similar could be done for foil cards.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: foil cards in forge?
by Rob Cashwalker » 01 Jul 2011, 13:20
Quest mode data is at least sorta protected by gZip..
If I enable it for constructed mode, then it would be listed after the set code...
If I enable it for constructed mode, then it would be listed after the set code...
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: foil cards in forge?
by Rob Cashwalker » 05 Jul 2011, 20:55
I just added a random foil assignment option for constructed mode. 1:6 cards will be assigned a random foil pattern.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
51 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 37 guests