• Welcome to TodayPlus Boards v2.
 

Hammerskin Version 1.05.4 QVGA English Reduced

Started by uk_skinner, December 14, 2004, 12:47:13 PM

Previous topic - Next topic

grayme

Great thanks, I'll give it a go tonight or over the weekend :)

grayme

It works thanks :)

Is there a way to make use of the hourly images of the rain/temperature/etc?  :D

uk_skinner

Quote from: graymeIt works thanks :)

Is there a way to make use of the hourly images of the rain/temperature/etc?  :D

Can you explain more?  What is "hourly images", link?

grayme

Quote from: graymeThere are so many options too, how about showing rainfall over a period...

http://www.bbc.co.uk/weather/ukweather/ukrainfall_06.shtml

So many options!  :)

The ones in this area of the site.  :)

uk_skinner

Quote from: grayme

The ones in this area of the site.  :)

Ok, just went to site.  Yes it is possible. I think you can rorate the rain image and get some kind of slow animated image.  You can just use radar.exe to do the downloading.  The url are :

http://www.bbc.co.uk/weather/live/brradar1.jpg

There are total 7 images for 6 hours, just download 1-7 then you have it.

grayme

Quote from: uk_skinner
Quote from: grayme

The ones in this area of the site.  :)

Ok, just went to site.  Yes it is possible. I think you can rorate the rain image and get some kind of slow animated image.  You can just use radar.exe to do the downloading.  The url are :

http://www.bbc.co.uk/weather/live/brradar1.jpg

There are total 7 images for 6 hours, just download 1-7 then you have it.

Would it be a big thing to get TodayPlus to play through them? Or are we stuck with the 3 second update?

uk_skinner

grayme:

 I don't know.  Let me try it, give me 20 minutes.

grayme

Quote from: uk_skinnergrayme:

 I don't know.  Let me try it, give me 20 minutes.

No hurry!  :wink:

Take a break! :) :D

uk_skinner

grayme:

The 7 images can be downloaded without any problem.  

We need our master, Wichtel to come out the codes to rotate these 7 images.. I tried but not a good ones.. :wall:

Wichtel

Quote from: uk_skinnergrayme:

The 7 images can be downloaded without any problem.  

We need our master, Wichtel to come out the codes to rotate these 7 images.. I tried but not a good ones.. :wall:

To let these pictures rotate, these should be in a region of their own.Then you  must have a code  as in the case of the newsticker of the Mainpage. Then this  should work without problems.
Greetings Wichtel 
 

miwi-media.com | Web & Screendesign

Broesel

Quote from: uk_skinnerI tried but not a good ones.. :wall:

That can be handled really simple in my opinion. Example:

The pics are called 1.jpg .... to 7.jpg

initvar,var4,1  // initialize var
.
.
.
.
region,0,0,10
image,0,0,%var4%.jpg
addvar,var4,1
if,var,var4,,>,7
storevar,var4=1
else
endif
.
.
.
.
endregion,0,0

Every 10 seconds (update of the region) the next pic is displayed.

Give it a try

Broesel

grayme

Quote from: BroeselEvery 10 seconds (update of the region) the next pic is displayed.

Can we get that down to three seconds or less?

uk_skinner

Thanks Wichtel and Broesel.

First, I was trying to use Wichtel's idea to put a daughter region in region,7,7 and tried to use the codes Wichtel did for newsticker in main page.  That did not work, the images did not rotate and frozen all the buttons in that region. :wall:

I guessed I was too ambitious becuase I just want to do the images rotation when var51 = 1 and still be able to look other images in that region.  So the idea was to:

if,var,var51,,=,1
  image,x,y,r%var2%.jpg
  addvar,var2,1
  if,var,var2,,=,8
   storevar,var2=1
   else
    endif
else


   image,%var3%,%var23%,%var51%.png
   image,%var3%,%var23%,%var51%.jpg
   image,%var3%,%var23%,%var51%.gif

endif

However, it did not work....

Broesel

:(  Don't know, why it doesn't work for you, I just tried this:

if,var,var26,,=,1
image,0,0,%var1%.png
addvar,var1,1
if,var,var1,,>,7
storevar,var1=1
else
endif
else
image,0,0,folder.bmp,t
endif

and it worked well.
Try to move  the complete code at the beginning of the region, sometimes
that works better. In my test, that code was the first after region, ... and some initalisations.

Broesel

uk_skinner

Thanks again, broesel.

I am still doing the "hunting" the problem.  I was trying to adopt  the idea into region,7,7 without any luck.  

:wall:  :wall:

grayme, it will take me some time to figure it out.