Announcement

Collapse
No announcement yet.

Transparancy on buttons ? Doin my head in ..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transparancy on buttons ? Doin my head in ..

    Ok I am using the standard text for buttons...However on one I wanted a rollover effect so the easiest way was just to make a button in the button maker...

    No problem except how do I make the background of the text transparent ?
    I know it can be done because the supplied indigo rose buttons are ...Perhaps its late but I just cant see it :(

    Any help appreciated

  • #2
    Originally posted by cougar View Post
    Ok I am using the standard text for buttons...However on one I wanted a rollover effect so the easiest way was just to make a button in the button maker...

    No problem except how do I make the background of the text transparent ?
    I know it can be done because the supplied indigo rose buttons are ...Perhaps its late but I just cant see it :(

    Any help appreciated
    Witch buttons are you saying do this? and what effect are you after, it might not be as easy then your thought with a button, if you tell use a little more we could help you, but also if your using pngs with transparancy I think they work, been a long time since I have played with the button maker.
    Plugins or Sources MokoX
    BunnyHop 2021 Here

    Comment


    • #3
      You should use a full alpha image as state images and set Hit Threshold to -1

      Try attached button
      Attached Files
      amsplugins.com Is Closed.

      Facebook Page

      Comment


      • #4
        @kingzooly
        @Reteset

        Thanks for the reply's...... Basically im using default text as buttons as shown in the menu pics here...

        http://www.eliteforever.co.uk/collection/preview.html

        However on some I want a rollover effect so when highlighted the text says something different.....The easiest way I could think of is to make a button with the text on so the effect would be normally it would say..." Setup Simulation " ..But when highlighted it would say " Not Required "...Its the transparency behind the text on the button im struggling with.....Im just being fussy really so the game pages look the same....But its my baby at the moment

        Comment


        • #5
          Originally posted by cougar View Post
          @kingzooly
          @Reteset

          Thanks for the reply's...... Basically im using default text as buttons as shown in the menu pics here...

          http://www.eliteforever.co.uk/collection/preview.html

          However on some I want a rollover effect so when highlighted the text says something different.....The easiest way I could think of is to make a button with the text on so the effect would be normally it would say..." Setup Simulation " ..But when highlighted it would say " Not Required "...Its the transparency behind the text on the button im struggling with.....Im just being fussy really so the game pages look the same....But its my baby at the moment
          On Enter of the Lable

          Lable.SetText(this, 'Setup Simulation');

          On Leave

          Lable.SetText(this, 'Not Required');
          Plugins or Sources MokoX
          BunnyHop 2021 Here

          Comment


          • #6
            @Kingzooly

            FANTASTIC !!! ....Perfect !!

            It made sense but I had to work out how to implement it....Like the "Add Action" command to setup the setText etc ( Im a bit of a newbie ) But once I worked out what you meant it worked perfectly...Its EXACTLY what I was after......Thanks so much Kingzooly !!

            Comment


            • #7
              Originally posted by cougar View Post
              Thanks so much Kingzooly !!
              Your very welcome, sometimes the easy options are over looked as AMS can offer so much, I have been using AMS for years now, tho this account is new, I was known as rexzooly back in the hey day and I still to this day fall over the most simple things or forget the most basic.

              I hope you enjoy working in AMS, keep it up and love to see more of your idea, work and so on
              Plugins or Sources MokoX
              BunnyHop 2021 Here

              Comment


              • #8
                Originally posted by kingzooly View Post
                Your very welcome, sometimes the easy options are over looked as AMS can offer so much,
                Funny you should say that ...Ulrich showed me a way to click on a thumbnail pic to make it go to full screen but its quite complex and I have to and add script to every pic and include a big pic and a thumbnail...It works great but....I have to do it to about 50 pics....Don't suppose you have any other "add code to pic" tricks up your sleeve do you ?

                I was looking at using a big " 1440 x 900 pic resized in the menu to a thumbnail...But enlarges when clicked to either a full screen or bigger window.
                A bit like the " Video.SetFullScreen("Video1", true); " command that I did eventually work out

                If I could do that with pics it would be so much easier

                Comment


                • #9
                  You can script this. If you have 50 pictures and want the same action for all of them, you would write a loop to get a first set and show them on the page, have button to the "next page" which actually would just update the image placeholders with the next group, etc. This can be done, but it wasn't clear from your initial sample that this was something you wanted, so I kept it simpler to understand.

                  Ulrich

                  Comment


                  • #10
                    That was the code that Ulrich give you yes there ways to loop through and included it to many images
                    Or you make one image with the code copy and past it and just change the image when you open it in full are you using the windows viewer ? If so there will be a problem on windows 8 by default it uses photo viewer the overlay version.

                    When detailing with objects like the image lets say you want to pull the path the word this as the object name becomes useful.
                    Plugins or Sources MokoX
                    BunnyHop 2021 Here

                    Comment


                    • #11
                      Ok don't Laugh but through messing around I came up with this Gallery Demo.......

                      http://www.eliteforever.co.uk/GALLERYDEMO.apz

                      Although I still like What Ulrich gave me because its Full Screen....this isnt

                      Basically this Demo needs only one image...In fact any widescreen image you browse to will work...The page runs independently every time so you only need clone a page and add new images.
                      Its set for a 800x600 menu but easily editable.... I don't know whether I will use it but it may be handy for someone...Its a crude setup..( Newbie Standard ).. But hey it works

                      Comment


                      • #12
                        Originally posted by cougar View Post
                        Ok don't Laugh but through messing around I came up with this Gallery Demo.......

                        http://www.eliteforever.co.uk/GALLERYDEMO.apz

                        Although I still like What Ulrich gave me because its Full Screen....this isnt

                        Basically this Demo needs only one image...In fact any widescreen image you browse to will work...The page runs independently every time so you only need clone a page and add new images.
                        Its set for a 800x600 menu but easily editable.... I don't know whether I will use it but it may be handy for someone...Its a crude setup..( Newbie Standard ).. But hey it works
                        I have not seen Ulrichs version to get the full screen so I not sure how its done, I am just resetting up how I like AMS as the update just reset it all lol, if I get 5 mins I look at your demo
                        Plugins or Sources MokoX
                        BunnyHop 2021 Here

                        Comment


                        • #13
                          Originally posted by kingzooly View Post
                          I have not seen Ulrichs version to get the full screen so I not sure how its done, I am just resetting up how I like AMS as the update just reset it all lol, if I get 5 mins I look at your demo
                          Ulrich's demo is on this page......

                          http://www.indigorose.com/forums/thr.....And-im-stuck

                          His Demo works perfectly...But I don't understand the scripting etc yet :lol


                          I will hold off the update till tomorrow I think ........ If its given you Grief I could end up crying and chucking stuff !!

                          Comment


                          • #14
                            Originally posted by cougar View Post
                            Ulrich's demo is on this page......

                            http://www.indigorose.com/forums/thr.....And-im-stuck

                            His Demo works perfectly...But I don't understand the scripting etc yet :lol


                            I will hold off the update till tomorrow I think ........ If its given you Grief I could end up crying and chucking stuff !!
                            The update just reset my layout I move things around and have things set up so I can get to them all, I sure it wont take long to put them all back lol
                            Plugins or Sources MokoX
                            BunnyHop 2021 Here

                            Comment

                            Working...
                            X