Jump to content

Recommended Posts

Posted (edited)

Hello I'm tring to build a backgammon GUI,

I load the table image, and then I try to load the pieces images, But the parts images are square..

Any advice?

You can see in the image I uploaded what is the problem

post-35491-12697060395104_thumb.jpg

post-35491-12697060870527_thumb.jpg

Edited by oren
Posted

I think I need to see some code in order to figure out the problem. Is the parts image round? What format is the image in? You are using guictrlcreatepic? Yashied has done some good work on this kind of stuff. I've also been successful with this kind of stuff as well using GDI+.

Look forward to seeing some of your code.

Picea

Posted

i think i've had your problem.

when you don't want to see the corners of the square use png-files

and delete with e.g. PaintNet(www.getpaint.net) the color at the corners totally (white and grey sqares)

i hope that helps you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...