Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

It should work, are you sure you matched the color?

But that wouldnt work the best anyway. Becuase what was behind the form would show. You could do it another way. Get the picture box's image to a bitmap object, make it transparent using MakeTransparent() method and then assigning it back to the picturebox or refreshing the picture box.

Posted

yeah, thanks the thing is, im doing this for a tutorial on my site, so first im doing the basics(PictureBoxes then GDI+, and then hopefully, when i learn this, DirectX)

 

for this tutorial, i used PictureBoxes(apparently) <-- the tutorial isnt out yet

 

ill check weather the background is Lime(how can you check witout using Basic Colors such as Black?)

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted
(how can you check witout using Basic Colors such as Black?)

Sorry, I dont get your question. Are you trying to check colors in some drawing program, your program or what?

Posted

oh ok, i meant this:

 

when you edit your bitmap of your sprite in Microsoft Paint, you set a background color of him. and in your code, you say :ThisColor.MakeTransparent. But can you identify "ThisColor" if you choose a background color of a sprite, how can you identify it in "words"..

how can you say, this color is Lime. In paint, you dont paint the "Lime" you paint Bright Green and guess its Lime. Is there anyway you can identify what color it is without guessing?

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted
Paint doesnt have that option, I dont think many programs have it. What you can do it to find a website which lists RGB values for colors and then add a custom color to the Paint's list that in the Colors menu.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...