It is currently May 8th, 2024, 8:28 am

Clock Issue - Backward Hands

Get help with creating, editing & fixing problems with skins
droueche59
Posts: 2
Joined: August 5th, 2011, 12:08 am

Clock Issue - Backward Hands

Post by droueche59 »

I'm a bit of a newbie here I must say, but I've done some research and I can't find anything, so... here goes.

I'm making an analog clock, I got a background image and 3 different images for hour, minute, and second hands. Everything works and looks beautiful when I'm done, except my hands are pointing in the opposite direction of what the actual time is.
Seems like there should be a really simple fix, I'm just not seeing it. I can't flip the image to the other side of the middle point to make it point at the right number.

This has to have been seen before since my code is bare-bones newbie style, but I'm not finding anything, or I suck at searching. Any help?

Thanks!

Code: Select all

[Rainmeter] 
BackgroundMode=1
Update=1000
Author=Daniel Roueche

[MeasureTime]
Measure=Time

[MeterBack]
Meter=Image
X=0
Y=0
ImageName=Back.png

[MeterMinutes]
MeasureName=MeasureTime
Meter=Rotator
X=180
Y=180
ImageName=Minute.png
StartAngle=6.2832
ValueReminder=3600
AntiAlias=1
OffsetX=11
OffsetY=11

[MeterSeconds]
MeasureName=MeasureTime
Meter=Rotator
X=180
Y=180
ImageName=Second.png
StartAngle=6.2832
ValueReminder=60
AntiAlias=1
OffsetX=11
OffsetY=11
ImageFlip=Both

[MeterHours]
MeasureName=MeasureTime
Meter=Rotator
X=180
Y=180
ImageName=Hour.png
StartAngle=6.2832
ValueReminder=43200
AntiAlias=1
OffsetX=29.5
OffsetY=15
User avatar
donutmtoazt
Posts: 50
Joined: July 10th, 2011, 9:15 am
Location: Fresno, CA

Re: Clock Issue - Backward Hands

Post by donutmtoazt »

I think the problem is your start angle. Use 1.5707 instead of 6.2832 and see if that helps.

Sorry if it doesn't, I'm just taking a quick stab at this since I can't test it right now.
This is my keyboard. There are many like it, but this one is mine.
droueche59
Posts: 2
Joined: August 5th, 2011, 12:08 am

Re: Clock Issue - Backward Hands

Post by droueche59 »

donutmtoazt wrote:I think the problem is your start angle. Use 1.5707 instead of 6.2832 and see if that helps.

Sorry if it doesn't, I'm just taking a quick stab at this since I can't test it right now.
Ah, knew I was misunderstanding something. The number didn't work, but it pointed me in the right direction. The correct figure was pi, 3.14. Thanks!
User avatar
donutmtoazt
Posts: 50
Joined: July 10th, 2011, 9:15 am
Location: Fresno, CA

Re: Clock Issue - Backward Hands

Post by donutmtoazt »

Eh, oh well. Radians were never my forte in math class, but at least the problem was resolved. :D
This is my keyboard. There are many like it, but this one is mine.