Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Re: How do you make a custom button?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Amodeus




PostPosted: Mon Oct 22, 2007 7:01 pm   Post subject: Re: How do you make a custom button?

Hey guys,

First off thanks for all the help you've been giving me. Secondly, how do you make custom buttons instead of using the ones that are default with turing. Basically, making an image re-route you elsewhere.

Another thing...

I don't want to flood your board, so I figured I'll ask here...is there a way to make backgrounds removed in images in Turing?


Thanks!
Sponsor
Sponsor
Sponsor
sponsor
HeavenAgain




PostPosted: Mon Oct 22, 2007 7:11 pm   Post subject: RE:Re: How do you make a custom button?

i dont think there is any way to make a "custom buttons" instead of using the ones that turing have, BUT you can always import a button which you want to use as an image.

and i dont get what you mean by "is there a way to make backgrounds removed in images in Turing? "
like you already have a background and you want to change it to another background?
Clayton




PostPosted: Mon Oct 22, 2007 7:40 pm   Post subject: RE:Re: How do you make a custom button?

Of course there's a way to make your own custom buttons.... just look through [Turing Submissions] for a couple of examples, including one of my own that I know is in there.
Nick




PostPosted: Mon Oct 22, 2007 8:02 pm   Post subject: RE:Re: How do you make a custom button?

as for getting rid of a background picMerge will delete any white pixels thus making the white background of an image dissapear when u draw it onto the screen as for pictures without white backgrounds there are 2 ways

1. images with a monocolor background: look up Pic.SetTransparent

2. go to paint and manulaly turn pixels white... sorry
Mazer




PostPosted: Mon Oct 22, 2007 8:24 pm   Post subject: RE:Re: How do you make a custom button?

An important thing to consider which MOMOP didn't mention is that if you are trying to use a JPG image you are basically fucked.

Images compressed with the JPG algorithm produce artifacts. What looks white to you may actually have hundreds of pixels that are just a bit off white which is useless with picMerge.
Nick




PostPosted: Mon Oct 22, 2007 8:42 pm   Post subject: RE:Re: How do you make a custom button?

what MAZER didnt mention is that usually only happens when u convert images to jpg using paint
rdrake




PostPosted: Mon Oct 22, 2007 8:55 pm   Post subject: Re: RE:Re: How do you make a custom button?

momop @ Mon Oct 22, 2007 8:42 pm wrote:
what MAZER didnt mention is that usually only happens when u convert images to jpg using paint
Actually he's correct. Just because a pixel looks white in JPEG doesn't make it white.
Mazer




PostPosted: Mon Oct 22, 2007 9:31 pm   Post subject: Re: RE:Re: How do you make a custom button?

momop @ Mon Oct 22, 2007 8:42 pm wrote:
what MAZER didnt mention is that usually only happens when u convert images to jpg using paint

It'll happen no matter what you use. JPEG is a lossy format. It isn't meant for things like games.
Sponsor
Sponsor
Sponsor
sponsor
HeavenAgain




PostPosted: Mon Oct 22, 2007 9:52 pm   Post subject: Re: How do you make a custom button?

that is a customized button? Confused
then yes, you could draw some box with mouse events Neutral i thought it would be more fancy.....
rdrake




PostPosted: Mon Oct 22, 2007 10:17 pm   Post subject: RE:Re: How do you make a custom button?

If all you want is a prettier GUI, check out this.
Clayton




PostPosted: Tue Oct 23, 2007 8:54 am   Post subject: Re: How do you make a custom button?

HeavenAgain @ Mon Oct 22, 2007 9:52 pm wrote:
that is a customized button? Confused
then yes, you could draw some box with mouse events Neutral i thought it would be more fancy.....


of course that's a custom button, anything that you create yourself is custom. It's suited to your needs. You could take my code, and re-work it to use images instead (of course, if I felt up to it, so could I... Wink) Not everything is going to be handed to you on a silver platter.

Note: momop, you don't need to say Mazer's name as MAZER every time you type it out. It's quite annoying in fact...
Nick




PostPosted: Tue Oct 23, 2007 11:26 am   Post subject: RE:Re: How do you make a custom button?

well i always saw JERKFACE and it played a trick on my eye and i thought it actually was MAZER
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: