Analog Clock!

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
joelyboy94
Posts: 67
Joined: October 11th, 2012, 7:34 pm

Analog Clock!

Post by joelyboy94 » October 27th, 2012, 4:26 pm

Hi everyone!

Just finished designing an analogue clock! I'm still not sure how obtaining the time works in GetTime() as I had to look it up.

I'm aware it's probably not designed in a very efficient way but never mind, all comments/criticisms are welcome :)
Attachments
analog clock.zip
(42.89 KiB) Downloaded 167 times

User avatar
thetoddfather
Posts: 338
Joined: October 1st, 2012, 9:53 pm
Location: Canada

Re: Analog Clock!

Post by thetoddfather » October 27th, 2012, 5:27 pm

I get "Specified platform toolset" not installed when I try to compile. It seems you have some special toolset integrated with this proj. Sounds interesting though. Does this create an analogue clock on your screen?

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Analog Clock!

Post by LuX » October 27th, 2012, 6:11 pm

Pretty cool. Don't think there are any "efficiency" problems in a project so small, but you could for example just have one "DrawClock" function that does all that drawing, and I don't see the point of resending the time values to gfx when gfx already has them. And if we wanna be logical the GetTime function should be in Game and not Graphics.

But these are thing that won't really do any difference.
ʕ •ᴥ•ʔ

Sumit
Posts: 40
Joined: July 29th, 2012, 11:32 am

Re: Analog Clock!

Post by Sumit » October 27th, 2012, 6:27 pm

Hi LuX

I am not able to build the project.
Whenever I try to build it gives the following error
error MSB8008: Specified platform toolset (v110) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
Sumit

Sumit
Posts: 40
Joined: July 29th, 2012, 11:32 am

Re: Analog Clock!

Post by Sumit » October 27th, 2012, 7:22 pm

I have managed to build the project.
Awesome work LuX.
Sumit

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Analog Clock!

Post by LuX » October 27th, 2012, 7:30 pm

Yeah, if that error shows up change the toolset from the project settings from v110 to v100 and it should work.
ʕ •ᴥ•ʔ

User avatar
joelyboy94
Posts: 67
Joined: October 11th, 2012, 7:34 pm

Re: Analog Clock!

Post by joelyboy94 » October 29th, 2012, 6:15 pm

thanks for the comments guys.

Sorry lux, I don't follow you, what do you mean by resending the time values, I'm just getting them from the time function?

Post Reply