ANALOGIC SPEEDOMETER
I made another ux.
it is a speedometer and its based from my favourite greek doupas skin in PRIMO.
the philosphy (example different color speedometes , for differend speeds)
and the beautiful icons comes from this skin.
But i made many changes, to lua code, for working to NEXT GEN
UNFORTUNATELLY NEXT GEN is too different than PRIMO and
have many changes , for coding.
after many controls
FOR this time , primo CONTINUE TO BE THE BEST, for me.
we enable it from the same menu as battery and animated policeman
here is the link
[Only registered and activated users can see links. ]
Here we have to centered two items
The speedometer and the red needle inside,
Which show us the km/h.
In PRIMO, we have , for EACH RESOLUTION , different files
portrait.css and lanscape.css to give the position
Over our screen ,for each item.
In Next Gen we have the same two files , for portrait and
Landscape, FOR ALL RESOLUTIONS( DPI)..
Only two files FOR ALL RESOLUTIONS....
very big dissandvandage.
SO THE PROBLEM is that for different dpis,
We want different numbers, to portrait and landscape files,
To put TO THE SAME PLACE ...our items.
And
..
As you understood WE NEED different
counter, zip file for each dpi.
One for each dpi...
WE NEED 5 zips.
Because if we use one zip , for all dpis we see different
Positions for speedometer and needle
Which must be to the center....
This ux is for the bigger dpi.
If you have lower dpi AND you want to use speedometer
And of coursr , you see the needle in different
Place
You can
Do this
Double click to counter.zip / ui_nextgen / common /counter_portrait
Find this
Code
VSPRITE.counter1 {
left(screen_w/2) -172);
top:25%;
}
Counter 1 is the red needle inside
Speedometer
If we want to move ,the red needle more up
We give smaller numbers to
top:....
For example
top:16;
And the second parameter now:
For example here we have this
leftscreen_w/2) -172);
If we want to move MORE LEFT WE GIVE
BIGGER NEGATIVE NUMBERS
FOR EXAMPLE
leftscreen_w/2) -190);
THE SAME
TO
counter_landscape.css
file for landscape mode...
Unfortunately , we must try some times with different
numbers.



Likes: 


(screen_w/2) -172);

Bookmarks