It is currently 27 Aug 2025, 17:07
   
Text Size

foil cards in forge?

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: foil cards in forge?

Postby 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.
User avatar
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?

Postby Rob Cashwalker » 28 Jun 2011, 13:51

DennisBergkamp wrote:Yeah, these look great! I never liked foil cards either, but these are actually pretty cool :mrgreen:

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...
The code that overlays the mana symbols is about the best place I can think of to put it..

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.
User avatar
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?

Postby moomarc » 28 Jun 2011, 14:23

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 went onto cardforge.org for the first time this morning and saw the icon being used there. Made me all warm and fuzzy inside. :mrgreen: Anyway, I think the icon as watermark is a great alternate to the text, so without further ado... revision 3 =D>

I tried to place the icon so its over the textbox of most sets as well as tokens with textboxes.
Attachments
HQ-foiling-card.png
HQ foil overlay
LQ-foiling-card.png
LQ foil overlay
Foiled-HQ.jpg
Sample foiled HQ
-Marc
User avatar
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?

Postby Rob Cashwalker » 28 Jun 2011, 15:15

Here's the screenshot of my quick test of programatic foiling (all cards though)
foiledForgeScreenShot.jpg


And another now, using the HQ with icon:
foiledForgeScreenShot2.jpg


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.
User avatar
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?

Postby 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. :D
User avatar
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?

Postby moomarc » 29 Jun 2011, 06:22

Rob 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.
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 available :oops: )

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 :mrgreen:
-Marc
User avatar
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?

Postby 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.
User avatar
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?

Postby moomarc » 29 Jun 2011, 14:01

Rob Cashwalker wrote:They look cool. Lemme see how quickly I can make up a screen with the effect applied to cards...
I'm excited to see how it turns out. =D>
-Marc
User avatar
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?

Postby 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.
foiledForgeScreenShot3.jpg
The Force will be with you, Always.
User avatar
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?

Postby moomarc » 29 Jun 2011, 20:52

I like it! =D>

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
User avatar
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?

Postby 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 Force will be with you, Always.
User avatar
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?

Postby 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 :mrgreen:

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.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: foil cards in forge?

Postby moomarc » 01 Jul 2011, 05:37

DennisBergkamp wrote:Awesome stuff! I didn't think the transparency would work, but I guess it makes sense that it does :mrgreen:
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 works :wink: ) and voila! =D>

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.
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).
-Marc
User avatar
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?

Postby 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...
The Force will be with you, Always.
User avatar
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?

Postby 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.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

PreviousNext

Return to Forge

Who is online

Users browsing this forum: No registered users and 43 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 43 users online :: 0 registered, 0 hidden and 43 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 43 guests

Login Form