He's in Czechia.
Anyhow, try PMing/Emailing him.
He's in Czechia.
Anyhow, try PMing/Emailing him.
I would prefer not to pester ppl, if he's around and he has time he'll prolly look at this post othervise, I'm outta luck... It still works in software after all
Hi Speeder,
You say you're having problems with alpha blending destroying the transparency information in some situations.
What colour are you using for the transparency?
When I was experimenting with UnDelphiX for this years competition, I had some similar problems, so I went hunting on google and I came across some information that suggested the best transparency colour to use was pure black.
Certainly I was having all sorts of problems using magenta and lime... when I switched transparency colour to black, the problems went away. Of course, once you've switched to using black, if you want black to appear on your sprites etc you have to use a very very dark gray (I use $101010). Any darker and I was finding the hardware matched it to black and parts that weren't supposed to be transparent became transparent.
Just a thought :-)
:: AthenaOfDelphi :: My Blog :: My Software ::
As you can see in his first post, he seems to use magenta for transparency. I also guess that this is the problem, because when hardware is set to dither images the color information may be corrupted a bit.
And Speeder, you don't pester ppl here. It's a forum! And people are supposed to ask questions and post their problems here
<a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>
I should read more, I know, but its Sunday morning, it was early when I read the thread and I'd been up since 4am watching the Australian GP so I was being lazy
:: AthenaOfDelphi :: My Blog :: My Software ::
Don't try to find excuses! *lol*
Just kidding...
<a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>
Magenta... duhhh... Well, I have uhhm, let's seeeee...
7+20+4+1+4+7+20+3+8+27 Pictures / Animations / Framed pictures as of yet... hhmm... Well, then it'll be software mode for some more time :lol: Thanks for the help tho! (Why on EARTH does it dither 256 colour bitmaps on a 32bit surface?)
Well, I would think finnishing the bosses and writeing the AI and a proper scoring algo WOULD be more important for the game than hardware acceleration to a game that takes at most 10% CPU on my 2GHz Athlon... (And that's the system memory stored background and streaming HE-AAC format music, not my stupidness )
In case you own PhotoShop, its quite easy to change the color of all your images into black using actions.
Record the steps for one image and run them automatically for all other images in a directory.
I'm using Paint Shop Pro, I know using scripts, buuuut... Think this would be a bigger work right now that I would wanna spend on it Future patch maybe!
Bookmarks