Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 42

Thread: Need help with DrawAlpha

  1. #11

    Need help with DrawAlpha

    He's in Czechia.

    Anyhow, try PMing/Emailing him.

  2. #12

    Need help with DrawAlpha

    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

  3. #13
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2

    Need help with DrawAlpha

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

  4. #14

    Need help with DrawAlpha

    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&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  5. #15
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,245
    Blog Entries
    2

    Need help with DrawAlpha

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

  6. #16

    Need help with DrawAlpha

    Don't try to find excuses! *lol*

    Just kidding...
    <a href="http://www.greatgamesexperiment.com/game/Valgard/?utm_source=gge&amp;utm_medium=badge_game"><img border="0" alt="GGE" title="GGE" src="http://static.greatgamesexperiment.com/badge/game/valgard/gge400x56.png"></a>

  7. #17

    Need help with DrawAlpha

    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?)

  8. #18

    Need help with DrawAlpha

    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 )

  9. #19

    Need help with DrawAlpha

    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.

  10. #20

    Need help with DrawAlpha

    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!

Page 2 of 5 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •