Profile cover photo
Profile photo
Matt Phillips
6 followers
6 followers
About
Posts

Post has attachment

Language Detection
Is there a way to detect what language is set on the phone?

Post has attachment
Rise & Fall

V2 Completely changed and rewrote scrolling code to fix issue of text freezing and not returning V1.6 Fixed moon direction. V1.5 Added ticker with weather forecast. The sky changes from day to night depending on sunrise and sunset times and rotates slowly anti clockwise. The suns arc represents the current position in the sky as does the moons. The weather changes depending on the current conditions and rotates clockwise. Tap the barometer to refresh the weather. The battery on the left represents the watch and the right represents the phone. I recommend setting the screen time out to 10 seconds and weather refresh to 1 hour

http://facerepo.com/app/faces/details/rise-set-v1-14e69939c78

#50kCompetition
Photo

Post has attachment
Help with scrolling text.
I have some scrolling text using the tween method. It works fine the first time you push the watch face to the watch, when the screen goes into ambient mode and then bright the scrolling freezes, this then resets but after a couple of minutes it just stops scrolling. Is there a way to reset the tween using a tap action?

here's the main script

var_toggle=1
var_text=({ddw}=="Sun" and "Mon" or {ddw}=="Mon" and "Tue" or {ddw} =="Tue" and "Wed"  or {ddw}=="Wed" and "Thu" or {ddw}=="Thu" and "Fri" or {ddw}=="Fri" and "Sat"  or {ddw}=="Sat" and "Sun")..': '..{wf0dct}..{wf0dt}..', '..({ddw}=="Sat" and "Mon" or {ddw}=="Sun" and "Tue" or {ddw} =="Mon" and "Wed"  or {ddw}=="Tue" and "Thu" or {ddw}=="Wed" and "Fri" or {ddw}=="Thu" and "Sat" or {ddw}=="Fri" and "Sun")..': '..{wf1dct}..{wf1dt}..', '..({ddw}=="Fri" and "Mon" or {ddw}=="Sat" and "Tue" or {ddw} =="Sun" and "Wed"  or {ddw}=="Mon" and "Thu" or {ddw}=="Tue" and "Fri" or {ddw}=="Wed" and "Sat" or {ddw}=="Thu" and "Sun")..': '..{wf2dct}..{wf2dt}..', '..({ddw}=="Thu" and "Mon" or {ddw}=="Fri" and "Tue" or {ddw} =="Sat" and "Wed"  or {ddw}=="Sun" and "Thu" or {ddw}=="Mon" and "Fri" or {ddw}=="Tue" and "Sat" or {ddw}=="Wed" and "Sun")..': '..{wf3dct}..{wf3dt}..', '..({ddw}=="Wed" and "Mon" or {ddw}=="Thu" and "Tue" or {ddw} =="Fri" and "Wed"  or {ddw}=="Sat" and "Thu" or {ddw}=="Sun" and "Fri" or {ddw}=="Mon" and "Sat" or {ddw}=="Tue" and "Sun")..': '..{wf4dct}..{wf4dt}

tweens.scroll=500
var_speed=24

function textscroll(tl) 
wm_schedule {action='tween', tween='scroll', from=0,to=tl,duration=var_speed,easing=linear}
end

function toggle() 
if var_toggle>0 then
var_toggle=0
else
var_toggle=1
end
end

Here's the text field 

tweens.scroll>=string.len(var_text)+21 and textscroll(string.len(var_text)+21) or string.sub("                    "..var_text.."                    ",tweens.scroll, tweens.scroll+20)

Post has shared content
Add a comment...

Post has attachment

Post has shared content
Solar System V2

Here's my first attempt at a watch face that uses scripts, thanks to Cristiano Sambuco and Ian Buxton for the help getting the script working

http://facerepo.com/app/faces/details/solar-system-v2-14e4e18d65d
Photo
Add a comment...

Post has attachment
Solar System V2

Here's my first attempt at a watch face that uses scripts, thanks to Cristiano Sambuco and Ian Buxton for the help getting the script working

http://facerepo.com/app/faces/details/solar-system-v2-14e4e18d65d
Photo

I'm trying to make a layer appear and dissappear by pressing an icon I have the opacity set as var_layer == 1 and "100" or "0" i have the tap action set to script with var_layer = 1. When I tap the icon the layer is displayed but tapping it again doesn't hide the layer. What am I doing wrong?

Post has attachment
Add a comment...
Wait while more posts are being loaded