View unanswered posts | View active topics
| Author |
Message |
|
fiero
|
Post subject: Re: Is it possible to overlay a logo on bottom of the screen? Posted: Wed May 26, 2010 11:30 pm |
|
 |
| I only was walking somewhere... |
 |
Joined: Tue Aug 09, 2005 1:55 am Posts: 2007
|
If you do not want to resize your image to cover 100% of screen, you can use a background image (with defined color) and place your imege over this background with orignal size. Then, if the two images has the same name, you can hide then with same timer instruction. Example: Code: image= imgini, 1, 0, 0, 100%, 100%, #99, 100, block, #FFFFFF; image= imgini, 1, 0, 0, 0, 0, #99, 100, block, imageINI; settimer=timer2,1,6.0,"Fade('','imgini',0,2.0);"; regards!
|
|
| Top |
|
 |
|
MisterS
|
Post subject: Re: Is it possible to overlay a logo on bottom of the screen? Posted: Fri May 28, 2010 8:41 am |
|
Joined: Sun Apr 11, 2010 10:55 pm Posts: 20
|
|
that works, however you can see the band appear at the bottom. I used this code, however I admit I don't quite understand how it works. As far as I can see, I've set the blank white screen to dissapear before the white screen with the logo. This infact works the opossite though - the logo switches off first, then the white screen.
Is there a way to specify the size of the image rather than use two layers?
My image is 1024x600, and so is my saved panorama.
Thanks a lot for you help.
|
|
| Top |
|
 |
|
MisterS
|
Post subject: Re: Is it possible to overlay a logo on bottom of the screen? Posted: Wed Jun 02, 2010 9:54 am |
|
Joined: Sun Apr 11, 2010 10:55 pm Posts: 20
|
|
I found the yellow rectangle as copied from one of your sample files did not work on a colleagues computer, the area inside the yellow rectangle displayed as black so I've tried to swap this for an image with an Alpha channel, now called rectangle.png.
Can you offer advice on how you amend the script so this works please?
(PAN1) { TYPE=PANORAMIC; FILE=images/Spherev31.jpg; TRANSITION=1,30,1,blend;
INCLUDE=buttons; IMAGE= yellowrectangle, 1, -110,-42,#59,100,TRANS,rectangle; IMAGE= img1, 1, -10, -10, #66, 100, no, image01;
image= imgini, 1, 0, 0, 100%, 100%, #99, 100, block, #FFFFFF; image= imgini2, 1, 0, 0, 0, 0, #99, 100, block, imageINI; settimer=timer2,1,2,"Fade('','imgini',0,2.0);"; settimer=timer3,1,.5,"Fade('','imgini2',0,2.0);"; }
(PAN2) { TYPE=PANORAMIC; FILE=IMAGES/Spherev32.jpg;
INCLUDE=buttons; IMAGE= yellowrectangle, 1, 0,-42,#59,100,TRANS,rectangle; IMAGE= img1, 1, -10, -10, #66, 100, no, image01;
}
(buttons) { type=INCLUDE;
BUTTON= buttonhome ,1 , -110,-42,0,0, #59, image1, image1, image1, 100,90,100, no,no,no, 2 , nokey , release, "Go to PAN1 panorama", "GoToFrame("PAN1");"; BUTTON= buttonhome ,1 , 0,-42,0,0, #59, image2, image2, image2, 100,90,100, no,no,no, 2 , nokey , release, "Go to PAN2 panorama", "GoToFrame("PAN2");";
}
(image1) { TYPE=IMAGE; FILE=IMAGES/Perspective1TINY.jpg; }
(image2) { TYPE=IMAGE; FILE=IMAGES/Perspective2TINY.jpg; }
(rectangle) { TYPE=IMAGE; FILE=images/rectangle.png; }
(image01) { TYPE=IMAGE; FILE=IMAGES/GrontmijsmallPerc.png; }
(imageINI) { TYPE=IMAGE; FILE=IMAGES/white.jpg; }
|
|
| Top |
|
 |
|
fiero
|
Post subject: Re: Is it possible to overlay a logo on bottom of the screen? Posted: Wed Jun 02, 2010 12:10 pm |
|
 |
| I only was walking somewhere... |
 |
Joined: Tue Aug 09, 2005 1:55 am Posts: 2007
|
Hi MisterS, I see the problem, this is a bug with 16 bits desktops. If you use a PNG file it should work correctly. Is it ok? Another option (if the rectangle is bigger than buttons) is to place the rectangle below the butons: Code: (PAN1) { TYPE=PANORAMIC; FILE=images/Spherev31.jpg; TRANSITION=1,30,1,blend;
IMAGE= yellowrectangle, 1, -110,-42,#59,100,TRANS,rectangle; INCLUDE=buttons; IMAGE= img1, 1, -10, -10, #66, 100, no, image01;
image= imgini, 1, 0, 0, 100%, 100%, #99, 100, block, #FFFFFF; image= imgini2, 1, 0, 0, 0, 0, #99, 100, block, imageINI; settimer=timer2,1,2,"Fade('','imgini',0,2.0);"; settimer=timer3,1,.5,"Fade('','imgini2',0,2.0);"; }
(PAN2) { TYPE=PANORAMIC; FILE=IMAGES/Spherev32.jpg;
IMAGE= yellowrectangle, 1, 0,-42,#59,100,TRANS,rectangle; INCLUDE=buttons; IMAGE= img1, 1, -10, -10, #66, 100, no, image01;
}
|
|
| Top |
|
 |
|
MisterS
|
Post subject: Re: Is it possible to overlay a logo on bottom of the screen? Posted: Wed Jun 02, 2010 1:14 pm |
|
Joined: Sun Apr 11, 2010 10:55 pm Posts: 20
|
|
Thanks, and yes the rectangle was smaller, however the yellow was on top of the image before. This is no longer the case, instead I will resize either images or rectangle.
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|

|