It is currently 25 Apr 2024, 07:11
   
Text Size

Korath's Drawcardlib - Nail in the coffin of naff cardart

Continuing Development of MicroProse's Magic: The Gathering!

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 19 Jul 2013, 21:38

Apologies all round. With any luck, spelling errors and duff font fixed. Downloaded and tested. 8-[ [-o<

As before - http://www.mediafire.com/download/xcxoa ... atesV4.zip

Actually stassy, even without the font the templates themselves don't look too bad in that 1921x1051 widescreen pic you posted. I think I'd have to upsize them a fair amount to get much improvement. And the text, pic and mana symbol alignment looks OK - better than 1280x1024 in fact. :D
Last edited by Sonic on 19 Jul 2013, 23:21, edited 2 times in total.
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby gmzombie » 19 Jul 2013, 22:08

yup that did it!! 1360x768 res widescreen 40" lcd monitor
Attachments
screenshot.5.jpg
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 19 Jul 2013, 22:25

gmzombie wrote:yup that did it!! 1360x768 res widescreen 40" lcd monitor
Why is your small card text black - have you altered the text color in duel.dat file?
I tried it originally but I couldn't get it to work properly in the duel game screen. It made the text highlighting (Yellow/Orange) very hard to see without the black drop shadow and the shadow made the text too chunky to read easily when the main font was black.

The rest looks OK now though. :)
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby gmzombie » 20 Jul 2013, 00:36

Yes I modified that. I also made the yellow blue and no shadow. Ill show u a piclater. I was sick of yellow lol.
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Korath » 20 Jul 2013, 01:43

In theory, you can make the dropshadow only show up for activateable cards:
shadows.jpg

In practice, it doesn't work so well; the exe redraws only the title when activateability changes, so the shadow stays in place when a card becomes unactivateable.

Since the title redraw goes through drawcardlib too, in theory we could redraw the top of the smallcard frame first. In practice, that would overwrite the mana stripes, damage dagger, and damage numeral, and the summoning sickness and dying images if they're large enough to overlap the card top.

Alternately, I'm getting reasonable results by turning off [fonts]boldSmallCardTitle and adjusting the drop shadow depth so it's just one pixel from the text:
shadows2.jpg
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 20 Jul 2013, 01:58

gmzombie wrote:Yes I modified that. I also made the yellow blue and no shadow. Ill show u a piclater. I was sick of yellow lol.
Ah, right. Have to admit I didn't try changing the highlighting colors.
Although, having the ability to make the text drop shadow look more subtle has done wonders to make the game look... Er, dare I say - less dated. :)
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 20 Jul 2013, 02:25

Korath wrote:In theory, you can make the dropshadow only show up for activateable cards:
shadows.jpg

In practice, it doesn't work so well; the exe redraws only the title when activateability changes, so the shadow stays in place when a card becomes unactivateable.

Since the title redraw goes through drawcardlib too, in theory we could redraw the top of the smallcard frame first. In practice, that would overwrite the mana stripes, damage dagger, and damage numeral, and the summoning sickness and dying images if they're large enough to overlap the card top.

Alternately, I'm getting reasonable results by turning off [fonts]boldSmallCardTitle and adjusting the drop shadow depth so it's just one pixel from the text:
shadows2.jpg
Are you sure a single pixel offset will it work at lower resolutions - I had trouble getting reliable results with the small card shadow X/Y offset below 6 at 1280x1024. :(

Edit: Forget the single pixel shadow offset - that's a minor niggle compared to what the 'MPZurich Cn BT' small card font actually looks like at low res with the 'bold' parameter switched off. :vom: :lol:
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Korath » 20 Jul 2013, 03:53

A pixel is a pixel is a pixel. It would have to be tweaked by the end user, though, since the number of logical units per pixel changes with resolution, and between the deckbuilder and actual game. (Smallcards are always 800x1120 logical units. At 1920x1080, they're 219x219 pixels in the deckbuilder, and 240x240 in-game. 3x4 logical units displayed as 1x1 pixels for me in both.)
Last edited by Korath on 20 Jul 2013, 06:43, edited 1 time in total.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby stassy » 20 Jul 2013, 04:35

Tester gonna test, huh?

laptop 1024x768 on 4:3 lcd 15" screen :D
Image
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby gmzombie » 20 Jul 2013, 16:00

it always amazed me that when you got a bigger resolution you would get bigger cards..usually with a normal api you should get smaller items on screen. its like the auto scale is over compensating for this.

also here is my pic of what i did
Attachments
screenshot.7.jpg
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 20 Jul 2013, 16:38

gmzombie wrote:it always amazed me that when you got a bigger resolution you would get bigger cards..usually with a normal api you should get smaller items on screen. its like the auto scale is over compensating for this.

also here is my pic of what i did
Probably because the magic.exe is still running on a graphics engine dating back to the most common resolution being a jaw dropping 800x600. :wink:

Not sure the non-shadowed blue highlighting works, though. Griselbrand is a bit of a bugger to read against the black cards text banner without a contrasting drop shadow.
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby gmzombie » 20 Jul 2013, 17:09

Yea I remember those times..lol. I do see now what u mean with grisselbrand..maybe ill have to have the shadow again. I was just do sick of yellow. Yellows been there since 95 so it was time for a change
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Sonic » 21 Jul 2013, 05:54

Are we impressed?

Image

:shock:

Find out for yourself: viewtopic.php?f=56&t=11099&p=126305#p126305
Working On: Life, the Universe, and Everything.
User avatar
Sonic
Apprentice
 
Posts: 827
Joined: 27 Feb 2010, 00:37
Has thanked: 3 times
Been thanked: 161 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Aswan jaguar » 21 Jul 2013, 06:19

Wonderful the word!joy the feeling!
bye bye Gold.....eeeee for all =D>
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times

Re: Korath's Drawcardlib - Nail in the coffin of naff cardar

Postby Hib » 21 Jul 2013, 08:05

Now it works. But how can I get rid of the expansion symbols?
Attachments
Manalink 1600 x 900 V2.png
Hib
 
Posts: 35
Joined: 16 Mar 2013, 16:07
Has thanked: 1 time
Been thanked: 1 time

PreviousNext

Return to ManaLink 3.0

Who is online

Users browsing this forum: No registered users and 27 guests


Who is online

In total there are 27 users online :: 0 registered, 0 hidden and 27 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 27 guests

Login Form