Clock with real time reflection

SuperCard 4.5 & 4.6 projects (.zip archives only please).

Clock with real time reflection

Postby 1nperson0z » Mon Apr 05, 2010 3:14 am

A quick demo to answer a question asked about doing real time reflections in SC. Uses Core Graphics external.

Enjoy
Ian B
Attachments
ReflectionClock.sc45.zip
Clock with reflection
(46.47 KiB) Downloaded 215 times
MacBook Pro 2.4Ghz i7 8Gb 10.11.3
1nperson0z
 
Posts: 78
Joined: Wed Jul 09, 2008 3:31 pm
Location: Blue Mountains Australia

Re: Clock with real time reflection

Postby marksch » Mon Apr 05, 2010 11:14 am

Well done, Ian. Do you think you could center the text instead of aligning it left?

Best,

Mark
We have time for new projects. Contact me at http://qery.us/du now and be first in line.

Biggest free icon collection ever: http://icons.qery.us
User avatar
marksch
 
Posts: 78
Joined: Fri Aug 22, 2008 4:51 am

Re: Clock with real time reflection

Postby 1nperson0z » Mon Apr 05, 2010 1:51 pm

Do you think you could center the text instead of aligning it left?


I'll have a look at that when I get a chance - in CG you don't have text alignment options, instead you calculate the width of the text and work out where to draw it if you want it centred etc. Not hard to do, but I didn't feel like mucking around with it for a quick demo.

Ian B
MacBook Pro 2.4Ghz i7 8Gb 10.11.3
1nperson0z
 
Posts: 78
Joined: Wed Jul 09, 2008 3:31 pm
Location: Blue Mountains Australia

Re: Clock with real time reflection

Postby 1nperson0z » Mon Apr 05, 2010 8:25 pm

Here's an update - now centred to the surrounding box

Ian B
Attachments
ReflectionClock.sc45.zip
Clock with reflection - centred to box
(46.25 KiB) Downloaded 188 times
MacBook Pro 2.4Ghz i7 8Gb 10.11.3
1nperson0z
 
Posts: 78
Joined: Wed Jul 09, 2008 3:31 pm
Location: Blue Mountains Australia


Return to Sample & Demo Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron