Sunday 31 July 2016

Simple Switching

Apart from adding a nice lume effect to a watch, I also like to make the occasional watch that has different faces. These are normally based around a theme, recently I have done British Gangster Films and Silver Screen Starlets. The theme can be whatever floats your boat, base it on your family or favourite hobby or collection - if you can get photos or images then you can make a watch from it.

I use a code from switching guru +Iain Fry

When you have decided on your theme, you will need to collect the images - either from the internet or your personal collection

Next open watchmaker and start a new watch, and add the main script code to script panel - If you can't see this tap the little watch icon to bottom left of your watch preview

For ease copy and paste everything below that is between the lines into aforementioned script panel
________________________

--main switching script
screenNo=1
var_opacity1=100
var_opacity2=0
var_opacity3=0
function change()

transitions = { }
transitionNo = 1
var_transition = transitions[transitionNo]

    screenNo = screenNo + 1
    if screenNo > 3 then screenNo = 1 end
    var_opacity1 = screenNo == 1 and 100 or 0
    var_opacity2 = screenNo == 2 and 100 or 0
    var_opacity3 = screenNo == 3 and 100 or 0
transitionNo = transitionNo + 1
    if transitionNo > table.getn(transitions) then transitionNo = 1 end
    var_transition = transitions[transitionNo]
    wm_transition('circle open')

end

_______________________________________

If you want to add more image layers, you will need to make alterations to the above. The process will become obvious as you experiment and gain experience - But don't worry to much yet

Now add your 1st picture resize and position as necessary, do the same with your second and third images too - you can have as many image layers as you like, but to start with - keep it simple

Highlight your 1st image layer and in opacity type var_opacity1
Highlight your 2nd image layer and in opacity type var_opacity2
Do the same for each image layer increasing the var_opacity by 1 for each image

Now add a shape and open Tap Action, then open Run Script and type change()
Make this shape invisible by reducing opacity to 0

Finally add watch hands as desired

Even easier than going through all the above, download a watch that already has the code in place and then change the image layers for your own images



Here is one of +Iain Fry's to look at, but beware it has many layers - one for every day of the month











And here is my recent British Gangster Films, available at +Terry Zahn's website WatchAwear.com











If you like this or knows someone who might like it, then please share it

paypal.me/bowmore

No comments:

Post a Comment