Start - more title graphics
Here we are simply going to add 3 graphics to the title page on load. Each is a sprite and each is launched after the animated cogs.
create sprite from title.png as TitleImg
where x=0 y=0
end
create sprite as Ring
where
center=340,340
end
create sprite from clockFace.png as ClockFace
where center=270,260 x=330 y=310
end
create sprite from bigHand.png as BigHand
where center=77,34 x=321 y=500
end
create sprite from smallHand.png as SmallHand
where center=90,26 x=254 y=509
end
create routine as Start
launch TitleImg
clone from Ring using original
update sprite _clone where size=.5 and image="blueRing.png" and x=170 and y=120
insert into _clone where alt=(sub
create rotation where speed=-40
end)
clone from Ring using original
update sprite _clone where size=.7 and image="redRing.png" and x=160 and y=590
insert into _clone where alt=(sub
create rotation where speed=40
end)
clone from Ring using original
update sprite _clone where size=.6 and image="greenRing.png" and x=550 and y=350
insert into _clone where alt=(sub
create rotation where speed=40
end)
clone from Ring using original
update sprite _clone where size=.2 and image="barRing.png" and x=500 and y=100
insert into _clone where alt=(sub
create rotation where speed=-40
end)
clone from Ring using original
update sprite _clone where size=.35 and image="redRing.png" and x=200 and y=390
insert into _clone where alt=(sub
create rotation where speed=40
end)
clone from Ring using original
update sprite _clone where size=.4 and image="greenRing.png" and x=550 and y=750
insert into _clone where alt=(sub
create rotation where speed=40
end)
launch ClockFace
launch SmallHand
launch BigHand
end
Check back soon for the next part or follow on us Twitter