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
by Sonic » 19 Jul 2013, 21:38
Apologies all round. With any luck, spelling errors and duff font fixed. Downloaded and tested.
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.
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.
Last edited by Sonic on 19 Jul 2013, 23:21, edited 2 times in total.
Working On: Life, the Universe, and Everything.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by gmzombie » 19 Jul 2013, 22:08
yup that did it!! 1360x768 res widescreen 40" lcd monitor
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.
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
by Sonic » 19 Jul 2013, 22:25
Why is your small card text black - have you altered the text color in duel.dat file?gmzombie wrote:yup that did it!! 1360x768 res widescreen 40" lcd monitor
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.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by 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.
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
by Korath » 20 Jul 2013, 01:43
In theory, you can make the dropshadow only show up for activateable cards:
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:
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:
-
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
by Sonic » 20 Jul 2013, 01:58
Ah, right. Have to admit I didn't try changing the highlighting colors.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.
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.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by Sonic » 20 Jul 2013, 02:25
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.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
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.
Working On: Life, the Universe, and Everything.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by 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.
-
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
by 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
also here is my pic of what i did
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.
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
by Sonic » 20 Jul 2013, 16:38
Probably because the magic.exe is still running on a graphics engine dating back to the most common resolution being a jaw dropping 800x600.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
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.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by 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.
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
by Sonic » 21 Jul 2013, 05:54
Working On: Life, the Universe, and Everything.
Re: Korath's Drawcardlib - Nail in the coffin of naff cardar
by Aswan jaguar » 21 Jul 2013, 06:19
Wonderful the word!joy the feeling!
bye bye Gold.....eeeee for all
bye bye Gold.....eeeee for all
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8078
- Joined: 13 May 2010, 12:17
- Has thanked: 730 times
- Been thanked: 458 times
45 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 27 guests